TargetingSetting

Settings for the targeting-related features, at the campaign and ad group levels. For more details about the targeting setting, visit https://support.google.com/google-ads/answer/7365594

JSON representation
{
  "targetRestrictions": [
    {
      object (TargetRestriction)
    }
  ],
  "targetRestrictionOperations": [
    {
      object (TargetRestrictionOperation)
    }
  ]
}
Fields
targetRestrictions[]

object (TargetRestriction)

The per-targeting-dimension setting to restrict the reach of your campaign or ad group.

targetRestrictionOperations[]

object (TargetRestrictionOperation)

The list of operations changing the target restrictions.

Adding a target restriction with a targeting dimension that already exists causes the existing target restriction to be replaced with the new value.

TargetRestriction

The list of per-targeting-dimension targeting settings.

JSON representation
{
  "targetingDimension": enum (TargetingDimension),
  "bidOnly": boolean
}
Fields
targetingDimension

enum (TargetingDimension)

The targeting dimension that these settings apply to.

bidOnly

boolean

Indicates whether to restrict your ads to show only for the criteria you have selected for this targetingDimension, or to target all values for this targetingDimension and show ads based on your targeting in other TargetingDimensions. A value of true means that these criteria will only apply bid modifiers, and not affect targeting. A value of false means that these criteria will restrict targeting as well as applying bid modifiers.

TargetRestrictionOperation

Operation to be performed on a target restriction list in a mutate.

JSON representation
{
  "operator": enum (Operator),
  "value": {
    object (TargetRestriction)
  }
}
Fields
operator

enum (Operator)

Type of list operation to perform.

value

object (TargetRestriction)

The target restriction being added to or removed from the list.

Operator

The operator.

Enums
UNSPECIFIED Unspecified.
UNKNOWN Used for return value only. Represents value unknown in this version.
ADD Add the restriction to the existing restrictions.
REMOVE Remove the restriction from the existing restrictions.