REST Resource: networks.targetingPresets

Resource: TargetingPreset

User-defined preset targeting criteria.

JSON representation
{
  "name": string,
  "displayName": string,
  "targeting": {
    object (Targeting)
  },
  "status": enum (TargetingPresetStatus)
}
Fields
name

string

Identifier. The resource name of the TargetingPreset. Format: networks/{networkCode}/targetingPresets/{targetingPresetId}

displayName

string

Required. The name of the TargetingPreset. This attribute has a maximum length of 255 characters.

targeting

object (Targeting)

Required. Contains the targeting criteria for the TargetingPreset. If not provided, empty targeting will be used as a default.

status

enum (TargetingPresetStatus)

Output only. The status of the TargetingPreset.

TargetingPresetStatus

The status of a targeting preset.

Enums
TARGETING_PRESET_STATUS_UNSPECIFIED Default value. This value is unused.
ACTIVE The targeting preset is active.
INACTIVE The targeting preset is inactive.

Methods

batchCreate

Creates TargetingPreset objects.

create

Creates a TargetingPreset object.

get

Retrieves a TargetingPreset object.

list

Lists TargetingPreset objects.