Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the
REST Introduction for details.
Send feedback
TargetingSetting
Stay organized with collections
Save and categorize content based on your preferences.
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.
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
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-23 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-04-23 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-23 UTC."]]