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
+
+ * 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: + *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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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+ * {@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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+ * {@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+ * {@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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+ * {@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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+ * {@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+ * {@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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+ * {@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{@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{@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{@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{@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{@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{@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{@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{@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{@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{@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: + *+ * 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.SetThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Search Ads 360 Reporting API. For a 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