Class: Google::Apis::AdexchangebuyerV1_3::PretargetingConfig
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdexchangebuyerV1_3::PretargetingConfig
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_3/classes.rb,
 generated/google/apis/adexchangebuyer_v1_3/representations.rb,
 generated/google/apis/adexchangebuyer_v1_3/representations.rb
Defined Under Namespace
Classes: Dimension, ExcludedPlacement, Placement
Instance Attribute Summary collapse
- 
  
    
      #billing_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The id for billing purposes, provided for reference. 
- 
  
    
      #config_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The config id; generated automatically. 
- 
  
    
      #config_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the config. 
- 
  
    
      #creative_type  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO. 
- 
  
    
      #dimensions  ⇒ Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Dimension> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests which allow one of these (width, height) pairs will match. 
- 
  
    
      #excluded_content_labels  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests with any of these content labels will not match. 
- 
  
    
      #excluded_geo_criteria_ids  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests containing any of these geo criteria ids will not match. 
- 
  
    
      #excluded_placements  ⇒ Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::ExcludedPlacement> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests containing any of these placements will not match. 
- 
  
    
      #excluded_user_lists  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests containing any of these users list ids will not match. 
- 
  
    
      #excluded_verticals  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests containing any of these vertical ids will not match. 
- 
  
    
      #geo_criteria_ids  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests containing any of these geo criteria ids will match. 
- 
  
    
      #is_active  ⇒ Boolean 
    
    
      (also: #is_active?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether this config is active. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The kind of the resource, i.e. 
- 
  
    
      #languages  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Request containing any of these language codes will match. 
- 
  
    
      #mobile_carriers  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests containing any of these mobile carrier ids will match. 
- 
  
    
      #mobile_devices  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests containing any of these mobile device ids will match. 
- 
  
    
      #mobile_operating_system_versions  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests containing any of these mobile operating system version ids will match. 
- 
  
    
      #placements  ⇒ Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Placement> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests containing any of these placements will match. 
- 
  
    
      #platforms  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests matching any of these platforms will match. 
- 
  
    
      #supported_creative_attributes  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. 
- 
  
    
      #user_lists  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests containing any of these user list ids will match. 
- 
  
    
      #vendor_types  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests that allow any of these vendor ids will match. 
- 
  
    
      #verticals  ⇒ Array<Fixnum> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Requests containing any of these vertical ids will match. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PretargetingConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PretargetingConfig. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PretargetingConfig
Returns a new instance of PretargetingConfig
| 1210 1211 1212 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1210 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#billing_id ⇒ Fixnum
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
| 1084 1085 1086 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1084 def billing_id @billing_id end | 
#config_id ⇒ Fixnum
The config id; generated automatically. Leave this field blank for insert
requests.
Corresponds to the JSON property configId
| 1090 1091 1092 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1090 def config_id @config_id end | 
#config_name ⇒ String
The name of the config. Must be unique. Required for all requests.
Corresponds to the JSON property configName
| 1095 1096 1097 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1095 def config_name @config_name end | 
#creative_type ⇒ Array<String>
List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or
PRETARGETING_CREATIVE_TYPE_VIDEO.
Corresponds to the JSON property creativeType
| 1101 1102 1103 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1101 def creative_type @creative_type end | 
#dimensions ⇒ Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Dimension>
Requests which allow one of these (width, height) pairs will match. All pairs
must be supported ad dimensions.
Corresponds to the JSON property dimensions
| 1107 1108 1109 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1107 def dimensions @dimensions end | 
#excluded_content_labels ⇒ Array<Fixnum>
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
| 1113 1114 1115 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1113 def excluded_content_labels @excluded_content_labels end | 
#excluded_geo_criteria_ids ⇒ Array<Fixnum>
Requests containing any of these geo criteria ids will not match.
Corresponds to the JSON property excludedGeoCriteriaIds
| 1118 1119 1120 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1118 def excluded_geo_criteria_ids @excluded_geo_criteria_ids end | 
#excluded_placements ⇒ Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::ExcludedPlacement>
Requests containing any of these placements will not match.
Corresponds to the JSON property excludedPlacements
| 1123 1124 1125 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1123 def excluded_placements @excluded_placements end | 
#excluded_user_lists ⇒ Array<Fixnum>
Requests containing any of these users list ids will not match.
Corresponds to the JSON property excludedUserLists
| 1128 1129 1130 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1128 def excluded_user_lists @excluded_user_lists end | 
#excluded_verticals ⇒ Array<Fixnum>
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
| 1134 1135 1136 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1134 def excluded_verticals @excluded_verticals end | 
#geo_criteria_ids ⇒ Array<Fixnum>
Requests containing any of these geo criteria ids will match.
Corresponds to the JSON property geoCriteriaIds
| 1139 1140 1141 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1139 def geo_criteria_ids @geo_criteria_ids end | 
#is_active ⇒ Boolean Also known as: is_active?
Whether this config is active. Required for all requests.
Corresponds to the JSON property isActive
| 1144 1145 1146 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1144 def is_active @is_active end | 
#kind ⇒ String
The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
Corresponds to the JSON property kind
| 1150 1151 1152 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1150 def kind @kind end | 
#languages ⇒ Array<String>
Request containing any of these language codes will match.
Corresponds to the JSON property languages
| 1155 1156 1157 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1155 def languages @languages end | 
#mobile_carriers ⇒ Array<Fixnum>
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
| 1161 1162 1163 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1161 def mobile_carriers @mobile_carriers end | 
#mobile_devices ⇒ Array<Fixnum>
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
| 1167 1168 1169 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1167 def mobile_devices @mobile_devices end | 
#mobile_operating_system_versions ⇒ Array<Fixnum>
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
| 1173 1174 1175 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1173 def @mobile_operating_system_versions end | 
#placements ⇒ Array<Google::Apis::AdexchangebuyerV1_3::PretargetingConfig::Placement>
Requests containing any of these placements will match.
Corresponds to the JSON property placements
| 1178 1179 1180 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1178 def placements @placements end | 
#platforms ⇒ Array<String>
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
| 1185 1186 1187 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1185 def platforms @platforms end | 
#supported_creative_attributes ⇒ Array<Fixnum>
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
| 1192 1193 1194 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1192 def supported_creative_attributes @supported_creative_attributes end | 
#user_lists ⇒ Array<Fixnum>
Requests containing any of these user list ids will match.
Corresponds to the JSON property userLists
| 1197 1198 1199 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1197 def user_lists @user_lists end | 
#vendor_types ⇒ Array<Fixnum>
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
| 1203 1204 1205 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1203 def vendor_types @vendor_types end | 
#verticals ⇒ Array<Fixnum>
Requests containing any of these vertical ids will match.
Corresponds to the JSON property verticals
| 1208 1209 1210 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1208 def verticals @verticals end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 | # File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 1215 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 |