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

A AdSpot is a targetable entity used in the creation of AdRule objects. More...

Properties

long id [get, set]
 The unique ID of the AdSpot. This value is readonly and is assigned by Google. More...
 
bool idSpecified [get, set]
 
string name [get, set]
 Name of the AdSpot. The name is case insenstive and can be referenced in ad tags. This value is required if More...
 
string displayName [get, set]
 Descriptive name for the AdSpot.This value is optional if More...
 
bool customSpot [get, set]
 Whether this ad spot is a custom spot. This field is optional and defaults to false. More...
 
bool customSpotSpecified [get, set]
 
bool flexible [get, set]
 Whether this ad spot is a flexible spot. This field is optional and defaults to false. More...
 
bool flexibleSpecified [get, set]
 
long maxDurationMillis [get, set]
 The maximum total duration for this AdSpot. This field is optional, defaults to 0, and supports precision to the nearest second. More...
 
bool maxDurationMillisSpecified [get, set]
 
int maxNumberOfAds [get, set]
 The maximum number of ads allowed in the AdSpot. This field is optional and defaults to O. More...
 
bool maxNumberOfAdsSpecified [get, set]
 
AdSpotTargetingType targetingType [get, set]
 The SubpodTargetingType determines how this ad spot can be targeted. This field is required. More...
 
bool targetingTypeSpecified [get, set]
 
bool backfillBlocked [get, set]
 Whether backfill is blocked in this ad spot. This field is optional and defaults to false. More...
 
bool backfillBlockedSpecified [get, set]
 
LineItemType[] allowedLineItemTypes [get, set]
 The set of line item types that may appear in the ad spot. This field is optional and defaults to an empty set, which means that all types are allowed. More...
 
bool inventorySharingBlocked [get, set]
 Whether inventory sharing is blocked in this ad spot. This field is optional and defaults to false. More...
 
bool inventorySharingBlockedSpecified [get, set]
 

Detailed Description

A AdSpot is a targetable entity used in the creation of AdRule objects.

A ad spot contains a variable number of ads and has constraints (ad duration, reservation type, etc) on the ads that can appear in it.

Property Documentation

LineItemType [] Google.Api.Ads.AdManager.v202305.AdSpot.allowedLineItemTypes
getset

The set of line item types that may appear in the ad spot. This field is optional and defaults to an empty set, which means that all types are allowed.

Note, backfill reservation types are controlled via the field.

bool Google.Api.Ads.AdManager.v202305.AdSpot.backfillBlocked
getset

Whether backfill is blocked in this ad spot. This field is optional and defaults to false.

bool Google.Api.Ads.AdManager.v202305.AdSpot.backfillBlockedSpecified
getset

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

bool Google.Api.Ads.AdManager.v202305.AdSpot.customSpot
getset

Whether this ad spot is a custom spot. This field is optional and defaults to false.

Custom spots can be reused and targeted in the targeting picker.

bool Google.Api.Ads.AdManager.v202305.AdSpot.customSpotSpecified
getset

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

string Google.Api.Ads.AdManager.v202305.AdSpot.displayName
getset

Descriptive name for the AdSpot.This value is optional if

customSpot is true, and cannot be set otherwise.

bool Google.Api.Ads.AdManager.v202305.AdSpot.flexible
getset

Whether this ad spot is a flexible spot. This field is optional and defaults to false.

Flexible spots are allowed to have no max number of ads.

bool Google.Api.Ads.AdManager.v202305.AdSpot.flexibleSpecified
getset

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

long Google.Api.Ads.AdManager.v202305.AdSpot.id
getset

The unique ID of the AdSpot. This value is readonly and is assigned by Google.

bool Google.Api.Ads.AdManager.v202305.AdSpot.idSpecified
getset

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

bool Google.Api.Ads.AdManager.v202305.AdSpot.inventorySharingBlocked
getset

Whether inventory sharing is blocked in this ad spot. This field is optional and defaults to false.

bool Google.Api.Ads.AdManager.v202305.AdSpot.inventorySharingBlockedSpecified
getset

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

long Google.Api.Ads.AdManager.v202305.AdSpot.maxDurationMillis
getset

The maximum total duration for this AdSpot. This field is optional, defaults to 0, and supports precision to the nearest second.

bool Google.Api.Ads.AdManager.v202305.AdSpot.maxDurationMillisSpecified
getset

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

int Google.Api.Ads.AdManager.v202305.AdSpot.maxNumberOfAds
getset

The maximum number of ads allowed in the AdSpot. This field is optional and defaults to O.

A maxNumberOfAds of 0 means that there is no maximum for the number of ads in the ad spot. No max ads is only supported for ad spots that have flexible set to true.

bool Google.Api.Ads.AdManager.v202305.AdSpot.maxNumberOfAdsSpecified
getset

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

string Google.Api.Ads.AdManager.v202305.AdSpot.name
getset

Name of the AdSpot. The name is case insenstive and can be referenced in ad tags. This value is required if

customSpot is true, and cannot be set otherwise.

You can use alphanumeric characters and symbols other than the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white space character.

AdSpotTargetingType Google.Api.Ads.AdManager.v202305.AdSpot.targetingType
getset

The SubpodTargetingType determines how this ad spot can be targeted. This field is required.

bool Google.Api.Ads.AdManager.v202305.AdSpot.targetingTypeSpecified
getset

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


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