CampaignCriterion

キャンペーンの条件。

JSON 表現
{
  "resourceName": string,
  "displayName": string,
  "type": enum (CriterionType),
  "status": enum (CampaignCriterionStatus),
  "campaign": string,
  "criterionId": string,
  "bidModifier": number,
  "negative": boolean,

  // Union field criterion can be only one of the following:
  "keyword": {
    object (KeywordInfo)
  },
  "placement": {
    object (PlacementInfo)
  },
  "mobileAppCategory": {
    object (MobileAppCategoryInfo)
  },
  "mobileApplication": {
    object (MobileApplicationInfo)
  },
  "location": {
    object (LocationInfo)
  },
  "device": {
    object (DeviceInfo)
  },
  "adSchedule": {
    object (AdScheduleInfo)
  },
  "ageRange": {
    object (AgeRangeInfo)
  },
  "gender": {
    object (GenderInfo)
  },
  "incomeRange": {
    object (IncomeRangeInfo)
  },
  "parentalStatus": {
    object (ParentalStatusInfo)
  },
  "userList": {
    object (UserListInfo)
  },
  "youtubeVideo": {
    object (YouTubeVideoInfo)
  },
  "youtubeChannel": {
    object (YouTubeChannelInfo)
  },
  "proximity": {
    object (ProximityInfo)
  },
  "topic": {
    object (TopicInfo)
  },
  "listingScope": {
    object (ListingScopeInfo)
  },
  "language": {
    object (LanguageInfo)
  },
  "ipBlock": {
    object (IpBlockInfo)
  },
  "contentLabel": {
    object (ContentLabelInfo)
  },
  "carrier": {
    object (CarrierInfo)
  },
  "userInterest": {
    object (UserInterestInfo)
  },
  "webpage": {
    object (WebpageInfo)
  },
  "operatingSystemVersion": {
    object (OperatingSystemVersionInfo)
  },
  "mobileDevice": {
    object (MobileDeviceInfo)
  },
  "locationGroup": {
    object (LocationGroupInfo)
  },
  "customAffinity": {
    object (CustomAffinityInfo)
  },
  "customAudience": {
    object (CustomAudienceInfo)
  },
  "combinedAudience": {
    object (CombinedAudienceInfo)
  },
  "keywordTheme": {
    object (KeywordThemeInfo)
  },
  "localServiceId": {
    object (LocalServiceIdInfo)
  }
  // End of list of possible types for union field criterion.
}
フィールド
resourceName

string

変更不可。キャンペーンの条件のリソース名。キャンペーンの条件のリソース名の形式は次のとおりです。

customers/{customerId}/campaignCriteria/{campaignId}~{criterionId}

displayName

string

出力専用。条件の表示名。

このフィールドはミューテーションの場合は無視されます。

type

enum (CriterionType)

出力専用。条件のタイプ。

status

enum (CampaignCriterionStatus)

条件のステータス。

campaign

string

変更不可。条件が属するキャンペーンです。

criterionId

string (int64 format)

出力専用。条件の ID。

このフィールドは、変更時は無視されます。

bidModifier

number

条件が一致した場合の入札の修飾子。修飾子は 0.1 ~ 10.0 の範囲内にする必要があります。対象とする条件タイプのほとんどで、修飾子がサポートされています。デバイスタイプをオプトアウトするには、0 を使用します。

negative

boolean

変更不可。条件をターゲットに設定するか(false)、除外するか(true)を指定します。

共用体フィールド criterion。キャンペーンの条件。

1 つのみ設定する必要があります。criterion は次のいずれかになります。

keyword

object (KeywordInfo)

変更不可。キーワード。

placement

object (PlacementInfo)

変更不可。プレースメント。

mobileAppCategory

object (MobileAppCategoryInfo)

変更不可。モバイルアプリのカテゴリです。

mobileApplication

object (MobileApplicationInfo)

変更不可。モバイルアプリ。

location

object (LocationInfo)

変更不可。位置情報] をタップします。

device

object (DeviceInfo)

変更不可。デバイス] など)を選択します。

adSchedule

object (AdScheduleInfo)

変更不可。広告のスケジュール。

ageRange

object (AgeRangeInfo)

変更不可。年齢層。

gender

object (GenderInfo)

変更不可。性別。

incomeRange

object (IncomeRangeInfo)

変更不可。収入の範囲。

parentalStatus

object (ParentalStatusInfo)

変更不可。子供の有無。

userList

object (UserListInfo)

変更不可。ユーザーリスト。

youtubeVideo

object (YouTubeVideoInfo)

変更不可。YouTube 動画。

youtubeChannel

object (YouTubeChannelInfo)

変更不可。YouTube チャンネル。

proximity

object (ProximityInfo)

変更不可。近接。

topic

object (TopicInfo)

変更不可。トピック。

listingScope

object (ListingScopeInfo)

変更不可。リスティング範囲。

language

object (LanguageInfo)

変更不可。学びました。

ipBlock

object (IpBlockInfo)

変更不可。IpBlock です。

contentLabel

object (ContentLabelInfo)

変更不可。ContentLabel。

carrier

object (CarrierInfo)

変更不可。携帯通信会社] に移動します。

userInterest

object (UserInterestInfo)

変更不可。ユーザーの興味や関心。

webpage

object (WebpageInfo)

変更不可。ウェブページ。

operatingSystemVersion

object (OperatingSystemVersionInfo)

変更不可。OSの種類です

mobileDevice

object (MobileDeviceInfo)

変更不可。モバイル デバイス。

locationGroup

object (LocationGroupInfo)

変更不可。地域グループ

customAffinity

object (CustomAffinityInfo)

変更不可。カスタム アフィニティ。

customAudience

object (CustomAudienceInfo)

変更不可。カスタム オーディエンス

combinedAudience

object (CombinedAudienceInfo)

変更不可。統合オーディエンス

keywordTheme

object (KeywordThemeInfo)

変更不可。スマート アシスト キャンペーンのキーワードのテーマ。

localServiceId

object (LocalServiceIdInfo)

変更不可。GLS サービス キャンペーンの条件。

CampaignCriterionStatus

CampaignCriterion のステータス。

列挙型
UNSPECIFIED 値が指定されていません。
UNKNOWN

このバージョンでは受信した値が不明です。

これはレスポンス専用の値です。

ENABLED キャンペーンの条件は有効になっています。
PAUSED キャンペーンの条件は一時停止されています。
REMOVED キャンペーンの条件は削除されます。

ListingScopeInfo

リスティング範囲の条件。

JSON 表現
{
  "dimensions": [
    {
      object (ListingDimensionInfo)
    }
  ]
}
フィールド
dimensions[]

object (ListingDimensionInfo)

キャンペーン条件のスコープ。

IpBlockInfo

IP アドレスの除外に使用される IpBlock 条件です。- IPv4 および IPv6 アドレス - 個別のアドレス(192.168.0.1) - 個々のアドレスのマスク(192.168.0.1/32) - クラス C ネットワークのマスク(192.168.0.1/24)

JSON 表現
{
  "ipAddress": string
}
フィールド
ipAddress

string

この IP ブロックの IP アドレス。

CarrierInfo

携帯通信会社の条件を表します。

JSON 表現
{
  "carrierConstant": string
}
フィールド
carrierConstant

string

携帯通信会社の定数リソース名。

OperatingSystemVersionInfo

ターゲットとするオペレーティング システムのバージョンを表します。

JSON 表現
{
  "operatingSystemVersionConstant": string
}
フィールド
operatingSystemVersionConstant

string

オペレーティング システム バージョンの定数リソース名。

MobileDeviceInfo

モバイル デバイスの条件です。

JSON 表現
{
  "mobileDeviceConstant": string
}
フィールド
mobileDeviceConstant

string

モバイル デバイスの定数リソース名。

LocationGroupInfo

フィードまたは assetSet で指定されたビジネス拠点のリストを中心とした半径です。

JSON 表現
{
  "geoTargetConstants": [
    string
  ],
  "radiusUnits": enum (LocationGroupRadiusUnits),
  "feedItemSets": [
    string
  ],
  "locationGroupAssetSets": [
    string
  ],
  "feed": string,
  "radius": string,
  "enableCustomerLevelLocationAssetSet": boolean
}
フィールド
geoTargetConstants[]

string

フィード内の地域の範囲を制限する地域ターゲティングの定数。現在、使用できる地域ターゲティングの定数は 1 つのみです。AssetSet フィールドでは設定できません。

radiusUnits

enum (LocationGroupRadiusUnits)

半径の単位。地域ターゲティングの定数では、マイルとメートルがサポートされています。フィード アイテム セットとアセットセットではミリマイルとメートルがサポートされています。これは必須であり、CREATE オペレーションで設定する必要があります。

feedItemSets[]

string

FeedItems がターゲットとする FeedItemSet。複数の ID を指定すると、少なくとも 1 つのセットに出現するすべての項目がターゲティングされます。このフィールドは geoTargetConstants では使用できません。これはオプションであり、CREATE オペレーションでのみ設定できます。AssetSet フィールドでは設定できません。

locationGroupAssetSets[]

string

アセットがターゲットに設定されている AssetSet。複数の ID を指定すると、少なくとも 1 つのセットに出現するすべての項目がターゲティングされます。このフィールドは、フィード、地域ターゲティングの定数、フィード アイテム セットでは使用できません。アセットセットを使用する場合は、このフィールドか enableCustomerLevelLocationAssetSet を指定する必要があります。両方を同時に使用することはできません。これは CREATE オペレーションでのみ設定できます。

feed

string

ターゲティングする地域を指定するフィード。AssetSet フィールドでは設定できません。これは必須であり、CREATE オペレーションで設定する必要があります。

radius

string (int64 format)

対象地域を中心とした半径を指定する単位での距離です。これは必須であり、CREATE オペレーションで設定する必要があります。

enableCustomerLevelLocationAssetSet

boolean

顧客単位の最新のアセットセットがターゲティングに使用されることを示します。radius および radiusUnits とともに使用します。フィード、地域ターゲティング定数、フィード アイテム セットでは使用できません。アセットセットを使用する場合は、このフィールドか locationGroupAssetSets を指定する必要があります。両方を同時に使用することはできません。これは CREATE オペレーションでのみ設定できます。

LocationGroupRadiusUnits

地域グループ内の半径の距離の単位(例: MILES)

列挙型
UNSPECIFIED 指定されていません。
UNKNOWN 戻り値にのみ使用されます。このバージョンで不明な値を表します。
METERS メートル
MILES マイル
MILLI_MILES ミリマイル

LocalServiceIdInfo

ローカル サービス広告のサービス ID。ローカル サービス キャンペーンでターゲットに設定できるサービスタイプ(install_faucet など)を表します。

JSON 表現
{
  "serviceId": string
}
フィールド
serviceId

string

条件のリソース名。