class Google::Apis::AdexchangebuyerV1_3::PretargetingConfig

Attributes

billing_id[RW]

The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically. Corresponds to the JSON property `billingId` @return [Fixnum]

config_id[RW]

The config id; generated automatically. Leave this field blank for insert requests. Corresponds to the JSON property `configId` @return [Fixnum]

config_name[RW]

The name of the config. Must be unique. Required for all requests. Corresponds to the JSON property `configName` @return [String]

creative_type[RW]

List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO. Corresponds to the JSON property `creativeType` @return [Array<String>]

dimensions[RW]

Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions. Corresponds to the JSON property `dimensions` @return [Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Dimension>]

excluded_content_labels[RW]

Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section. Corresponds to the JSON property `excludedContentLabels` @return [Array<Fixnum>]

excluded_geo_criteria_ids[RW]

Requests containing any of these geo criteria ids will not match. Corresponds to the JSON property `excludedGeoCriteriaIds` @return [Array<Fixnum>]

excluded_placements[RW]

Requests containing any of these placements will not match. Corresponds to the JSON property `excludedPlacements` @return [Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::ExcludedPlacement>]

excluded_user_lists[RW]

Requests containing any of these users list ids will not match. Corresponds to the JSON property `excludedUserLists` @return [Array<Fixnum>]

excluded_verticals[RW]

Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section. Corresponds to the JSON property `excludedVerticals` @return [Array<Fixnum>]

geo_criteria_ids[RW]

Requests containing any of these geo criteria ids will match. Corresponds to the JSON property `geoCriteriaIds` @return [Array<Fixnum>]

is_active[RW]

Whether this config is active. Required for all requests. Corresponds to the JSON property `isActive` @return [Boolean]

is_active?[RW]

Whether this config is active. Required for all requests. Corresponds to the JSON property `isActive` @return [Boolean]

kind[RW]

The kind of the resource, i.e. “adexchangebuyer#pretargetingConfig”. Corresponds to the JSON property `kind` @return [String]

languages[RW]

Request containing any of these language codes will match. Corresponds to the JSON property `languages` @return [Array<String>]

maximum_qps[RW]

The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account- level limit may still be imposed). Corresponds to the JSON property `maximumQps` @return [Fixnum]

mobile_carriers[RW]

Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section. Corresponds to the JSON property `mobileCarriers` @return [Array<Fixnum>]

mobile_devices[RW]

Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section. Corresponds to the JSON property `mobileDevices` @return [Array<Fixnum>]

mobile_operating_system_versions[RW]

Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section. Corresponds to the JSON property `mobileOperatingSystemVersions` @return [Array<Fixnum>]

placements[RW]

Requests containing any of these placements will match. Corresponds to the JSON property `placements` @return [Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Placement>]

platforms[RW]

Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET. Corresponds to the JSON property `platforms` @return [Array<String>]

supported_creative_attributes[RW]

Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section. Corresponds to the JSON property `supportedCreativeAttributes` @return [Array<Fixnum>]

user_lists[RW]

Requests containing any of these user list ids will match. Corresponds to the JSON property `userLists` @return [Array<Fixnum>]

vendor_types[RW]

Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section. Corresponds to the JSON property `vendorTypes` @return [Array<Fixnum>]

verticals[RW]

Requests containing any of these vertical ids will match. Corresponds to the JSON property `verticals` @return [Array<Fixnum>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer_v1_3/classes.rb, line 1257
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer_v1_3/classes.rb, line 1262
def update!(**args)
  @billing_id = args[:billing_id] if args.key?(:billing_id)
  @config_id = args[:config_id] if args.key?(:config_id)
  @config_name = args[:config_name] if args.key?(:config_name)
  @creative_type = args[:creative_type] if args.key?(:creative_type)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @excluded_content_labels = args[:excluded_content_labels] if args.key?(:excluded_content_labels)
  @excluded_geo_criteria_ids = args[:excluded_geo_criteria_ids] if args.key?(:excluded_geo_criteria_ids)
  @excluded_placements = args[:excluded_placements] if args.key?(:excluded_placements)
  @excluded_user_lists = args[:excluded_user_lists] if args.key?(:excluded_user_lists)
  @excluded_verticals = args[:excluded_verticals] if args.key?(:excluded_verticals)
  @geo_criteria_ids = args[:geo_criteria_ids] if args.key?(:geo_criteria_ids)
  @is_active = args[:is_active] if args.key?(:is_active)
  @kind = args[:kind] if args.key?(:kind)
  @languages = args[:languages] if args.key?(:languages)
  @maximum_qps = args[:maximum_qps] if args.key?(:maximum_qps)
  @mobile_carriers = args[:mobile_carriers] if args.key?(:mobile_carriers)
  @mobile_devices = args[:mobile_devices] if args.key?(:mobile_devices)
  @mobile_operating_system_versions = args[:mobile_operating_system_versions] if args.key?(:mobile_operating_system_versions)
  @placements = args[:placements] if args.key?(:placements)
  @platforms = args[:platforms] if args.key?(:platforms)
  @supported_creative_attributes = args[:supported_creative_attributes] if args.key?(:supported_creative_attributes)
  @user_lists = args[:user_lists] if args.key?(:user_lists)
  @vendor_types = args[:vendor_types] if args.key?(:vendor_types)
  @verticals = args[:verticals] if args.key?(:verticals)
end