// 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.
/**
* AdGroupAd.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.adwords.axis.v201609.cm;
/**
* Represents an ad in an ad group.
*/
public class AdGroupAd implements java.io.Serializable {
/* The id of the adgroup containing this ad.
* <span class="constraint Required">This field is required
* and should not be {@code null}.</span> */
private java.lang.Long adGroupId;
/* The contents of the ad itself.
* <span class="constraint Required">This field is required
* and should not be {@code null}.</span> */
private com.google.api.ads.adwords.axis.v201609.cm.Ad ad;
/* The status of the ad.
* This field is required and should not be {@code null}
* when it is contained within
* {@link Operator}s : SET. */
private com.google.api.ads.adwords.axis.v201609.cm.AdGroupAdStatus status;
/* Approval status.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span> */
private com.google.api.ads.adwords.axis.v201609.cm.AdGroupAdApprovalStatus approvalStatus;
/* A list of strings that represents the specific trademarked
* terms that were found in this ad.
* The list returned is empty if the ad has no trademarked
* terms.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span> */
private java.lang.String[] trademarks;
/* List of disapproval reasons.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span> */
private java.lang.String[] disapprovalReasons;
/* True if and only if this ad is not serving because it does
* not meet
* trademark policy.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span> */
private java.lang.Boolean trademarkDisapproved;
/* Labels that are attached to the AdGroupAd. To associate an
* existing {@link Label} to an
* existing {@link AdGroupAd}, use {@link AdGroupAdService#mutateLabel}
* with ADD operator. To
* remove an associated {@link Label} from the {@link
* AdGroupAd}, use
* {@link AdGroupAdService#mutateLabel} with REMOVE operator.
* To filter on {@link Label}s,
* use one of {@link Predicate.Operator#CONTAINS_ALL},
* {@link Predicate.Operator#CONTAINS_ANY},
* {@link Predicate.Operator#CONTAINS_NONE} operators
* with a list of {@link Label} ids.
* <span class="constraint CampaignType">This field may
* not be set for campaign channel subtype UNIVERSAL_APP_CAMPAIGN.</span>
* <span class="constraint ReadOnly">This field is read only and will
* be ignored when sent to the API for the following {@link Operator}s:
* REMOVE and SET.</span> */
private com.google.api.ads.adwords.axis.v201609.cm.Label[] labels;
/* ID of the base campaign from which this draft/trial ad was
* created.
* This field is only returned on get requests.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span> */
private java.lang.Long baseCampaignId;
/* ID of the base ad group from which this draft/trial ad was
* created. For
* base ad groups this is equal to the ad group ID.
* If the ad group was created
* in the draft or trial and has no corresponding base
* ad group, this field is null.
* This field is only returned on get requests.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span> */
private java.lang.Long baseAdGroupId;
private com.google.api.ads.adwords.axis.v201609.cm.String_StringMapEntry[] forwardCompatibilityMap;
public AdGroupAd() {
}
public AdGroupAd(
java.lang.Long adGroupId,
com.google.api.ads.adwords.axis.v201609.cm.Ad ad,
com.google.api.ads.adwords.axis.v201609.cm.AdGroupAdStatus status,
com.google.api.ads.adwords.axis.v201609.cm.AdGroupAdApprovalStatus approvalStatus,
java.lang.String[] trademarks,
java.lang.String[] disapprovalReasons,
java.lang.Boolean trademarkDisapproved,
com.google.api.ads.adwords.axis.v201609.cm.Label[] labels,
java.lang.Long baseCampaignId,
java.lang.Long baseAdGroupId,
com.google.api.ads.adwords.axis.v201609.cm.String_StringMapEntry[] forwardCompatibilityMap) {
this.adGroupId = adGroupId;
this.ad = ad;
this.status = status;
this.approvalStatus = approvalStatus;
this.trademarks = trademarks;
this.disapprovalReasons = disapprovalReasons;
this.trademarkDisapproved = trademarkDisapproved;
this.labels = labels;
this.baseCampaignId = baseCampaignId;
this.baseAdGroupId = baseAdGroupId;
this.forwardCompatibilityMap = forwardCompatibilityMap;
}
/**
* Gets the adGroupId value for this AdGroupAd.
*
* @return adGroupId * The id of the adgroup containing this ad.
* <span class="constraint Required">This field is required
* and should not be {@code null}.</span>
*/
public java.lang.Long getAdGroupId() {
return adGroupId;
}
/**
* Sets the adGroupId value for this AdGroupAd.
*
* @param adGroupId * The id of the adgroup containing this ad.
* <span class="constraint Required">This field is required
* and should not be {@code null}.</span>
*/
public void setAdGroupId(java.lang.Long adGroupId) {
this.adGroupId = adGroupId;
}
/**
* Gets the ad value for this AdGroupAd.
*
* @return ad * The contents of the ad itself.
* <span class="constraint Required">This field is required
* and should not be {@code null}.</span>
*/
public com.google.api.ads.adwords.axis.v201609.cm.Ad getAd() {
return ad;
}
/**
* Sets the ad value for this AdGroupAd.
*
* @param ad * The contents of the ad itself.
* <span class="constraint Required">This field is required
* and should not be {@code null}.</span>
*/
public void setAd(com.google.api.ads.adwords.axis.v201609.cm.Ad ad) {
this.ad = ad;
}
/**
* Gets the status value for this AdGroupAd.
*
* @return status * The status of the ad.
* This field is required and should not be {@code null}
* when it is contained within
* {@link Operator}s : SET.
*/
public com.google.api.ads.adwords.axis.v201609.cm.AdGroupAdStatus getStatus() {
return status;
}
/**
* Sets the status value for this AdGroupAd.
*
* @param status * The status of the ad.
* This field is required and should not be {@code null}
* when it is contained within
* {@link Operator}s : SET.
*/
public void setStatus(com.google.api.ads.adwords.axis.v201609.cm.AdGroupAdStatus status) {
this.status = status;
}
/**
* Gets the approvalStatus value for this AdGroupAd.
*
* @return approvalStatus * Approval status.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span>
*/
public com.google.api.ads.adwords.axis.v201609.cm.AdGroupAdApprovalStatus getApprovalStatus() {
return approvalStatus;
}
/**
* Sets the approvalStatus value for this AdGroupAd.
*
* @param approvalStatus * Approval status.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span>
*/
public void setApprovalStatus(com.google.api.ads.adwords.axis.v201609.cm.AdGroupAdApprovalStatus approvalStatus) {
this.approvalStatus = approvalStatus;
}
/**
* Gets the trademarks value for this AdGroupAd.
*
* @return trademarks * A list of strings that represents the specific trademarked
* terms that were found in this ad.
* The list returned is empty if the ad has no trademarked
* terms.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span>
*/
public java.lang.String[] getTrademarks() {
return trademarks;
}
/**
* Sets the trademarks value for this AdGroupAd.
*
* @param trademarks * A list of strings that represents the specific trademarked
* terms that were found in this ad.
* The list returned is empty if the ad has no trademarked
* terms.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span>
*/
public void setTrademarks(java.lang.String[] trademarks) {
this.trademarks = trademarks;
}
public java.lang.String getTrademarks(int i) {
return this.trademarks[i];
}
public void setTrademarks(int i, java.lang.String _value) {
this.trademarks[i] = _value;
}
/**
* Gets the disapprovalReasons value for this AdGroupAd.
*
* @return disapprovalReasons * List of disapproval reasons.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span>
*/
public java.lang.String[] getDisapprovalReasons() {
return disapprovalReasons;
}
/**
* Sets the disapprovalReasons value for this AdGroupAd.
*
* @param disapprovalReasons * List of disapproval reasons.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span>
*/
public void setDisapprovalReasons(java.lang.String[] disapprovalReasons) {
this.disapprovalReasons = disapprovalReasons;
}
public java.lang.String getDisapprovalReasons(int i) {
return this.disapprovalReasons[i];
}
public void setDisapprovalReasons(int i, java.lang.String _value) {
this.disapprovalReasons[i] = _value;
}
/**
* Gets the trademarkDisapproved value for this AdGroupAd.
*
* @return trademarkDisapproved * True if and only if this ad is not serving because it does
* not meet
* trademark policy.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span>
*/
public java.lang.Boolean getTrademarkDisapproved() {
return trademarkDisapproved;
}
/**
* Sets the trademarkDisapproved value for this AdGroupAd.
*
* @param trademarkDisapproved * True if and only if this ad is not serving because it does
* not meet
* trademark policy.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span>
*/
public void setTrademarkDisapproved(java.lang.Boolean trademarkDisapproved) {
this.trademarkDisapproved = trademarkDisapproved;
}
/**
* Gets the labels value for this AdGroupAd.
*
* @return labels * Labels that are attached to the AdGroupAd. To associate an
* existing {@link Label} to an
* existing {@link AdGroupAd}, use {@link AdGroupAdService#mutateLabel}
* with ADD operator. To
* remove an associated {@link Label} from the {@link
* AdGroupAd}, use
* {@link AdGroupAdService#mutateLabel} with REMOVE operator.
* To filter on {@link Label}s,
* use one of {@link Predicate.Operator#CONTAINS_ALL},
* {@link Predicate.Operator#CONTAINS_ANY},
* {@link Predicate.Operator#CONTAINS_NONE} operators
* with a list of {@link Label} ids.
* <span class="constraint CampaignType">This field may
* not be set for campaign channel subtype UNIVERSAL_APP_CAMPAIGN.</span>
* <span class="constraint ReadOnly">This field is read only and will
* be ignored when sent to the API for the following {@link Operator}s:
* REMOVE and SET.</span>
*/
public com.google.api.ads.adwords.axis.v201609.cm.Label[] getLabels() {
return labels;
}
/**
* Sets the labels value for this AdGroupAd.
*
* @param labels * Labels that are attached to the AdGroupAd. To associate an
* existing {@link Label} to an
* existing {@link AdGroupAd}, use {@link AdGroupAdService#mutateLabel}
* with ADD operator. To
* remove an associated {@link Label} from the {@link
* AdGroupAd}, use
* {@link AdGroupAdService#mutateLabel} with REMOVE operator.
* To filter on {@link Label}s,
* use one of {@link Predicate.Operator#CONTAINS_ALL},
* {@link Predicate.Operator#CONTAINS_ANY},
* {@link Predicate.Operator#CONTAINS_NONE} operators
* with a list of {@link Label} ids.
* <span class="constraint CampaignType">This field may
* not be set for campaign channel subtype UNIVERSAL_APP_CAMPAIGN.</span>
* <span class="constraint ReadOnly">This field is read only and will
* be ignored when sent to the API for the following {@link Operator}s:
* REMOVE and SET.</span>
*/
public void setLabels(com.google.api.ads.adwords.axis.v201609.cm.Label[] labels) {
this.labels = labels;
}
public com.google.api.ads.adwords.axis.v201609.cm.Label getLabels(int i) {
return this.labels[i];
}
public void setLabels(int i, com.google.api.ads.adwords.axis.v201609.cm.Label _value) {
this.labels[i] = _value;
}
/**
* Gets the baseCampaignId value for this AdGroupAd.
*
* @return baseCampaignId * ID of the base campaign from which this draft/trial ad was
* created.
* This field is only returned on get requests.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span>
*/
public java.lang.Long getBaseCampaignId() {
return baseCampaignId;
}
/**
* Sets the baseCampaignId value for this AdGroupAd.
*
* @param baseCampaignId * ID of the base campaign from which this draft/trial ad was
* created.
* This field is only returned on get requests.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span>
*/
public void setBaseCampaignId(java.lang.Long baseCampaignId) {
this.baseCampaignId = baseCampaignId;
}
/**
* Gets the baseAdGroupId value for this AdGroupAd.
*
* @return baseAdGroupId * ID of the base ad group from which this draft/trial ad was
* created. For
* base ad groups this is equal to the ad group ID.
* If the ad group was created
* in the draft or trial and has no corresponding base
* ad group, this field is null.
* This field is only returned on get requests.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span>
*/
public java.lang.Long getBaseAdGroupId() {
return baseAdGroupId;
}
/**
* Sets the baseAdGroupId value for this AdGroupAd.
*
* @param baseAdGroupId * ID of the base ad group from which this draft/trial ad was
* created. For
* base ad groups this is equal to the ad group ID.
* If the ad group was created
* in the draft or trial and has no corresponding base
* ad group, this field is null.
* This field is only returned on get requests.
* <span class="constraint ReadOnly">This field is read
* only and will be ignored when sent to the API.</span>
*/
public void setBaseAdGroupId(java.lang.Long baseAdGroupId) {
this.baseAdGroupId = baseAdGroupId;
}
public com.google.api.ads.adwords.axis.v201609.cm.String_StringMapEntry[] getForwardCompatibilityMap() {
return forwardCompatibilityMap;
}
public void setForwardCompatibilityMap(com.google.api.ads.adwords.axis.v201609.cm.String_StringMapEntry[] forwardCompatibilityMap) {
this.forwardCompatibilityMap = forwardCompatibilityMap;
}
public com.google.api.ads.adwords.axis.v201609.cm.String_StringMapEntry getForwardCompatibilityMap(int i) {
return this.forwardCompatibilityMap[i];
}
public void setForwardCompatibilityMap(int i, com.google.api.ads.adwords.axis.v201609.cm.String_StringMapEntry _value) {
this.forwardCompatibilityMap[i] = _value;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof AdGroupAd)) return false;
AdGroupAd other = (AdGroupAd) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.adGroupId==null && other.getAdGroupId()==null) ||
(this.adGroupId!=null &&
this.adGroupId.equals(other.getAdGroupId()))) &&
((this.ad==null && other.getAd()==null) ||
(this.ad!=null &&
this.ad.equals(other.getAd()))) &&
((this.status==null && other.getStatus()==null) ||
(this.status!=null &&
this.status.equals(other.getStatus()))) &&
((this.approvalStatus==null && other.getApprovalStatus()==null) ||
(this.approvalStatus!=null &&
this.approvalStatus.equals(other.getApprovalStatus()))) &&
((this.trademarks==null && other.getTrademarks()==null) ||
(this.trademarks!=null &&
java.util.Arrays.equals(this.trademarks, other.getTrademarks()))) &&
((this.disapprovalReasons==null && other.getDisapprovalReasons()==null) ||
(this.disapprovalReasons!=null &&
java.util.Arrays.equals(this.disapprovalReasons, other.getDisapprovalReasons()))) &&
((this.trademarkDisapproved==null && other.getTrademarkDisapproved()==null) ||
(this.trademarkDisapproved!=null &&
this.trademarkDisapproved.equals(other.getTrademarkDisapproved()))) &&
((this.labels==null && other.getLabels()==null) ||
(this.labels!=null &&
java.util.Arrays.equals(this.labels, other.getLabels()))) &&
((this.baseCampaignId==null && other.getBaseCampaignId()==null) ||
(this.baseCampaignId!=null &&
this.baseCampaignId.equals(other.getBaseCampaignId()))) &&
((this.baseAdGroupId==null && other.getBaseAdGroupId()==null) ||
(this.baseAdGroupId!=null &&
this.baseAdGroupId.equals(other.getBaseAdGroupId()))) &&
((this.forwardCompatibilityMap==null && other.getForwardCompatibilityMap()==null) ||
(this.forwardCompatibilityMap!=null &&
java.util.Arrays.equals(this.forwardCompatibilityMap, other.getForwardCompatibilityMap())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getAdGroupId() != null) {
_hashCode += getAdGroupId().hashCode();
}
if (getAd() != null) {
_hashCode += getAd().hashCode();
}
if (getStatus() != null) {
_hashCode += getStatus().hashCode();
}
if (getApprovalStatus() != null) {
_hashCode += getApprovalStatus().hashCode();
}
if (getTrademarks() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getTrademarks());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getTrademarks(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getDisapprovalReasons() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getDisapprovalReasons());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getDisapprovalReasons(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getTrademarkDisapproved() != null) {
_hashCode += getTrademarkDisapproved().hashCode();
}
if (getLabels() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getLabels());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getLabels(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
if (getBaseCampaignId() != null) {
_hashCode += getBaseCampaignId().hashCode();
}
if (getBaseAdGroupId() != null) {
_hashCode += getBaseAdGroupId().hashCode();
}
if (getForwardCompatibilityMap() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(getForwardCompatibilityMap());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(getForwardCompatibilityMap(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(AdGroupAd.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "AdGroupAd"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("adGroupId");
elemField.setXmlName(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "adGroupId"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("ad");
elemField.setXmlName(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "ad"));
elemField.setXmlType(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "Ad"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("status");
elemField.setXmlName(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "status"));
elemField.setXmlType(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "AdGroupAd.Status"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("approvalStatus");
elemField.setXmlName(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "approvalStatus"));
elemField.setXmlType(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "AdGroupAd.ApprovalStatus"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("trademarks");
elemField.setXmlName(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "trademarks"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("disapprovalReasons");
elemField.setXmlName(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "disapprovalReasons"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("trademarkDisapproved");
elemField.setXmlName(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "trademarkDisapproved"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("labels");
elemField.setXmlName(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "labels"));
elemField.setXmlType(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "Label"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("baseCampaignId");
elemField.setXmlName(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "baseCampaignId"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("baseAdGroupId");
elemField.setXmlName(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "baseAdGroupId"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("forwardCompatibilityMap");
elemField.setXmlName(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "forwardCompatibilityMap"));
elemField.setXmlType(new javax.xml.namespace.QName("https://adwords.google.com/api/adwords/cm/v201609", "String_StringMapEntry"));
elemField.setMinOccurs(0);
elemField.setNillable(false);
elemField.setMaxOccursUnbounded(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}