- JSON representation
- CampaignCriterionStatus
- ListingScopeInfo
- CarrierInfo
- OperatingSystemVersionInfo
- MobileDeviceInfo
- LocationGroupInfo
- LocationGroupRadiusUnits
- LocalServiceIdInfo
- BrandListInfo
A campaign criterion.
JSON representation |
---|
{ "resourceName": string, "displayName": string, "type": enum ( |
Fields | |
---|---|
resourceName |
Immutable. The resource name of the campaign criterion. Campaign criterion resource names have the form:
|
displayName |
Output only. The display name of the criterion. This field is ignored for mutates. |
type |
Output only. The type of the criterion. |
status |
The status of the criterion. |
campaign |
Immutable. The campaign to which the criterion belongs. |
criterionId |
Output only. The ID of the criterion. This field is ignored during mutate. |
bidModifier |
The modifier for the bids when the criterion matches. The modifier must be in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. Use 0 to opt out of a Device type. |
negative |
Immutable. Whether to target ( |
Union field Exactly one must be set. |
|
keyword |
Immutable. Keyword. |
placement |
Immutable. Placement. |
mobileAppCategory |
Immutable. Mobile app category. |
mobileApplication |
Immutable. Mobile application. |
location |
Immutable. Location. |
device |
Immutable. Device. |
adSchedule |
Immutable. Ad Schedule. |
ageRange |
Immutable. Age range. |
gender |
Immutable. Gender. |
incomeRange |
Immutable. Income range. |
parentalStatus |
Immutable. Parental status. |
userList |
Immutable. User List. |
youtubeVideo |
Immutable. YouTube Video. |
youtubeChannel |
Immutable. YouTube Channel. |
proximity |
Immutable. Proximity. |
topic |
Immutable. Topic. |
listingScope |
Immutable. Listing scope. |
language |
Immutable. Language. |
ipBlock |
Immutable. IpBlock. |
contentLabel |
Immutable. ContentLabel. |
carrier |
Immutable. Carrier. |
userInterest |
Immutable. User Interest. |
webpage |
Immutable. Webpage. |
operatingSystemVersion |
Immutable. Operating system version. |
mobileDevice |
Immutable. Mobile Device. |
locationGroup |
Immutable. Location Group |
customAffinity |
Immutable. Custom Affinity. |
customAudience |
Immutable. Custom Audience |
combinedAudience |
Immutable. Combined Audience. |
keywordTheme |
Immutable. Smart Campaign Keyword Theme. |
localServiceId |
Immutable. GLS service campaign criterion. |
brandList |
Immutable. Brand list campaign criterion. |
CampaignCriterionStatus
The possible statuses of a CampaignCriterion.
Enums | |
---|---|
UNSPECIFIED |
No value has been specified. |
UNKNOWN |
The received value is not known in this version. This is a response-only value. |
ENABLED |
The campaign criterion is enabled. |
PAUSED |
The campaign criterion is paused. |
REMOVED |
The campaign criterion is removed. |
ListingScopeInfo
A listing scope criterion.
JSON representation |
---|
{
"dimensions": [
{
object ( |
Fields | |
---|---|
dimensions[] |
Scope of the campaign criterion. |
CarrierInfo
Represents a Carrier Criterion.
JSON representation |
---|
{ "carrierConstant": string } |
Fields | |
---|---|
carrierConstant |
The Carrier constant resource name. |
OperatingSystemVersionInfo
Represents an operating system version to be targeted.
JSON representation |
---|
{ "operatingSystemVersionConstant": string } |
Fields | |
---|---|
operatingSystemVersionConstant |
The operating system version constant resource name. |
MobileDeviceInfo
A mobile device criterion.
JSON representation |
---|
{ "mobileDeviceConstant": string } |
Fields | |
---|---|
mobileDeviceConstant |
The mobile device constant resource name. |
LocationGroupInfo
A radius around a list of locations specified through a feed or assetSet.
JSON representation |
---|
{
"geoTargetConstants": [
string
],
"radiusUnits": enum ( |
Fields | |
---|---|
geoTargetConstants[] |
Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed. Cannot be set with AssetSet fields. |
radiusUnits |
Unit of the radius. Miles and meters are supported for geo target constants. Milli miles and meters are supported for feed item sets and asset sets. This is required and must be set in CREATE operations. |
feedItemSets[] |
FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with geoTargetConstants. This is optional and can only be set in CREATE operations. Cannot be set with AssetSet fields. |
locationGroupAssetSets[] |
AssetSets whose Assets are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or enableCustomerLevelLocationAssetSet should be specified. Both cannot be used at the same time. This can only be set in CREATE operations. |
feed |
Feed specifying locations for targeting. Cannot be set with AssetSet fields. This is required and must be set in CREATE operations. |
radius |
Distance in units specifying the radius around targeted locations. This is required and must be set in CREATE operations. |
enableCustomerLevelLocationAssetSet |
Denotes that the latest customer level asset set is used for targeting. Used with radius and radiusUnits. Cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or locationGroupAssetSets should be specified. Both cannot be used at the same time. This can only be set in CREATE operations. |
LocationGroupRadiusUnits
The unit of radius distance in location group (for example, MILES)
Enums | |
---|---|
UNSPECIFIED |
Not specified. |
UNKNOWN |
Used for return value only. Represents value unknown in this version. |
METERS |
Meters |
MILES |
Miles |
MILLI_MILES |
Milli Miles |
LocalServiceIdInfo
A Local Services Ads service ID. Represents a service type (such as install_faucet) that a Local Services Campaign can target.
JSON representation |
---|
{ "serviceId": string } |
Fields | |
---|---|
serviceId |
The criterion resource name. |
BrandListInfo
A Brand List Criterion is used to specify a list of brands. The list is represented as a SharedSet id type BRAND_HINT. A criterion of this type can be either targeted or excluded.
JSON representation |
---|
{ "sharedSet": string } |
Fields | |
---|---|
sharedSet |
Shared set resource name of the brand list. |