com.google.api.ads.dfp.axis.v201206
Class ContentTargeting

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

public class ContentTargeting
extends Object
implements Serializable

Used to target LineItems to specific videos on a publisher's site.

See Also:
Serialized Form

Constructor Summary
ContentTargeting()
           
ContentTargeting(long[] targetedContentIds, long[] excludedContentIds, long[] targetedVideoCategoryIds, long[] excludedVideoCategoryIds)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 long[] getExcludedContentIds()
          Gets the excludedContentIds value for this ContentTargeting.
 long getExcludedContentIds(int i)
           
 long[] getExcludedVideoCategoryIds()
          Gets the excludedVideoCategoryIds value for this ContentTargeting.
 long getExcludedVideoCategoryIds(int i)
           
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 long[] getTargetedContentIds()
          Gets the targetedContentIds value for this ContentTargeting.
 long getTargetedContentIds(int i)
           
 long[] getTargetedVideoCategoryIds()
          Gets the targetedVideoCategoryIds value for this ContentTargeting.
 long getTargetedVideoCategoryIds(int i)
           
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setExcludedContentIds(int i, long _value)
           
 void setExcludedContentIds(long[] excludedContentIds)
          Sets the excludedContentIds value for this ContentTargeting.
 void setExcludedVideoCategoryIds(int i, long _value)
           
 void setExcludedVideoCategoryIds(long[] excludedVideoCategoryIds)
          Sets the excludedVideoCategoryIds value for this ContentTargeting.
 void setTargetedContentIds(int i, long _value)
           
 void setTargetedContentIds(long[] targetedContentIds)
          Sets the targetedContentIds value for this ContentTargeting.
 void setTargetedVideoCategoryIds(int i, long _value)
           
 void setTargetedVideoCategoryIds(long[] targetedVideoCategoryIds)
          Sets the targetedVideoCategoryIds value for this ContentTargeting.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentTargeting

public ContentTargeting()

ContentTargeting

public ContentTargeting(long[] targetedContentIds,
                        long[] excludedContentIds,
                        long[] targetedVideoCategoryIds,
                        long[] excludedVideoCategoryIds)
Method Detail

getTargetedContentIds

public long[] getTargetedContentIds()
Gets the targetedContentIds value for this ContentTargeting.

Returns:
targetedContentIds * The IDs of content being targeted by the LineItem.

setTargetedContentIds

public void setTargetedContentIds(long[] targetedContentIds)
Sets the targetedContentIds value for this ContentTargeting.

Parameters:
targetedContentIds - * The IDs of content being targeted by the LineItem.

getTargetedContentIds

public long getTargetedContentIds(int i)

setTargetedContentIds

public void setTargetedContentIds(int i,
                                  long _value)

getExcludedContentIds

public long[] getExcludedContentIds()
Gets the excludedContentIds value for this ContentTargeting.

Returns:
excludedContentIds * The IDs of content being excluded by the LineItem.

setExcludedContentIds

public void setExcludedContentIds(long[] excludedContentIds)
Sets the excludedContentIds value for this ContentTargeting.

Parameters:
excludedContentIds - * The IDs of content being excluded by the LineItem.

getExcludedContentIds

public long getExcludedContentIds(int i)

setExcludedContentIds

public void setExcludedContentIds(int i,
                                  long _value)

getTargetedVideoCategoryIds

public long[] getTargetedVideoCategoryIds()
Gets the targetedVideoCategoryIds value for this ContentTargeting.

Returns:
targetedVideoCategoryIds * A list of video categories, represented by CustomTargetingValue IDs, that are being targeted by the LineItem.

These IDs must be from video categories, which are a set of CustomTargetingValues that belong to the content browse key.

The content browse key can be obtained by getting the Network.contentBrowseCustomTargetingKeyId and the acceptable values can be obtained using the CustomTargetingService#getCustomTargetingValuesByStatement.


setTargetedVideoCategoryIds

public void setTargetedVideoCategoryIds(long[] targetedVideoCategoryIds)
Sets the targetedVideoCategoryIds value for this ContentTargeting.

Parameters:
targetedVideoCategoryIds - * A list of video categories, represented by CustomTargetingValue IDs, that are being targeted by the LineItem.

These IDs must be from video categories, which are a set of CustomTargetingValues that belong to the content browse key.

The content browse key can be obtained by getting the Network.contentBrowseCustomTargetingKeyId and the acceptable values can be obtained using the CustomTargetingService#getCustomTargetingValuesByStatement.


getTargetedVideoCategoryIds

public long getTargetedVideoCategoryIds(int i)

setTargetedVideoCategoryIds

public void setTargetedVideoCategoryIds(int i,
                                        long _value)

getExcludedVideoCategoryIds

public long[] getExcludedVideoCategoryIds()
Gets the excludedVideoCategoryIds value for this ContentTargeting.

Returns:
excludedVideoCategoryIds * A list of video categories, represented by CustomTargetingValue IDs, that are being excluded by the LineItem.

These IDs must be from video categories, which are a set of CustomTargetingValues that belong to the content browse key.

The content browse key can be obtained by getting the Network.contentBrowseCustomTargetingKeyId and the acceptable values can be obtained using the CustomTargetingService#getCustomTargetingValuesByStatement.


setExcludedVideoCategoryIds

public void setExcludedVideoCategoryIds(long[] excludedVideoCategoryIds)
Sets the excludedVideoCategoryIds value for this ContentTargeting.

Parameters:
excludedVideoCategoryIds - * A list of video categories, represented by CustomTargetingValue IDs, that are being excluded by the LineItem.

These IDs must be from video categories, which are a set of CustomTargetingValues that belong to the content browse key.

The content browse key can be obtained by getting the Network.contentBrowseCustomTargetingKeyId and the acceptable values can be obtained using the CustomTargetingService#getCustomTargetingValuesByStatement.


getExcludedVideoCategoryIds

public long getExcludedVideoCategoryIds(int i)

setExcludedVideoCategoryIds

public void setExcludedVideoCategoryIds(int i,
                                        long _value)

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.