com.google.api.ads.dfp.axis.v201208
Class Company

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201208.Company
All Implemented Interfaces:
Serializable

public class Company
extends Object
implements Serializable

A Company represents an agency, a single advertiser or an entire advertising network.

See Also:
Serialized Form

Constructor Summary
Company()
           
Company(Long id, String name, CompanyType type, String address, String email, String faxPhone, String primaryPhone, String externalId, String comment, CompanyCreditStatus creditStatus, AppliedLabel[] appliedLabels, Boolean enableSameAdvertiserCompetitiveExclusion, long[] appliedTeamIds, Integer thirdPartyCompanyId, DateTime lastModifiedDateTime)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAddress()
          Gets the address value for this Company.
 AppliedLabel[] getAppliedLabels()
          Gets the appliedLabels value for this Company.
 AppliedLabel getAppliedLabels(int i)
           
 long[] getAppliedTeamIds()
          Gets the appliedTeamIds value for this Company.
 long getAppliedTeamIds(int i)
           
 String getComment()
          Gets the comment value for this Company.
 CompanyCreditStatus getCreditStatus()
          Gets the creditStatus value for this Company.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getEmail()
          Gets the email value for this Company.
 Boolean getEnableSameAdvertiserCompetitiveExclusion()
          Gets the enableSameAdvertiserCompetitiveExclusion value for this Company.
 String getExternalId()
          Gets the externalId value for this Company.
 String getFaxPhone()
          Gets the faxPhone value for this Company.
 Long getId()
          Gets the id value for this Company.
 DateTime getLastModifiedDateTime()
          Gets the lastModifiedDateTime value for this Company.
 String getName()
          Gets the name value for this Company.
 String getPrimaryPhone()
          Gets the primaryPhone value for this Company.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 Integer getThirdPartyCompanyId()
          Gets the thirdPartyCompanyId value for this Company.
 CompanyType getType()
          Gets the type value for this Company.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAddress(String address)
          Sets the address value for this Company.
 void setAppliedLabels(AppliedLabel[] appliedLabels)
          Sets the appliedLabels value for this Company.
 void setAppliedLabels(int i, AppliedLabel _value)
           
 void setAppliedTeamIds(int i, long _value)
           
 void setAppliedTeamIds(long[] appliedTeamIds)
          Sets the appliedTeamIds value for this Company.
 void setComment(String comment)
          Sets the comment value for this Company.
 void setCreditStatus(CompanyCreditStatus creditStatus)
          Sets the creditStatus value for this Company.
 void setEmail(String email)
          Sets the email value for this Company.
 void setEnableSameAdvertiserCompetitiveExclusion(Boolean enableSameAdvertiserCompetitiveExclusion)
          Sets the enableSameAdvertiserCompetitiveExclusion value for this Company.
 void setExternalId(String externalId)
          Sets the externalId value for this Company.
 void setFaxPhone(String faxPhone)
          Sets the faxPhone value for this Company.
 void setId(Long id)
          Sets the id value for this Company.
 void setLastModifiedDateTime(DateTime lastModifiedDateTime)
          Sets the lastModifiedDateTime value for this Company.
 void setName(String name)
          Sets the name value for this Company.
 void setPrimaryPhone(String primaryPhone)
          Sets the primaryPhone value for this Company.
 void setThirdPartyCompanyId(Integer thirdPartyCompanyId)
          Sets the thirdPartyCompanyId value for this Company.
 void setType(CompanyType type)
          Sets the type value for this Company.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Company

public Company()

Company

public Company(Long id,
               String name,
               CompanyType type,
               String address,
               String email,
               String faxPhone,
               String primaryPhone,
               String externalId,
               String comment,
               CompanyCreditStatus creditStatus,
               AppliedLabel[] appliedLabels,
               Boolean enableSameAdvertiserCompetitiveExclusion,
               long[] appliedTeamIds,
               Integer thirdPartyCompanyId,
               DateTime lastModifiedDateTime)
Method Detail

getId

public Long getId()
Gets the id value for this Company.

Returns:
id * Uniquely identifies the Company. This value is read-only and is assigned by Google when the company is created. This attribute is required for updates.

setId

public void setId(Long id)
Sets the id value for this Company.

Parameters:
id - * Uniquely identifies the Company. This value is read-only and is assigned by Google when the company is created. This attribute is required for updates.

getName

public String getName()
Gets the name value for this Company.

Returns:
name * The full name of the company. This attribute is required and has a maximum length of 127 characters.

setName

public void setName(String name)
Sets the name value for this Company.

Parameters:
name - * The full name of the company. This attribute is required and has a maximum length of 127 characters.

getType

public CompanyType getType()
Gets the type value for this Company.

Returns:
type * Specifies what kind of company this is. This attribute is required.

setType

public void setType(CompanyType type)
Sets the type value for this Company.

Parameters:
type - * Specifies what kind of company this is. This attribute is required.

getAddress

public String getAddress()
Gets the address value for this Company.

Returns:
address * Specifies the address of the company. This attribute is optional and has a maximum length of 65,535 characters.

setAddress

public void setAddress(String address)
Sets the address value for this Company.

Parameters:
address - * Specifies the address of the company. This attribute is optional and has a maximum length of 65,535 characters.

getEmail

public String getEmail()
Gets the email value for this Company.

Returns:
email * Specifies the email of the company. This attribute is optional and has a maximum length of 128 characters.

setEmail

public void setEmail(String email)
Sets the email value for this Company.

Parameters:
email - * Specifies the email of the company. This attribute is optional and has a maximum length of 128 characters.

getFaxPhone

public String getFaxPhone()
Gets the faxPhone value for this Company.

Returns:
faxPhone * Specifies the fax phone number of the company. This attribute is optional and has a maximum length of 63 characters.

setFaxPhone

public void setFaxPhone(String faxPhone)
Sets the faxPhone value for this Company.

Parameters:
faxPhone - * Specifies the fax phone number of the company. This attribute is optional and has a maximum length of 63 characters.

getPrimaryPhone

public String getPrimaryPhone()
Gets the primaryPhone value for this Company.

Returns:
primaryPhone * Specifies the primary phone number of the company. This attribute is optional and has a maximum length of 63 characters.

setPrimaryPhone

public void setPrimaryPhone(String primaryPhone)
Sets the primaryPhone value for this Company.

Parameters:
primaryPhone - * Specifies the primary phone number of the company. This attribute is optional and has a maximum length of 63 characters.

getExternalId

public String getExternalId()
Gets the externalId value for this Company.

Returns:
externalId * Specifies the external ID of the company. This attribute is optional and has a maximum length of 255 characters.

setExternalId

public void setExternalId(String externalId)
Sets the externalId value for this Company.

Parameters:
externalId - * Specifies the external ID of the company. This attribute is optional and has a maximum length of 255 characters.

getComment

public String getComment()
Gets the comment value for this Company.

Returns:
comment * Specifies the comment of the company. This attribute is optional and has a maximum length of 1024 characters.

setComment

public void setComment(String comment)
Sets the comment value for this Company.

Parameters:
comment - * Specifies the comment of the company. This attribute is optional and has a maximum length of 1024 characters.

getCreditStatus

public CompanyCreditStatus getCreditStatus()
Gets the creditStatus value for this Company.

Returns:
creditStatus * Specifies the company's credit status. This attribute is optional and defaults to CreditStatus#ACTIVE.

setCreditStatus

public void setCreditStatus(CompanyCreditStatus creditStatus)
Sets the creditStatus value for this Company.

Parameters:
creditStatus - * Specifies the company's credit status. This attribute is optional and defaults to CreditStatus#ACTIVE.

getAppliedLabels

public AppliedLabel[] getAppliedLabels()
Gets the appliedLabels value for this Company.

Returns:
appliedLabels * The set of labels applied to this company.

setAppliedLabels

public void setAppliedLabels(AppliedLabel[] appliedLabels)
Sets the appliedLabels value for this Company.

Parameters:
appliedLabels - * The set of labels applied to this company.

getAppliedLabels

public AppliedLabel getAppliedLabels(int i)

setAppliedLabels

public void setAppliedLabels(int i,
                             AppliedLabel _value)

getEnableSameAdvertiserCompetitiveExclusion

public Boolean getEnableSameAdvertiserCompetitiveExclusion()
Gets the enableSameAdvertiserCompetitiveExclusion value for this Company.

Returns:
enableSameAdvertiserCompetitiveExclusion * Setting this to true will prevent ads from the same advertiser from being served together.

setEnableSameAdvertiserCompetitiveExclusion

public void setEnableSameAdvertiserCompetitiveExclusion(Boolean enableSameAdvertiserCompetitiveExclusion)
Sets the enableSameAdvertiserCompetitiveExclusion value for this Company.

Parameters:
enableSameAdvertiserCompetitiveExclusion - * Setting this to true will prevent ads from the same advertiser from being served together.

getAppliedTeamIds

public long[] getAppliedTeamIds()
Gets the appliedTeamIds value for this Company.

Returns:
appliedTeamIds * The IDs of all teams that this company is on directly.

setAppliedTeamIds

public void setAppliedTeamIds(long[] appliedTeamIds)
Sets the appliedTeamIds value for this Company.

Parameters:
appliedTeamIds - * The IDs of all teams that this company is on directly.

getAppliedTeamIds

public long getAppliedTeamIds(int i)

setAppliedTeamIds

public void setAppliedTeamIds(int i,
                              long _value)

getThirdPartyCompanyId

public Integer getThirdPartyCompanyId()
Gets the thirdPartyCompanyId value for this Company.

Returns:
thirdPartyCompanyId * Specifies the ID of the Google-recognized canonicalized form of this company. This attribute is optional.

setThirdPartyCompanyId

public void setThirdPartyCompanyId(Integer thirdPartyCompanyId)
Sets the thirdPartyCompanyId value for this Company.

Parameters:
thirdPartyCompanyId - * Specifies the ID of the Google-recognized canonicalized form of this company. This attribute is optional.

getLastModifiedDateTime

public DateTime getLastModifiedDateTime()
Gets the lastModifiedDateTime value for this Company.

Returns:
lastModifiedDateTime * The date and time this company was last modified.

setLastModifiedDateTime

public void setLastModifiedDateTime(DateTime lastModifiedDateTime)
Sets the lastModifiedDateTime value for this Company.

Parameters:
lastModifiedDateTime - * The date and time this company was last modified.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2012. All Rights Reserved.