class Google::Apis::AdexchangebuyerV1_3::PretargetingConfig
Attributes
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 [String]
The config id; generated automatically. Leave this field blank for insert requests. Corresponds to the JSON property `configId` @return [String]
The name of the config. Must be unique. Required for all requests. Corresponds to the JSON property `configName` @return [String]
List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO. Corresponds to the JSON property `creativeType` @return [Array<String>]
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>]
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<String>]
Requests containing any of these geo criteria ids will not match. Corresponds to the JSON property `excludedGeoCriteriaIds` @return [Array<String>]
Requests containing any of these placements will not match. Corresponds to the JSON property `excludedPlacements` @return [Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::ExcludedPlacement>]
Requests containing any of these users list ids will not match. Corresponds to the JSON property `excludedUserLists` @return [Array<String>]
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<String>]
Requests containing any of these geo criteria ids will match. Corresponds to the JSON property `geoCriteriaIds` @return [Array<String>]
Whether this config is active. Required for all requests. Corresponds to the JSON property `isActive` @return [Boolean]
Whether this config is active. Required for all requests. Corresponds to the JSON property `isActive` @return [Boolean]
The kind of the resource, i.e. “adexchangebuyer#pretargetingConfig”. Corresponds to the JSON property `kind` @return [String]
Request containing any of these language codes will match. Corresponds to the JSON property `languages` @return [Array<String>]
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<String>]
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<String>]
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<String>]
Requests containing any of these placements will match. Corresponds to the JSON property `placements` @return [Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Placement>]
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>]
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<String>]
Requests containing any of these user list ids will match. Corresponds to the JSON property `userLists` @return [Array<String>]
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<String>]
Requests containing any of these vertical ids will match. Corresponds to the JSON property `verticals` @return [Array<String>]
Public Class Methods
# File generated/google/apis/adexchangebuyer_v1_3/classes.rb, line 1198 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/adexchangebuyer_v1_3/classes.rb, line 1203 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) @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