View Source GoogleApi.AdExchangeBuyer.V2beta1.Model.TargetingCriteria (google_api_ad_exchange_buyer v0.41.0)

Advertisers can target different attributes of an ad slot. For example, they can choose to show ads only if the user is in the U.S. Such targeting criteria can be specified as part of Shared Targeting.

Attributes

  • exclusions (type: list(GoogleApi.AdExchangeBuyer.V2beta1.Model.TargetingValue.t), default: nil) - The list of values to exclude from targeting. Each value is AND'd together.
  • inclusions (type: list(GoogleApi.AdExchangeBuyer.V2beta1.Model.TargetingValue.t), default: nil) - The list of value to include as part of the targeting. Each value is OR'd together.
  • key (type: String.t, default: nil) - The key representing the shared targeting criterion. Targeting criteria defined by Google ad servers will begin with GOOG_. Third parties may define their own keys. A list of permissible keys along with the acceptable values will be provided as part of the external documentation.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AdExchangeBuyer.V2beta1.Model.TargetingCriteria{
  exclusions:
    [GoogleApi.AdExchangeBuyer.V2beta1.Model.TargetingValue.t()] | nil,
  inclusions:
    [GoogleApi.AdExchangeBuyer.V2beta1.Model.TargetingValue.t()] | nil,
  key: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.