Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation Class Reference

A More...

Properties

long lineItemId [get, set]
 The ID of the LineItem to which the Creative should be associated. This attribute is required. More...
 
bool lineItemIdSpecified [get, set]
 
long creativeId [get, set]
 The ID of the Creative being associated with a LineItem. More...
 
bool creativeIdSpecified [get, set]
 
long creativeSetId [get, set]
 The ID of the CreativeSet being associated with a LineItem. This attribute is required if this is an association between a line item and a creative set. More...
 
bool creativeSetIdSpecified [get, set]
 
double manualCreativeRotationWeight [get, set]
 The weight of the Creative. This value is only used if the line item's More...
 
bool manualCreativeRotationWeightSpecified [get, set]
 
int sequentialCreativeRotationIndex [get, set]
 The sequential rotation index of the Creative. This value is used only if the associated line item's LineItem::creativeRotationType is set to CreativeRotationType::SEQUENTIAL. This attribute is optional and defaults to 1. More...
 
bool sequentialCreativeRotationIndexSpecified [get, set]
 
DateTime startDateTime [get, set]
 Overrides the value set for LineItem::startDateTime. This value is optional and is only valid for Ad Manager 360 networks. If unset, the LineItem::startDateTime will be used. More...
 
StartDateTimeType startDateTimeType [get, set]
 Specifies whether to start serving to the More...
 
bool startDateTimeTypeSpecified [get, set]
 
DateTime endDateTime [get, set]
 Overrides LineItem::endDateTime. This value is optional and is only valid for Ad Manager 360 networks. If unset, the LineItem::endDateTime will be used. More...
 
string destinationUrl [get, set]
 Overrides the value set for HasDestinationUrlCreative::destinationUrl. This value is optional and is only valid for Ad Manager 360 networks. More...
 
Size[] sizes [get, set]
 Overrides the value set for Creative::size, which allows the creative to be served to ad units that would otherwise not be compatible for its actual size. This value is optional. More...
 
LineItemCreativeAssociationStatus status [get, set]
 The status of the association. This attribute is read-only. More...
 
bool statusSpecified [get, set]
 
LineItemCreativeAssociationStats stats [get, set]
 Contains trafficking statistics for the association. This attribute is readonly and is populated by Google. This will be More...
 
DateTime lastModifiedDateTime [get, set]
 The date and time this association was last modified. More...
 
string targetingName [get, set]
 Specifies CreativeTargeting for this line item creative association. More...
 

Detailed Description

A

LineItemCreativeAssociation associates a Creative or CreativeSet with a LineItem so that the creative can be served in ad units targeted by the line item.

Property Documentation

long Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.creativeId
getset

The ID of the Creative being associated with a LineItem.

This attribute is required if this is an association between a line item and a creative.
This attribute is ignored if this is an association between a line item and a creative set.

If this is an association between a line item and a creative, when retrieving the line item creative association, the #creativeId will be the creative's ID.
If this is an association between a line item and a creative set, when retrieving the line item creative association, the #creativeId will be the ID of the CreativeSet::masterCreativeId master creative.

bool Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.creativeIdSpecified
getset

true, if a value is specified for creativeId, false otherwise.

long Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.creativeSetId
getset

The ID of the CreativeSet being associated with a LineItem. This attribute is required if this is an association between a line item and a creative set.

This field will be null when retrieving associations between line items and creatives not belonging to a set.

bool Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.creativeSetIdSpecified
getset

true, if a value is specified for creativeSetId, false otherwise.

string Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.destinationUrl
getset

Overrides the value set for HasDestinationUrlCreative::destinationUrl. This value is optional and is only valid for Ad Manager 360 networks.

DateTime Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.endDateTime
getset

Overrides LineItem::endDateTime. This value is optional and is only valid for Ad Manager 360 networks. If unset, the LineItem::endDateTime will be used.

DateTime Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.lastModifiedDateTime
getset

The date and time this association was last modified.

long Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.lineItemId
getset

The ID of the LineItem to which the Creative should be associated. This attribute is required.

bool Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.lineItemIdSpecified
getset

true, if a value is specified for lineItemId, false otherwise.

double Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.manualCreativeRotationWeight
getset

The weight of the Creative. This value is only used if the line item's

creativeRotationType is set to CreativeRotationType::MANUAL. This attribute is optional and defaults to 10.

bool Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.manualCreativeRotationWeightSpecified
getset

true, if a value is specified for manualCreativeRotationWeight, false otherwise.

int Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.sequentialCreativeRotationIndex
getset

The sequential rotation index of the Creative. This value is used only if the associated line item's LineItem::creativeRotationType is set to CreativeRotationType::SEQUENTIAL. This attribute is optional and defaults to 1.

bool Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.sequentialCreativeRotationIndexSpecified
getset

true, if a value is specified for sequentialCreativeRotationIndex, false otherwise.

Size [] Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.sizes
getset

Overrides the value set for Creative::size, which allows the creative to be served to ad units that would otherwise not be compatible for its actual size. This value is optional.

DateTime Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.startDateTime
getset

Overrides the value set for LineItem::startDateTime. This value is optional and is only valid for Ad Manager 360 networks. If unset, the LineItem::startDateTime will be used.

StartDateTimeType Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.startDateTimeType
getset

Specifies whether to start serving to the

right away, in an hour, etc. This attribute is optional and defaults to StartDateTimeType::USE_START_DATE_TIME.

bool Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.startDateTimeTypeSpecified
getset

true, if a value is specified for startDateTimeType, false otherwise.

LineItemCreativeAssociationStats Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.stats
getset

Contains trafficking statistics for the association. This attribute is readonly and is populated by Google. This will be

null in case there are no statistics for the association yet.

LineItemCreativeAssociationStatus Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.status
getset

The status of the association. This attribute is read-only.

bool Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.statusSpecified
getset

true, if a value is specified for status, false otherwise.

string Google.Api.Ads.AdManager.v202311.LineItemCreativeAssociation.targetingName
getset

Specifies CreativeTargeting for this line item creative association.

This attribute is optional. It should match the creative targeting specified on the corresponding CreativePlaceholder in the LineItem that is being associated with the Creative.


The documentation for this class was generated from the following file: