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

A More...

Properties

string id [get, set]
 The unique ID of the suggested ad unit. After API version 201311 this field will be a numerical ID. Earlier versions will return a string value which is the complete path to the suggested ad unit with path elements separated by '/' characters. This attribute is read-only and is populated by Google. More...
 
long numRequests [get, set]
 Returns the number of times the ad tag corresponding to this suggested ad unit has been served in the previous week. Suggested ad units are only created when they have been served at least ten times in that period. This attribute is read-only and is populated by Google. More...
 
bool numRequestsSpecified [get, set]
 
string[] path [get, set]
 The hierarchical path from the last existing ad unit after this and all suggested parent ad units have been created. Each path element is a separate ad unit code in the returned list. This attribute is read-only and is populated by Google. More...
 
AdUnitParent[] parentPath [get, set]
 The existing hierarchical path leading up to, and including, the parent of the first suggested ad unit in the ad unit hierarchy. The More...
 
AdUnitTargetWindow targetWindow [get, set]
 The More...
 
bool targetWindowSpecified [get, set]
 
TargetPlatform targetPlatform [get, set]
 The target platform for the browser that clicked the underlying ad tag. This attribute is read-only and is populated by Google. More...
 
bool targetPlatformSpecified [get, set]
 
AdUnitSize[] suggestedAdUnitSizes [get, set]
 The target sizes associated with this More...
 

Detailed Description

A

SuggestedAdUnit represents a suggestion for a new ad unit, based on an ad tag that has been served at least ten times in the past week, but which does not correspond to a defined ad unit. This type is read-only.

Property Documentation

string Google.Api.Ads.AdManager.v202305.SuggestedAdUnit.id
getset

The unique ID of the suggested ad unit. After API version 201311 this field will be a numerical ID. Earlier versions will return a string value which is the complete path to the suggested ad unit with path elements separated by '/' characters. This attribute is read-only and is populated by Google.

long Google.Api.Ads.AdManager.v202305.SuggestedAdUnit.numRequests
getset

Returns the number of times the ad tag corresponding to this suggested ad unit has been served in the previous week. Suggested ad units are only created when they have been served at least ten times in that period. This attribute is read-only and is populated by Google.

bool Google.Api.Ads.AdManager.v202305.SuggestedAdUnit.numRequestsSpecified
getset

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

AdUnitParent [] Google.Api.Ads.AdManager.v202305.SuggestedAdUnit.parentPath
getset

The existing hierarchical path leading up to, and including, the parent of the first suggested ad unit in the ad unit hierarchy. The

parentPath and the path make up the full path of the suggested ad unit after it is approved. This attribute is read-only and is populated by Google.

Note: The ad unit code for each of the parent ad units will not be provided.

string [] Google.Api.Ads.AdManager.v202305.SuggestedAdUnit.path
getset

The hierarchical path from the last existing ad unit after this and all suggested parent ad units have been created. Each path element is a separate ad unit code in the returned list. This attribute is read-only and is populated by Google.

AdUnitSize [] Google.Api.Ads.AdManager.v202305.SuggestedAdUnit.suggestedAdUnitSizes
getset

The target sizes associated with this

SuggestedAdUnit. This attribute is read-only and is populated by Google.

TargetPlatform Google.Api.Ads.AdManager.v202305.SuggestedAdUnit.targetPlatform
getset

The target platform for the browser that clicked the underlying ad tag. This attribute is read-only and is populated by Google.

bool Google.Api.Ads.AdManager.v202305.SuggestedAdUnit.targetPlatformSpecified
getset

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

AdUnitTargetWindow Google.Api.Ads.AdManager.v202305.SuggestedAdUnit.targetWindow
getset

The

target attribute of the underlying ad tag, as defined in the AdUnit. This attribute is read-only and is populated by Google.

bool Google.Api.Ads.AdManager.v202305.SuggestedAdUnit.targetWindowSpecified
getset

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


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