Resource: SuggestedAdUnit
A read-only suggestion for a new ad unit based on an ad tag that has served 10+ times in the past week for an undefined ad unit.
| JSON representation |
|---|
{ "name": string, "newCodePath": [ string ], "existingCodePath": [ { object ( |
| Fields | |
|---|---|
name |
Identifier. Resource name of the |
newCodePath[] |
Output only. Path of suggested ad unit codes from the closest existing ancestor ad unit that will all be created as ad units when the suggestion is approved. Example: If a -> b -> c are existing ad units with parent-child relationships, and the suggested ad unit x is a child of c, the |
existingCodePath[] |
Output only. Code path of ad units leading up to and including the parent of the first suggested ad unit. Combined with the Example: If a -> b -> c are existing ad units with parent-child relationships, and the suggested ad unit x is a child of c, the |
adUnitSizes[] |
Output only. Sizes associated with this suggested ad unit. |
weeklyRequestCount |
Output only. Number of times the ad tag has been served in the past week. |
targetWindow |
Output only. Target window of the underlying ad tag which will be used in the ad unit if the suggestion is approved. |
targetPlatform |
Output only. Target platform for the browser that clicked the underlying ad tag. |
TargetPlatform
The target platform of a line item.
| Enums | |
|---|---|
TARGET_PLATFORM_UNSPECIFIED |
Default value. This value is unused. |
ANY |
A universal target platform that combines mobile and desktop features. |
MOBILE |
Mobile devices. |
WEB |
The desktop web. |
Methods |
|
|---|---|
|
Get a SuggestedAdUnit object. |
|
Retrieve a list of SuggestedAdUnit objects. |