// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package com.google.api.ads.adwords.lib.selectorfields.v201607.cm; import com.google.api.ads.adwords.lib.selectorfields.EntityField; import com.google.api.ads.adwords.lib.selectorfields.Filterable; /** * A {@code Enum} to facilitate the selection of fields for {@code AdGroupBidModifier}. */ public enum AdGroupBidModifierField implements EntityField { // Fields constants definitions /** * The adgroup that the bid modifier override is in. */ @Filterable AdGroupId(true), /** * ID of the base adgroup from which this draft/trial adgroup bid modifier was created. * For base adgroups this is equal to the adgroup ID. * If the adgroup was created in the draft or trial and has no corresponding base adgroup, this field is null. * This field is readonly and only returned on get requests. */ @Filterable BaseAdGroupId(true), /** * The modifier for bids when the criterion matches. * <p>Valid modifier values range from {@code 0.1} to {@code 10.0}, with {@code 0.0} reserved for opting out of a platform. */ @Filterable BidModifier(true), /** * Bid modifier source. */ @Filterable BidModifierSource(true), /** * The campaign that the criterion is in. */ @Filterable CampaignId(true), /** * */ @Filterable CriteriaType(true), /** * ID of this criterion. */ @Filterable Id(true), /** * */ @Filterable PlatformName(true), ; private final boolean isFilterable; private AdGroupBidModifierField(boolean isFilterable) { this.isFilterable = isFilterable; } @Override public boolean isFilterable() { return this.isFilterable; } }