All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.ads.admanager.axis.v202102.BuyerRfp Maven / Gradle / Ivy

// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

/**
 * BuyerRfp.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
 */

package com.google.api.ads.admanager.axis.v202102;


/**
 * Represents the buyer RFP information associated with a {@link Proposal}
 * describing the
 *             requirements from the buyer.
 */
public class BuyerRfp  implements java.io.Serializable {
    /* CPM for the {@link Proposal} in question. Given that this field
     * belongs to a request for
     *                 proposal (for which initially a {@link Proposal} does
     * not yet exist), this field should serve
     *                 as guidance for publishers to create a {@link Proposal}
     * with {@link LineItem}s reflecting this
     *                 CPM.
     *                 This attribute is
     * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ private com.google.api.ads.admanager.axis.v202102.Money costPerUnit; /* The number of impressions per day that a buyer wishes to see * in the {@link Proposal} derived * from the request for proposal in question. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ private java.lang.Long units; /* Total amount of {@link Money} available to spend on this deal. * In the case of Preferred * Deal, the budget is equal to the maximum amount of * money a buyer is willing to spend on a given * {@link Proposal}, even though the budget might not * be spent entirely, as impressions are not * guaranteed. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ private com.google.api.ads.admanager.axis.v202102.Money budget; /* Currency code for this deal's budget and CPM. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ private java.lang.String currencyCode; /* The {@link DateTime} in which the proposed deal should start * serving. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ private com.google.api.ads.admanager.axis.v202102.DateTime startDateTime; /* The {@link DateTime} in which the proposed deal should end * serving. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ private com.google.api.ads.admanager.axis.v202102.DateTime endDateTime; /* A description of the proposed deal. This can be used for the * buyer to tell the publisher more * detailed information about the deal in question. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ private java.lang.String description; /* A list of inventory sizes in which creatives will be eventually * served. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ private com.google.api.ads.admanager.axis.v202102.CreativePlaceholder[] creativePlaceholders; /* Targeting information for the proposal in question. Currently * this field only contains * {@link GeoTargeting} information. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ private com.google.api.ads.admanager.axis.v202102.Targeting targeting; /* Additional terms of the deal in question. This field can be * used to state more specific * targeting information for the deal, as well as any * additional information regarding this * deal. Given that this field belongs to a request for * proposal (for which initially a * {@link Proposal} does not yet exist), this field can * be populated by buyers to specify * additional information that they wish publishers to * incorporate into the {@link Proposal} * derived from this request for proposal. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ private java.lang.String additionalTerms; /* Identifies the format of the inventory or "channel" through * which the ad serves. Environments * currently supported include {@link AdExchangeEnvironment#DISPLAY}, * {@link AdExchangeEnvironment#VIDEO}, and {@link AdExchangeEnvironment#MOBILE}. * This attribute is read-only when:
  • using * programmatic guaranteed, not using sales management.
  • using * preferred deals, not using sales management.
*/ private com.google.api.ads.admanager.axis.v202102.AdExchangeEnvironment adExchangeEnvironment; /* Deal type; either Programmatic Guaranteed or Preferred Deal. * This field * corresponds to the type of {@link Proposal} that a * buyer wishes to negotiate with a seller. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ private com.google.api.ads.admanager.axis.v202102.RfpType rfpType; public BuyerRfp() { } public BuyerRfp( com.google.api.ads.admanager.axis.v202102.Money costPerUnit, java.lang.Long units, com.google.api.ads.admanager.axis.v202102.Money budget, java.lang.String currencyCode, com.google.api.ads.admanager.axis.v202102.DateTime startDateTime, com.google.api.ads.admanager.axis.v202102.DateTime endDateTime, java.lang.String description, com.google.api.ads.admanager.axis.v202102.CreativePlaceholder[] creativePlaceholders, com.google.api.ads.admanager.axis.v202102.Targeting targeting, java.lang.String additionalTerms, com.google.api.ads.admanager.axis.v202102.AdExchangeEnvironment adExchangeEnvironment, com.google.api.ads.admanager.axis.v202102.RfpType rfpType) { this.costPerUnit = costPerUnit; this.units = units; this.budget = budget; this.currencyCode = currencyCode; this.startDateTime = startDateTime; this.endDateTime = endDateTime; this.description = description; this.creativePlaceholders = creativePlaceholders; this.targeting = targeting; this.additionalTerms = additionalTerms; this.adExchangeEnvironment = adExchangeEnvironment; this.rfpType = rfpType; } @Override public String toString() { return com.google.common.base.MoreObjects.toStringHelper(this.getClass()) .omitNullValues() .add("adExchangeEnvironment", getAdExchangeEnvironment()) .add("additionalTerms", getAdditionalTerms()) .add("budget", getBudget()) .add("costPerUnit", getCostPerUnit()) .add("creativePlaceholders", getCreativePlaceholders()) .add("currencyCode", getCurrencyCode()) .add("description", getDescription()) .add("endDateTime", getEndDateTime()) .add("rfpType", getRfpType()) .add("startDateTime", getStartDateTime()) .add("targeting", getTargeting()) .add("units", getUnits()) .toString(); } /** * Gets the costPerUnit value for this BuyerRfp. * * @return costPerUnit * CPM for the {@link Proposal} in question. Given that this field * belongs to a request for * proposal (for which initially a {@link Proposal} does * not yet exist), this field should serve * as guidance for publishers to create a {@link Proposal} * with {@link LineItem}s reflecting this * CPM. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public com.google.api.ads.admanager.axis.v202102.Money getCostPerUnit() { return costPerUnit; } /** * Sets the costPerUnit value for this BuyerRfp. * * @param costPerUnit * CPM for the {@link Proposal} in question. Given that this field * belongs to a request for * proposal (for which initially a {@link Proposal} does * not yet exist), this field should serve * as guidance for publishers to create a {@link Proposal} * with {@link LineItem}s reflecting this * CPM. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public void setCostPerUnit(com.google.api.ads.admanager.axis.v202102.Money costPerUnit) { this.costPerUnit = costPerUnit; } /** * Gets the units value for this BuyerRfp. * * @return units * The number of impressions per day that a buyer wishes to see * in the {@link Proposal} derived * from the request for proposal in question. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public java.lang.Long getUnits() { return units; } /** * Sets the units value for this BuyerRfp. * * @param units * The number of impressions per day that a buyer wishes to see * in the {@link Proposal} derived * from the request for proposal in question. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public void setUnits(java.lang.Long units) { this.units = units; } /** * Gets the budget value for this BuyerRfp. * * @return budget * Total amount of {@link Money} available to spend on this deal. * In the case of Preferred * Deal, the budget is equal to the maximum amount of * money a buyer is willing to spend on a given * {@link Proposal}, even though the budget might not * be spent entirely, as impressions are not * guaranteed. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public com.google.api.ads.admanager.axis.v202102.Money getBudget() { return budget; } /** * Sets the budget value for this BuyerRfp. * * @param budget * Total amount of {@link Money} available to spend on this deal. * In the case of Preferred * Deal, the budget is equal to the maximum amount of * money a buyer is willing to spend on a given * {@link Proposal}, even though the budget might not * be spent entirely, as impressions are not * guaranteed. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public void setBudget(com.google.api.ads.admanager.axis.v202102.Money budget) { this.budget = budget; } /** * Gets the currencyCode value for this BuyerRfp. * * @return currencyCode * Currency code for this deal's budget and CPM. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public java.lang.String getCurrencyCode() { return currencyCode; } /** * Sets the currencyCode value for this BuyerRfp. * * @param currencyCode * Currency code for this deal's budget and CPM. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public void setCurrencyCode(java.lang.String currencyCode) { this.currencyCode = currencyCode; } /** * Gets the startDateTime value for this BuyerRfp. * * @return startDateTime * The {@link DateTime} in which the proposed deal should start * serving. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public com.google.api.ads.admanager.axis.v202102.DateTime getStartDateTime() { return startDateTime; } /** * Sets the startDateTime value for this BuyerRfp. * * @param startDateTime * The {@link DateTime} in which the proposed deal should start * serving. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public void setStartDateTime(com.google.api.ads.admanager.axis.v202102.DateTime startDateTime) { this.startDateTime = startDateTime; } /** * Gets the endDateTime value for this BuyerRfp. * * @return endDateTime * The {@link DateTime} in which the proposed deal should end * serving. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public com.google.api.ads.admanager.axis.v202102.DateTime getEndDateTime() { return endDateTime; } /** * Sets the endDateTime value for this BuyerRfp. * * @param endDateTime * The {@link DateTime} in which the proposed deal should end * serving. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public void setEndDateTime(com.google.api.ads.admanager.axis.v202102.DateTime endDateTime) { this.endDateTime = endDateTime; } /** * Gets the description value for this BuyerRfp. * * @return description * A description of the proposed deal. This can be used for the * buyer to tell the publisher more * detailed information about the deal in question. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public java.lang.String getDescription() { return description; } /** * Sets the description value for this BuyerRfp. * * @param description * A description of the proposed deal. This can be used for the * buyer to tell the publisher more * detailed information about the deal in question. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public void setDescription(java.lang.String description) { this.description = description; } /** * Gets the creativePlaceholders value for this BuyerRfp. * * @return creativePlaceholders * A list of inventory sizes in which creatives will be eventually * served. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public com.google.api.ads.admanager.axis.v202102.CreativePlaceholder[] getCreativePlaceholders() { return creativePlaceholders; } /** * Sets the creativePlaceholders value for this BuyerRfp. * * @param creativePlaceholders * A list of inventory sizes in which creatives will be eventually * served. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public void setCreativePlaceholders(com.google.api.ads.admanager.axis.v202102.CreativePlaceholder[] creativePlaceholders) { this.creativePlaceholders = creativePlaceholders; } public com.google.api.ads.admanager.axis.v202102.CreativePlaceholder getCreativePlaceholders(int i) { return this.creativePlaceholders[i]; } public void setCreativePlaceholders(int i, com.google.api.ads.admanager.axis.v202102.CreativePlaceholder _value) { this.creativePlaceholders[i] = _value; } /** * Gets the targeting value for this BuyerRfp. * * @return targeting * Targeting information for the proposal in question. Currently * this field only contains * {@link GeoTargeting} information. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public com.google.api.ads.admanager.axis.v202102.Targeting getTargeting() { return targeting; } /** * Sets the targeting value for this BuyerRfp. * * @param targeting * Targeting information for the proposal in question. Currently * this field only contains * {@link GeoTargeting} information. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public void setTargeting(com.google.api.ads.admanager.axis.v202102.Targeting targeting) { this.targeting = targeting; } /** * Gets the additionalTerms value for this BuyerRfp. * * @return additionalTerms * Additional terms of the deal in question. This field can be * used to state more specific * targeting information for the deal, as well as any * additional information regarding this * deal. Given that this field belongs to a request for * proposal (for which initially a * {@link Proposal} does not yet exist), this field can * be populated by buyers to specify * additional information that they wish publishers to * incorporate into the {@link Proposal} * derived from this request for proposal. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public java.lang.String getAdditionalTerms() { return additionalTerms; } /** * Sets the additionalTerms value for this BuyerRfp. * * @param additionalTerms * Additional terms of the deal in question. This field can be * used to state more specific * targeting information for the deal, as well as any * additional information regarding this * deal. Given that this field belongs to a request for * proposal (for which initially a * {@link Proposal} does not yet exist), this field can * be populated by buyers to specify * additional information that they wish publishers to * incorporate into the {@link Proposal} * derived from this request for proposal. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public void setAdditionalTerms(java.lang.String additionalTerms) { this.additionalTerms = additionalTerms; } /** * Gets the adExchangeEnvironment value for this BuyerRfp. * * @return adExchangeEnvironment * Identifies the format of the inventory or "channel" through * which the ad serves. Environments * currently supported include {@link AdExchangeEnvironment#DISPLAY}, * {@link AdExchangeEnvironment#VIDEO}, and {@link AdExchangeEnvironment#MOBILE}. * This attribute is read-only when:
  • using * programmatic guaranteed, not using sales management.
  • using * preferred deals, not using sales management.
*/ public com.google.api.ads.admanager.axis.v202102.AdExchangeEnvironment getAdExchangeEnvironment() { return adExchangeEnvironment; } /** * Sets the adExchangeEnvironment value for this BuyerRfp. * * @param adExchangeEnvironment * Identifies the format of the inventory or "channel" through * which the ad serves. Environments * currently supported include {@link AdExchangeEnvironment#DISPLAY}, * {@link AdExchangeEnvironment#VIDEO}, and {@link AdExchangeEnvironment#MOBILE}. * This attribute is read-only when:
  • using * programmatic guaranteed, not using sales management.
  • using * preferred deals, not using sales management.
*/ public void setAdExchangeEnvironment(com.google.api.ads.admanager.axis.v202102.AdExchangeEnvironment adExchangeEnvironment) { this.adExchangeEnvironment = adExchangeEnvironment; } /** * Gets the rfpType value for this BuyerRfp. * * @return rfpType * Deal type; either Programmatic Guaranteed or Preferred Deal. * This field * corresponds to the type of {@link Proposal} that a * buyer wishes to negotiate with a seller. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public com.google.api.ads.admanager.axis.v202102.RfpType getRfpType() { return rfpType; } /** * Sets the rfpType value for this BuyerRfp. * * @param rfpType * Deal type; either Programmatic Guaranteed or Preferred Deal. * This field * corresponds to the type of {@link Proposal} that a * buyer wishes to negotiate with a seller. * This attribute is * read-only when:
  • using programmatic guaranteed, not using sales * management.
  • using preferred deals, not using sales management.
*/ public void setRfpType(com.google.api.ads.admanager.axis.v202102.RfpType rfpType) { this.rfpType = rfpType; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof BuyerRfp)) return false; BuyerRfp other = (BuyerRfp) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.costPerUnit==null && other.getCostPerUnit()==null) || (this.costPerUnit!=null && this.costPerUnit.equals(other.getCostPerUnit()))) && ((this.units==null && other.getUnits()==null) || (this.units!=null && this.units.equals(other.getUnits()))) && ((this.budget==null && other.getBudget()==null) || (this.budget!=null && this.budget.equals(other.getBudget()))) && ((this.currencyCode==null && other.getCurrencyCode()==null) || (this.currencyCode!=null && this.currencyCode.equals(other.getCurrencyCode()))) && ((this.startDateTime==null && other.getStartDateTime()==null) || (this.startDateTime!=null && this.startDateTime.equals(other.getStartDateTime()))) && ((this.endDateTime==null && other.getEndDateTime()==null) || (this.endDateTime!=null && this.endDateTime.equals(other.getEndDateTime()))) && ((this.description==null && other.getDescription()==null) || (this.description!=null && this.description.equals(other.getDescription()))) && ((this.creativePlaceholders==null && other.getCreativePlaceholders()==null) || (this.creativePlaceholders!=null && java.util.Arrays.equals(this.creativePlaceholders, other.getCreativePlaceholders()))) && ((this.targeting==null && other.getTargeting()==null) || (this.targeting!=null && this.targeting.equals(other.getTargeting()))) && ((this.additionalTerms==null && other.getAdditionalTerms()==null) || (this.additionalTerms!=null && this.additionalTerms.equals(other.getAdditionalTerms()))) && ((this.adExchangeEnvironment==null && other.getAdExchangeEnvironment()==null) || (this.adExchangeEnvironment!=null && this.adExchangeEnvironment.equals(other.getAdExchangeEnvironment()))) && ((this.rfpType==null && other.getRfpType()==null) || (this.rfpType!=null && this.rfpType.equals(other.getRfpType()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getCostPerUnit() != null) { _hashCode += getCostPerUnit().hashCode(); } if (getUnits() != null) { _hashCode += getUnits().hashCode(); } if (getBudget() != null) { _hashCode += getBudget().hashCode(); } if (getCurrencyCode() != null) { _hashCode += getCurrencyCode().hashCode(); } if (getStartDateTime() != null) { _hashCode += getStartDateTime().hashCode(); } if (getEndDateTime() != null) { _hashCode += getEndDateTime().hashCode(); } if (getDescription() != null) { _hashCode += getDescription().hashCode(); } if (getCreativePlaceholders() != null) { for (int i=0; i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy