google-apis-dfareporting_v4 0.21.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1004,6 +1004,11 @@ module Google
1004
1004
  # @return [String]
1005
1005
  attr_accessor :default_email
1006
1006
 
1007
+ # Optional. Whether the advertiser plans to serve EU political ads.
1008
+ # Corresponds to the JSON property `euPoliticalAdsDeclaration`
1009
+ # @return [String]
1010
+ attr_accessor :eu_political_ads_declaration
1011
+
1007
1012
  # Floodlight configuration ID of this advertiser. The floodlight configuration
1008
1013
  # ID will be created automatically, so on insert this field should be left blank.
1009
1014
  # This field can be set to another advertiser's floodlight configuration ID in
@@ -1086,6 +1091,7 @@ module Google
1086
1091
  @click_through_url_suffix = args[:click_through_url_suffix] if args.key?(:click_through_url_suffix)
1087
1092
  @default_click_through_event_tag_id = args[:default_click_through_event_tag_id] if args.key?(:default_click_through_event_tag_id)
1088
1093
  @default_email = args[:default_email] if args.key?(:default_email)
1094
+ @eu_political_ads_declaration = args[:eu_political_ads_declaration] if args.key?(:eu_political_ads_declaration)
1089
1095
  @floodlight_configuration_id = args[:floodlight_configuration_id] if args.key?(:floodlight_configuration_id)
1090
1096
  @floodlight_configuration_id_dimension_value = args[:floodlight_configuration_id_dimension_value] if args.key?(:floodlight_configuration_id_dimension_value)
1091
1097
  @id = args[:id] if args.key?(:id)
@@ -1862,6 +1868,13 @@ module Google
1862
1868
  # @return [Date]
1863
1869
  attr_accessor :end_date
1864
1870
 
1871
+ # Optional. Whether the campaign has EU political ads. Campaign Manager 360
1872
+ # doesn't allow campaigns with EU political ads to serve in the EU. They can
1873
+ # still serve in other regions.
1874
+ # Corresponds to the JSON property `euPoliticalAdsDeclaration`
1875
+ # @return [String]
1876
+ attr_accessor :eu_political_ads_declaration
1877
+
1865
1878
  # Overrides that can be used to activate or deactivate advertiser event tags.
1866
1879
  # Corresponds to the JSON property `eventTagOverrides`
1867
1880
  # @return [Array<Google::Apis::DfareportingV4::EventTagOverride>]
@@ -1938,6 +1951,7 @@ module Google
1938
1951
  @default_click_through_event_tag_properties = args[:default_click_through_event_tag_properties] if args.key?(:default_click_through_event_tag_properties)
1939
1952
  @default_landing_page_id = args[:default_landing_page_id] if args.key?(:default_landing_page_id)
1940
1953
  @end_date = args[:end_date] if args.key?(:end_date)
1954
+ @eu_political_ads_declaration = args[:eu_political_ads_declaration] if args.key?(:eu_political_ads_declaration)
1941
1955
  @event_tag_overrides = args[:event_tag_overrides] if args.key?(:event_tag_overrides)
1942
1956
  @external_id = args[:external_id] if args.key?(:external_id)
1943
1957
  @id = args[:id] if args.key?(:id)
@@ -2758,6 +2772,93 @@ module Google
2758
2772
  end
2759
2773
  end
2760
2774
 
2775
+ # Contains the content source of the dynamic feed.
2776
+ class ContentSource
2777
+ include Google::Apis::Core::Hashable
2778
+
2779
+ # Optional. The name of the content source. It is defaulted to content source
2780
+ # file name if not provided.
2781
+ # Corresponds to the JSON property `contentSourceName`
2782
+ # @return [String]
2783
+ attr_accessor :content_source_name
2784
+
2785
+ # Modification timestamp.
2786
+ # Corresponds to the JSON property `createInfo`
2787
+ # @return [Google::Apis::DfareportingV4::LastModifiedInfo]
2788
+ attr_accessor :create_info
2789
+
2790
+ # Modification timestamp.
2791
+ # Corresponds to the JSON property `lastModifiedInfo`
2792
+ # @return [Google::Apis::DfareportingV4::LastModifiedInfo]
2793
+ attr_accessor :last_modified_info
2794
+
2795
+ # Contains the meta data of the content source. This is a read-only field.
2796
+ # Corresponds to the JSON property `metaData`
2797
+ # @return [Google::Apis::DfareportingV4::ContentSourceMetaData]
2798
+ attr_accessor :meta_data
2799
+
2800
+ # Required. The link to the file of the content source.
2801
+ # Corresponds to the JSON property `resourceLink`
2802
+ # @return [String]
2803
+ attr_accessor :resource_link
2804
+
2805
+ # Required. The resource type of the content source.
2806
+ # Corresponds to the JSON property `resourceType`
2807
+ # @return [String]
2808
+ attr_accessor :resource_type
2809
+
2810
+ def initialize(**args)
2811
+ update!(**args)
2812
+ end
2813
+
2814
+ # Update properties of this object
2815
+ def update!(**args)
2816
+ @content_source_name = args[:content_source_name] if args.key?(:content_source_name)
2817
+ @create_info = args[:create_info] if args.key?(:create_info)
2818
+ @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info)
2819
+ @meta_data = args[:meta_data] if args.key?(:meta_data)
2820
+ @resource_link = args[:resource_link] if args.key?(:resource_link)
2821
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
2822
+ end
2823
+ end
2824
+
2825
+ # Contains the meta data of the content source. This is a read-only field.
2826
+ class ContentSourceMetaData
2827
+ include Google::Apis::Core::Hashable
2828
+
2829
+ # Output only. The charset of the content source.
2830
+ # Corresponds to the JSON property `charset`
2831
+ # @return [String]
2832
+ attr_accessor :charset
2833
+
2834
+ # Output only. The list of column names in the content source.
2835
+ # Corresponds to the JSON property `fieldNames`
2836
+ # @return [Array<String>]
2837
+ attr_accessor :field_names
2838
+
2839
+ # Output only. The number of rows in the content source.
2840
+ # Corresponds to the JSON property `rowNumber`
2841
+ # @return [Fixnum]
2842
+ attr_accessor :row_number
2843
+
2844
+ # Output only. The separator of the content source.
2845
+ # Corresponds to the JSON property `separator`
2846
+ # @return [String]
2847
+ attr_accessor :separator
2848
+
2849
+ def initialize(**args)
2850
+ update!(**args)
2851
+ end
2852
+
2853
+ # Update properties of this object
2854
+ def update!(**args)
2855
+ @charset = args[:charset] if args.key?(:charset)
2856
+ @field_names = args[:field_names] if args.key?(:field_names)
2857
+ @row_number = args[:row_number] if args.key?(:row_number)
2858
+ @separator = args[:separator] if args.key?(:separator)
2859
+ end
2860
+ end
2861
+
2761
2862
  # A Conversion represents when a user successfully performs a desired action
2762
2863
  # after seeing an ad.
2763
2864
  class Conversion
@@ -5130,6 +5231,62 @@ module Google
5130
5231
  end
5131
5232
  end
5132
5233
 
5234
+ # Contains custom rule information.
5235
+ class CustomRule
5236
+ include Google::Apis::Core::Hashable
5237
+
5238
+ # Optional. Name of this custom rule.
5239
+ # Corresponds to the JSON property `name`
5240
+ # @return [String]
5241
+ attr_accessor :name
5242
+
5243
+ # Optional. Priority of the custom rule.
5244
+ # Corresponds to the JSON property `priority`
5245
+ # @return [Fixnum]
5246
+ attr_accessor :priority
5247
+
5248
+ # Optional. A list of field filter, the custom rule will apply.
5249
+ # Corresponds to the JSON property `ruleBlocks`
5250
+ # @return [Array<Google::Apis::DfareportingV4::RuleBlock>]
5251
+ attr_accessor :rule_blocks
5252
+
5253
+ def initialize(**args)
5254
+ update!(**args)
5255
+ end
5256
+
5257
+ # Update properties of this object
5258
+ def update!(**args)
5259
+ @name = args[:name] if args.key?(:name)
5260
+ @priority = args[:priority] if args.key?(:priority)
5261
+ @rule_blocks = args[:rule_blocks] if args.key?(:rule_blocks)
5262
+ end
5263
+ end
5264
+
5265
+ # Contains custom value field information.
5266
+ class CustomValueField
5267
+ include Google::Apis::Core::Hashable
5268
+
5269
+ # Optional. Field ID in the element.
5270
+ # Corresponds to the JSON property `fieldId`
5271
+ # @return [Fixnum]
5272
+ attr_accessor :field_id
5273
+
5274
+ # Optional. Custom key used to match for auto filtering.
5275
+ # Corresponds to the JSON property `requestKey`
5276
+ # @return [String]
5277
+ attr_accessor :request_key
5278
+
5279
+ def initialize(**args)
5280
+ update!(**args)
5281
+ end
5282
+
5283
+ # Update properties of this object
5284
+ def update!(**args)
5285
+ @field_id = args[:field_id] if args.key?(:field_id)
5286
+ @request_key = args[:request_key] if args.key?(:request_key)
5287
+ end
5288
+ end
5289
+
5133
5290
  # Custom Viewability Metric
5134
5291
  class CustomViewabilityMetric
5135
5292
  include Google::Apis::Core::Hashable
@@ -5401,6 +5558,31 @@ module Google
5401
5558
  end
5402
5559
  end
5403
5560
 
5561
+ # Contains dependent field value information.
5562
+ class DependentFieldValue
5563
+ include Google::Apis::Core::Hashable
5564
+
5565
+ # Optional. The ID of the element that value's field will match against.
5566
+ # Corresponds to the JSON property `elementId`
5567
+ # @return [Fixnum]
5568
+ attr_accessor :element_id
5569
+
5570
+ # Optional. The field id of the dependent field.
5571
+ # Corresponds to the JSON property `fieldId`
5572
+ # @return [Fixnum]
5573
+ attr_accessor :field_id
5574
+
5575
+ def initialize(**args)
5576
+ update!(**args)
5577
+ end
5578
+
5579
+ # Update properties of this object
5580
+ def update!(**args)
5581
+ @element_id = args[:element_id] if args.key?(:element_id)
5582
+ @field_id = args[:field_id] if args.key?(:field_id)
5583
+ end
5584
+ end
5585
+
5404
5586
  # Google Ad Manager Settings
5405
5587
  class DfpSettings
5406
5588
  include Google::Apis::Core::Hashable
@@ -5792,6 +5974,333 @@ module Google
5792
5974
  end
5793
5975
  end
5794
5976
 
5977
+ # Contains dynamic feed information.
5978
+ class DynamicFeed
5979
+ include Google::Apis::Core::Hashable
5980
+
5981
+ # Contains the content source of the dynamic feed.
5982
+ # Corresponds to the JSON property `contentSource`
5983
+ # @return [Google::Apis::DfareportingV4::ContentSource]
5984
+ attr_accessor :content_source
5985
+
5986
+ # Modification timestamp.
5987
+ # Corresponds to the JSON property `createInfo`
5988
+ # @return [Google::Apis::DfareportingV4::LastModifiedInfo]
5989
+ attr_accessor :create_info
5990
+
5991
+ # Output only. Unique ID of this dynamic feed. This is a read-only, auto-
5992
+ # generated field.
5993
+ # Corresponds to the JSON property `dynamicFeedId`
5994
+ # @return [Fixnum]
5995
+ attr_accessor :dynamic_feed_id
5996
+
5997
+ # Optional. Name of this dynamic feed. It is defaulted to content source file
5998
+ # name if not provided.
5999
+ # Corresponds to the JSON property `dynamicFeedName`
6000
+ # @return [String]
6001
+ attr_accessor :dynamic_feed_name
6002
+
6003
+ # Contains the element of the dynamic feed.
6004
+ # Corresponds to the JSON property `element`
6005
+ # @return [Google::Apis::DfareportingV4::Element]
6006
+ attr_accessor :element
6007
+
6008
+ # Contains the ingestion status of the dynamic feed. Feed ingestion is an
6009
+ # asynchronous process. If the feed create request is successful, feed ingestion
6010
+ # will be processed in the background, including validation, assets retrieval,
6011
+ # and saving the data from the resource link. The processing time is dependent
6012
+ # on the data size in the resource link. This read-only status field contains
6013
+ # the current stage of that processing and its ingestion state.
6014
+ # Corresponds to the JSON property `feedIngestionStatus`
6015
+ # @return [Google::Apis::DfareportingV4::FeedIngestionStatus]
6016
+ attr_accessor :feed_ingestion_status
6017
+
6018
+ # Contains the schedule of the dynamic feed.
6019
+ # Corresponds to the JSON property `feedSchedule`
6020
+ # @return [Google::Apis::DfareportingV4::FeedSchedule]
6021
+ attr_accessor :feed_schedule
6022
+
6023
+ # Output only. Indicates whether the dynamic feed has a published version. This
6024
+ # is a read-only field.
6025
+ # Corresponds to the JSON property `hasPublished`
6026
+ # @return [Boolean]
6027
+ attr_accessor :has_published
6028
+ alias_method :has_published?, :has_published
6029
+
6030
+ # Modification timestamp.
6031
+ # Corresponds to the JSON property `lastModifiedInfo`
6032
+ # @return [Google::Apis::DfareportingV4::LastModifiedInfo]
6033
+ attr_accessor :last_modified_info
6034
+
6035
+ # Output only. The status of the feed. It is a read-only field that depends on
6036
+ # the the feed ingestion status. The default value is INACTIVE, and it will be
6037
+ # updated to ACTIVE once the feed is ingested successfully.
6038
+ # Corresponds to the JSON property `status`
6039
+ # @return [String]
6040
+ attr_accessor :status
6041
+
6042
+ # Required. Advertiser ID of this dynamic feed. This is a required field.
6043
+ # Corresponds to the JSON property `studioAdvertiserId`
6044
+ # @return [Fixnum]
6045
+ attr_accessor :studio_advertiser_id
6046
+
6047
+ def initialize(**args)
6048
+ update!(**args)
6049
+ end
6050
+
6051
+ # Update properties of this object
6052
+ def update!(**args)
6053
+ @content_source = args[:content_source] if args.key?(:content_source)
6054
+ @create_info = args[:create_info] if args.key?(:create_info)
6055
+ @dynamic_feed_id = args[:dynamic_feed_id] if args.key?(:dynamic_feed_id)
6056
+ @dynamic_feed_name = args[:dynamic_feed_name] if args.key?(:dynamic_feed_name)
6057
+ @element = args[:element] if args.key?(:element)
6058
+ @feed_ingestion_status = args[:feed_ingestion_status] if args.key?(:feed_ingestion_status)
6059
+ @feed_schedule = args[:feed_schedule] if args.key?(:feed_schedule)
6060
+ @has_published = args[:has_published] if args.key?(:has_published)
6061
+ @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info)
6062
+ @status = args[:status] if args.key?(:status)
6063
+ @studio_advertiser_id = args[:studio_advertiser_id] if args.key?(:studio_advertiser_id)
6064
+ end
6065
+ end
6066
+
6067
+ # Dynamic profile ID is required for dynamic feed insert as the current GPA API
6068
+ # only can create a dynamic feed under profile context,even though the dynnamic
6069
+ # feed itself don't need the dynamic profile id. See go/cm3-dco-display-api-
6070
+ # interface
6071
+ class DynamicFeedsInsertRequest
6072
+ include Google::Apis::Core::Hashable
6073
+
6074
+ # Contains dynamic feed information.
6075
+ # Corresponds to the JSON property `dynamicFeed`
6076
+ # @return [Google::Apis::DfareportingV4::DynamicFeed]
6077
+ attr_accessor :dynamic_feed
6078
+
6079
+ # Required. Dynamic profile ID of the inserted dynamic feed.
6080
+ # Corresponds to the JSON property `dynamicProfileId`
6081
+ # @return [Fixnum]
6082
+ attr_accessor :dynamic_profile_id
6083
+
6084
+ def initialize(**args)
6085
+ update!(**args)
6086
+ end
6087
+
6088
+ # Update properties of this object
6089
+ def update!(**args)
6090
+ @dynamic_feed = args[:dynamic_feed] if args.key?(:dynamic_feed)
6091
+ @dynamic_profile_id = args[:dynamic_profile_id] if args.key?(:dynamic_profile_id)
6092
+ end
6093
+ end
6094
+
6095
+ # Contains dynamic profile information.
6096
+ class DynamicProfile
6097
+ include Google::Apis::Core::Hashable
6098
+
6099
+ # Contains dynamic profile version information.
6100
+ # Corresponds to the JSON property `active`
6101
+ # @return [Google::Apis::DfareportingV4::DynamicProfileVersion]
6102
+ attr_accessor :active
6103
+
6104
+ # Optional. Archive status of this dynamic profile.
6105
+ # Corresponds to the JSON property `archiveStatus`
6106
+ # @return [String]
6107
+ attr_accessor :archive_status
6108
+
6109
+ # Modification timestamp.
6110
+ # Corresponds to the JSON property `createInfo`
6111
+ # @return [Google::Apis::DfareportingV4::LastModifiedInfo]
6112
+ attr_accessor :create_info
6113
+
6114
+ # Optional. Description of this dynamic profile.
6115
+ # Corresponds to the JSON property `description`
6116
+ # @return [String]
6117
+ attr_accessor :description
6118
+
6119
+ # Contains dynamic profile version information.
6120
+ # Corresponds to the JSON property `draft`
6121
+ # @return [Google::Apis::DfareportingV4::DynamicProfileVersion]
6122
+ attr_accessor :draft
6123
+
6124
+ # Output only. Unique ID of this dynamic profile. This is a read-only, auto-
6125
+ # generated field.
6126
+ # Corresponds to the JSON property `dynamicProfileId`
6127
+ # @return [Fixnum]
6128
+ attr_accessor :dynamic_profile_id
6129
+
6130
+ # Output only. Identifies what kind of resource this is. Value: the fixed string
6131
+ # "dfareporting#dynamicProfile".
6132
+ # Corresponds to the JSON property `kind`
6133
+ # @return [String]
6134
+ attr_accessor :kind
6135
+
6136
+ # Modification timestamp.
6137
+ # Corresponds to the JSON property `lastModifiedInfo`
6138
+ # @return [Google::Apis::DfareportingV4::LastModifiedInfo]
6139
+ attr_accessor :last_modified_info
6140
+
6141
+ # Required. Identifier. Name of this dynamic profile. This is a required field
6142
+ # and must be less than 256 characters long.
6143
+ # Corresponds to the JSON property `name`
6144
+ # @return [String]
6145
+ attr_accessor :name
6146
+
6147
+ # Optional. Status of this dynamic profile.
6148
+ # Corresponds to the JSON property `status`
6149
+ # @return [String]
6150
+ attr_accessor :status
6151
+
6152
+ # Required. Advertiser ID of this dynamic profile. This is a required field on
6153
+ # insertion.
6154
+ # Corresponds to the JSON property `studioAdvertiserId`
6155
+ # @return [Fixnum]
6156
+ attr_accessor :studio_advertiser_id
6157
+
6158
+ def initialize(**args)
6159
+ update!(**args)
6160
+ end
6161
+
6162
+ # Update properties of this object
6163
+ def update!(**args)
6164
+ @active = args[:active] if args.key?(:active)
6165
+ @archive_status = args[:archive_status] if args.key?(:archive_status)
6166
+ @create_info = args[:create_info] if args.key?(:create_info)
6167
+ @description = args[:description] if args.key?(:description)
6168
+ @draft = args[:draft] if args.key?(:draft)
6169
+ @dynamic_profile_id = args[:dynamic_profile_id] if args.key?(:dynamic_profile_id)
6170
+ @kind = args[:kind] if args.key?(:kind)
6171
+ @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info)
6172
+ @name = args[:name] if args.key?(:name)
6173
+ @status = args[:status] if args.key?(:status)
6174
+ @studio_advertiser_id = args[:studio_advertiser_id] if args.key?(:studio_advertiser_id)
6175
+ end
6176
+ end
6177
+
6178
+ # Contains dynamic profile specific settings for an associated dynamic feed.
6179
+ class DynamicProfileFeedSettings
6180
+ include Google::Apis::Core::Hashable
6181
+
6182
+ # Optional. Dynamic feed ID associated with dynamic profile version.
6183
+ # Corresponds to the JSON property `dynamicFeedId`
6184
+ # @return [Fixnum]
6185
+ attr_accessor :dynamic_feed_id
6186
+
6187
+ # Contains dynamic rules information.
6188
+ # Corresponds to the JSON property `dynamicRules`
6189
+ # @return [Google::Apis::DfareportingV4::DynamicRules]
6190
+ attr_accessor :dynamic_rules
6191
+
6192
+ # Optional. The number of this dynamic feed rows needed by the dynamic profile,
6193
+ # default value is 1. Acceptable values are between 1 to 99, inclusive.
6194
+ # Corresponds to the JSON property `quantity`
6195
+ # @return [Fixnum]
6196
+ attr_accessor :quantity
6197
+
6198
+ def initialize(**args)
6199
+ update!(**args)
6200
+ end
6201
+
6202
+ # Update properties of this object
6203
+ def update!(**args)
6204
+ @dynamic_feed_id = args[:dynamic_feed_id] if args.key?(:dynamic_feed_id)
6205
+ @dynamic_rules = args[:dynamic_rules] if args.key?(:dynamic_rules)
6206
+ @quantity = args[:quantity] if args.key?(:quantity)
6207
+ end
6208
+ end
6209
+
6210
+ # Contains dynamic profile version information.
6211
+ class DynamicProfileVersion
6212
+ include Google::Apis::Core::Hashable
6213
+
6214
+ # Optional. Associated dynamic feeds and their settings (including dynamic rules)
6215
+ # for this dynamic profile version.
6216
+ # Corresponds to the JSON property `dynamicProfileFeedSettings`
6217
+ # @return [Array<Google::Apis::DfareportingV4::DynamicProfileFeedSettings>]
6218
+ attr_accessor :dynamic_profile_feed_settings
6219
+
6220
+ # Output only. Version ID of this dynamic profile version. This is a read-only,
6221
+ # auto-generated field. -1 for draft version, 0+ for published versions.
6222
+ # Corresponds to the JSON property `versionId`
6223
+ # @return [Fixnum]
6224
+ attr_accessor :version_id
6225
+
6226
+ def initialize(**args)
6227
+ update!(**args)
6228
+ end
6229
+
6230
+ # Update properties of this object
6231
+ def update!(**args)
6232
+ @dynamic_profile_feed_settings = args[:dynamic_profile_feed_settings] if args.key?(:dynamic_profile_feed_settings)
6233
+ @version_id = args[:version_id] if args.key?(:version_id)
6234
+ end
6235
+ end
6236
+
6237
+ # Contains dynamic rules information.
6238
+ class DynamicRules
6239
+ include Google::Apis::Core::Hashable
6240
+
6241
+ # Optional. List of field IDs in this element that should be auto-targeted.
6242
+ # Applicable when rule type is AUTO.
6243
+ # Corresponds to the JSON property `autoTargetedFieldIds`
6244
+ # @return [Array<Fixnum>]
6245
+ attr_accessor :auto_targeted_field_ids
6246
+
6247
+ # Optional. The custom rules of the dynamic feed, only applicable when rule type
6248
+ # is CUSTOM.
6249
+ # Corresponds to the JSON property `customRules`
6250
+ # @return [Array<Google::Apis::DfareportingV4::CustomRule>]
6251
+ attr_accessor :custom_rules
6252
+
6253
+ # Optional. Mapping between field ID and custom key that are used to match for
6254
+ # auto filtering.
6255
+ # Corresponds to the JSON property `customValueFields`
6256
+ # @return [Array<Google::Apis::DfareportingV4::CustomValueField>]
6257
+ attr_accessor :custom_value_fields
6258
+
6259
+ # Contains proximity filter information.
6260
+ # Corresponds to the JSON property `proximityFilter`
6261
+ # @return [Google::Apis::DfareportingV4::ProximityFilter]
6262
+ attr_accessor :proximity_filter
6263
+
6264
+ # Optional. The link between an element field ID and a list of user attribute
6265
+ # IDs.
6266
+ # Corresponds to the JSON property `remarketingValueAttributes`
6267
+ # @return [Array<Google::Apis::DfareportingV4::RemarketingValueAttribute>]
6268
+ attr_accessor :remarketing_value_attributes
6269
+
6270
+ # Optional. The rotation type to select from eligible rows. Rotation type only
6271
+ # apply when the filtering rule results in more than one eligible rows.
6272
+ # Corresponds to the JSON property `rotationType`
6273
+ # @return [String]
6274
+ attr_accessor :rotation_type
6275
+
6276
+ # Optional. The type of the rule, the default value is OPEN.
6277
+ # Corresponds to the JSON property `ruleType`
6278
+ # @return [String]
6279
+ attr_accessor :rule_type
6280
+
6281
+ # Optional. The field ID for the feed that will be used for weighted rotation,
6282
+ # only applicable when rotation type is WEIGHTED.
6283
+ # Corresponds to the JSON property `weightFieldId`
6284
+ # @return [Fixnum]
6285
+ attr_accessor :weight_field_id
6286
+
6287
+ def initialize(**args)
6288
+ update!(**args)
6289
+ end
6290
+
6291
+ # Update properties of this object
6292
+ def update!(**args)
6293
+ @auto_targeted_field_ids = args[:auto_targeted_field_ids] if args.key?(:auto_targeted_field_ids)
6294
+ @custom_rules = args[:custom_rules] if args.key?(:custom_rules)
6295
+ @custom_value_fields = args[:custom_value_fields] if args.key?(:custom_value_fields)
6296
+ @proximity_filter = args[:proximity_filter] if args.key?(:proximity_filter)
6297
+ @remarketing_value_attributes = args[:remarketing_value_attributes] if args.key?(:remarketing_value_attributes)
6298
+ @rotation_type = args[:rotation_type] if args.key?(:rotation_type)
6299
+ @rule_type = args[:rule_type] if args.key?(:rule_type)
6300
+ @weight_field_id = args[:weight_field_id] if args.key?(:weight_field_id)
6301
+ end
6302
+ end
6303
+
5795
6304
  # Contains properties of a dynamic targeting key. Dynamic targeting keys are
5796
6305
  # unique, user-friendly labels, created at the advertiser level in DCM, that can
5797
6306
  # be assigned to ads, creatives, and placements and used for targeting with
@@ -5828,29 +6337,114 @@ module Google
5828
6337
  update!(**args)
5829
6338
  end
5830
6339
 
5831
- # Update properties of this object
5832
- def update!(**args)
5833
- @kind = args[:kind] if args.key?(:kind)
5834
- @name = args[:name] if args.key?(:name)
5835
- @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
5836
- @object_type = args[:object_type] if args.key?(:object_type)
5837
- end
5838
- end
6340
+ # Update properties of this object
6341
+ def update!(**args)
6342
+ @kind = args[:kind] if args.key?(:kind)
6343
+ @name = args[:name] if args.key?(:name)
6344
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
6345
+ @object_type = args[:object_type] if args.key?(:object_type)
6346
+ end
6347
+ end
6348
+
6349
+ # Dynamic Targeting Key List Response
6350
+ class DynamicTargetingKeysListResponse
6351
+ include Google::Apis::Core::Hashable
6352
+
6353
+ # Dynamic targeting key collection.
6354
+ # Corresponds to the JSON property `dynamicTargetingKeys`
6355
+ # @return [Array<Google::Apis::DfareportingV4::DynamicTargetingKey>]
6356
+ attr_accessor :dynamic_targeting_keys
6357
+
6358
+ # Identifies what kind of resource this is. Value: the fixed string "
6359
+ # dfareporting#dynamicTargetingKeysListResponse".
6360
+ # Corresponds to the JSON property `kind`
6361
+ # @return [String]
6362
+ attr_accessor :kind
6363
+
6364
+ def initialize(**args)
6365
+ update!(**args)
6366
+ end
6367
+
6368
+ # Update properties of this object
6369
+ def update!(**args)
6370
+ @dynamic_targeting_keys = args[:dynamic_targeting_keys] if args.key?(:dynamic_targeting_keys)
6371
+ @kind = args[:kind] if args.key?(:kind)
6372
+ end
6373
+ end
6374
+
6375
+ # Contains the element of the dynamic feed.
6376
+ class Element
6377
+ include Google::Apis::Core::Hashable
6378
+
6379
+ # Optional. The field ID to specify the active field in the feed.
6380
+ # Corresponds to the JSON property `activeFieldId`
6381
+ # @return [Fixnum]
6382
+ attr_accessor :active_field_id
6383
+
6384
+ # Modification timestamp.
6385
+ # Corresponds to the JSON property `createInfo`
6386
+ # @return [Google::Apis::DfareportingV4::LastModifiedInfo]
6387
+ attr_accessor :create_info
6388
+
6389
+ # Optional. The field ID to specify the field that represents the default field
6390
+ # in the feed.
6391
+ # Corresponds to the JSON property `defaultFieldId`
6392
+ # @return [Fixnum]
6393
+ attr_accessor :default_field_id
6394
+
6395
+ # Optional. The name of the element. It is defaulted to resource file name if
6396
+ # not provided.
6397
+ # Corresponds to the JSON property `elementName`
6398
+ # @return [String]
6399
+ attr_accessor :element_name
6400
+
6401
+ # Optional. The field ID to specify the field that represents the end timestamp.
6402
+ # Only applicable if you're planning to use scheduling in your dynamic creative.
6403
+ # Corresponds to the JSON property `endTimestampFieldId`
6404
+ # @return [Fixnum]
6405
+ attr_accessor :end_timestamp_field_id
6406
+
6407
+ # Required. The field ID to specify the field used for uniquely identifying the
6408
+ # feed row. This is a required field.
6409
+ # Corresponds to the JSON property `externalIdFieldId`
6410
+ # @return [Fixnum]
6411
+ attr_accessor :external_id_field_id
6412
+
6413
+ # Required. The list of fields of the element. The field order and name should
6414
+ # match the meta data in the content source source.
6415
+ # Corresponds to the JSON property `feedFields`
6416
+ # @return [Array<Google::Apis::DfareportingV4::FeedField>]
6417
+ attr_accessor :feed_fields
6418
+
6419
+ # Optional. Whether the start and end timestamp is local timestamp. The default
6420
+ # value is false which means start and end timestamp is in UTC.
6421
+ # Corresponds to the JSON property `isLocalTimestamp`
6422
+ # @return [Boolean]
6423
+ attr_accessor :is_local_timestamp
6424
+ alias_method :is_local_timestamp?, :is_local_timestamp
5839
6425
 
5840
- # Dynamic Targeting Key List Response
5841
- class DynamicTargetingKeysListResponse
5842
- include Google::Apis::Core::Hashable
6426
+ # Modification timestamp.
6427
+ # Corresponds to the JSON property `lastModifiedInfo`
6428
+ # @return [Google::Apis::DfareportingV4::LastModifiedInfo]
6429
+ attr_accessor :last_modified_info
5843
6430
 
5844
- # Dynamic targeting key collection.
5845
- # Corresponds to the JSON property `dynamicTargetingKeys`
5846
- # @return [Array<Google::Apis::DfareportingV4::DynamicTargetingKey>]
5847
- attr_accessor :dynamic_targeting_keys
6431
+ # Optional. The field ID that specify field used for proximity targeting.
6432
+ # Corresponds to the JSON property `proximityTargetingFieldId`
6433
+ # @return [Fixnum]
6434
+ attr_accessor :proximity_targeting_field_id
5848
6435
 
5849
- # Identifies what kind of resource this is. Value: the fixed string "
5850
- # dfareporting#dynamicTargetingKeysListResponse".
5851
- # Corresponds to the JSON property `kind`
5852
- # @return [String]
5853
- attr_accessor :kind
6436
+ # Required. The field ID to specify the field used for dynamic reporting in
6437
+ # Campaign Manager 360.
6438
+ # Corresponds to the JSON property `reportingLabelFieldId`
6439
+ # @return [Fixnum]
6440
+ attr_accessor :reporting_label_field_id
6441
+
6442
+ # Optional. The field ID to specify the field that represents the start
6443
+ # timestamp. Only applicable if you're planning to use scheduling in your
6444
+ # dynamic creative.
6445
+ # Corresponds to the JSON property `startTimestampFieldId`
6446
+ # @return [Fixnum]
6447
+ attr_accessor :start_timestamp_field_id
5854
6448
 
5855
6449
  def initialize(**args)
5856
6450
  update!(**args)
@@ -5858,8 +6452,18 @@ module Google
5858
6452
 
5859
6453
  # Update properties of this object
5860
6454
  def update!(**args)
5861
- @dynamic_targeting_keys = args[:dynamic_targeting_keys] if args.key?(:dynamic_targeting_keys)
5862
- @kind = args[:kind] if args.key?(:kind)
6455
+ @active_field_id = args[:active_field_id] if args.key?(:active_field_id)
6456
+ @create_info = args[:create_info] if args.key?(:create_info)
6457
+ @default_field_id = args[:default_field_id] if args.key?(:default_field_id)
6458
+ @element_name = args[:element_name] if args.key?(:element_name)
6459
+ @end_timestamp_field_id = args[:end_timestamp_field_id] if args.key?(:end_timestamp_field_id)
6460
+ @external_id_field_id = args[:external_id_field_id] if args.key?(:external_id_field_id)
6461
+ @feed_fields = args[:feed_fields] if args.key?(:feed_fields)
6462
+ @is_local_timestamp = args[:is_local_timestamp] if args.key?(:is_local_timestamp)
6463
+ @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info)
6464
+ @proximity_targeting_field_id = args[:proximity_targeting_field_id] if args.key?(:proximity_targeting_field_id)
6465
+ @reporting_label_field_id = args[:reporting_label_field_id] if args.key?(:reporting_label_field_id)
6466
+ @start_timestamp_field_id = args[:start_timestamp_field_id] if args.key?(:start_timestamp_field_id)
5863
6467
  end
5864
6468
  end
5865
6469
 
@@ -6098,6 +6702,262 @@ module Google
6098
6702
  end
6099
6703
  end
6100
6704
 
6705
+ # Each field of the element. This is a required field.
6706
+ class FeedField
6707
+ include Google::Apis::Core::Hashable
6708
+
6709
+ # Optional. The default value of the field.
6710
+ # Corresponds to the JSON property `defaultValue`
6711
+ # @return [String]
6712
+ attr_accessor :default_value
6713
+
6714
+ # Optional. Whether the field is filterable. Could be set as true when the field
6715
+ # type is any of the following and is not renderable: - STRING - BOOL -
6716
+ # COUNTRY_CODE_ISO - CM360_SITE_ID - CM360_KEYWORD - CM360_CREATIVE_ID -
6717
+ # CM360_PLACEMENT_ID - CM360_AD_ID - CM360_ADVERTISER_ID - CM360_CAMPAIGN_ID -
6718
+ # CITY - REGION - POSTAL_CODE - METRO - CUSTOM_VALUE - REMARKETING_VALUE -
6719
+ # GEO_CANONICAL - STRING_LIST - CREATIVE_DIMENSION - USERLIST_ID -
6720
+ # CM360_DYNAMIC_TARGETING_KEY - DV360_LINE_ITEM_ID
6721
+ # Corresponds to the JSON property `filterable`
6722
+ # @return [Boolean]
6723
+ attr_accessor :filterable
6724
+ alias_method :filterable?, :filterable
6725
+
6726
+ # Required. The ID of the field. The ID is based on the column index starting
6727
+ # from 0, and it should match the column index in the resource link.
6728
+ # Corresponds to the JSON property `id`
6729
+ # @return [Fixnum]
6730
+ attr_accessor :id
6731
+
6732
+ # Required. The name of the field.
6733
+ # Corresponds to the JSON property `name`
6734
+ # @return [String]
6735
+ attr_accessor :name
6736
+
6737
+ # Optional. Whether the field is able to display. Could be set as true when the
6738
+ # field type is not in any of the following and the field is not filterable: -
6739
+ # COUNTRY_CODE_ISO - CITY - REGION - POSTAL_CODE - METRO - GEO_CANONICAL -
6740
+ # USERLIST_ID - CONTEXTUAL_KEYWORD - CM360_DYNAMIC_TARGETING_KEY - WEIGHT
6741
+ # Corresponds to the JSON property `renderable`
6742
+ # @return [Boolean]
6743
+ attr_accessor :renderable
6744
+ alias_method :renderable?, :renderable
6745
+
6746
+ # Optional. Whether the field is required and should not be empty in the feed.
6747
+ # Could be set as true when the field type is any of the following: -
6748
+ # GPA_SERVED_IMAGE_URL - GPA_SERVED_ASSET_URL - ASSET_LIBRARY_HANDLE -
6749
+ # ASSET_LIBRARY_VIDEO_HANDLE - ASSET_LIBRARY_DIRECTORY_HANDLE
6750
+ # Corresponds to the JSON property `required`
6751
+ # @return [Boolean]
6752
+ attr_accessor :required
6753
+ alias_method :required?, :required
6754
+
6755
+ # Required. The type of the field.
6756
+ # Corresponds to the JSON property `type`
6757
+ # @return [String]
6758
+ attr_accessor :type
6759
+
6760
+ def initialize(**args)
6761
+ update!(**args)
6762
+ end
6763
+
6764
+ # Update properties of this object
6765
+ def update!(**args)
6766
+ @default_value = args[:default_value] if args.key?(:default_value)
6767
+ @filterable = args[:filterable] if args.key?(:filterable)
6768
+ @id = args[:id] if args.key?(:id)
6769
+ @name = args[:name] if args.key?(:name)
6770
+ @renderable = args[:renderable] if args.key?(:renderable)
6771
+ @required = args[:required] if args.key?(:required)
6772
+ @type = args[:type] if args.key?(:type)
6773
+ end
6774
+ end
6775
+
6776
+ # Contains the ingestion status of the dynamic feed. Feed ingestion is an
6777
+ # asynchronous process. If the feed create request is successful, feed ingestion
6778
+ # will be processed in the background, including validation, assets retrieval,
6779
+ # and saving the data from the resource link. The processing time is dependent
6780
+ # on the data size in the resource link. This read-only status field contains
6781
+ # the current stage of that processing and its ingestion state.
6782
+ class FeedIngestionStatus
6783
+ include Google::Apis::Core::Hashable
6784
+
6785
+ # Output only. The ingestion error records of the feed.
6786
+ # Corresponds to the JSON property `ingestionErrorRecords`
6787
+ # @return [Array<Google::Apis::DfareportingV4::IngestionErrorRecord>]
6788
+ attr_accessor :ingestion_error_records
6789
+
6790
+ # Contains the ingestion status of the dynamic feed.
6791
+ # Corresponds to the JSON property `ingestionStatus`
6792
+ # @return [Google::Apis::DfareportingV4::IngestionStatus]
6793
+ attr_accessor :ingestion_status
6794
+
6795
+ # Output only. The processing state of the feed.
6796
+ # Corresponds to the JSON property `state`
6797
+ # @return [String]
6798
+ attr_accessor :state
6799
+
6800
+ def initialize(**args)
6801
+ update!(**args)
6802
+ end
6803
+
6804
+ # Update properties of this object
6805
+ def update!(**args)
6806
+ @ingestion_error_records = args[:ingestion_error_records] if args.key?(:ingestion_error_records)
6807
+ @ingestion_status = args[:ingestion_status] if args.key?(:ingestion_status)
6808
+ @state = args[:state] if args.key?(:state)
6809
+ end
6810
+ end
6811
+
6812
+ # Contains the schedule of the dynamic feed.
6813
+ class FeedSchedule
6814
+ include Google::Apis::Core::Hashable
6815
+
6816
+ # Optional. The number of times the feed retransforms within one day. This is a
6817
+ # required field if the schedule is enabled. Acceptable values are between 1 to
6818
+ # 6, inclusive.
6819
+ # Corresponds to the JSON property `repeatValue`
6820
+ # @return [Fixnum]
6821
+ attr_accessor :repeat_value
6822
+
6823
+ # Optional. Whether the schedule is enabled.
6824
+ # Corresponds to the JSON property `scheduleEnabled`
6825
+ # @return [Boolean]
6826
+ attr_accessor :schedule_enabled
6827
+ alias_method :schedule_enabled?, :schedule_enabled
6828
+
6829
+ # Optional. The hour of the day to start the feed. It is applicable if the
6830
+ # repeat value is equal to 1. Default value is 0.
6831
+ # Corresponds to the JSON property `startHour`
6832
+ # @return [String]
6833
+ attr_accessor :start_hour
6834
+
6835
+ # Optional. The minute of the hour to start the feed. It is applicable if the
6836
+ # repeat value is equal to 1. Default value is 0.
6837
+ # Corresponds to the JSON property `startMinute`
6838
+ # @return [String]
6839
+ attr_accessor :start_minute
6840
+
6841
+ # Optional. The time zone to schedule the feed. It is applicable if the repeat
6842
+ # value is equal to 1. Default value is "America/Los_Angeles".
6843
+ # Corresponds to the JSON property `timeZone`
6844
+ # @return [String]
6845
+ attr_accessor :time_zone
6846
+
6847
+ def initialize(**args)
6848
+ update!(**args)
6849
+ end
6850
+
6851
+ # Update properties of this object
6852
+ def update!(**args)
6853
+ @repeat_value = args[:repeat_value] if args.key?(:repeat_value)
6854
+ @schedule_enabled = args[:schedule_enabled] if args.key?(:schedule_enabled)
6855
+ @start_hour = args[:start_hour] if args.key?(:start_hour)
6856
+ @start_minute = args[:start_minute] if args.key?(:start_minute)
6857
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
6858
+ end
6859
+ end
6860
+
6861
+ # Contains the field error of the dynamic feed.
6862
+ class FieldError
6863
+ include Google::Apis::Core::Hashable
6864
+
6865
+ # Output only. The ID of the field.
6866
+ # Corresponds to the JSON property `fieldId`
6867
+ # @return [Fixnum]
6868
+ attr_accessor :field_id
6869
+
6870
+ # Output only. The name of the field.
6871
+ # Corresponds to the JSON property `fieldName`
6872
+ # @return [String]
6873
+ attr_accessor :field_name
6874
+
6875
+ # Output only. The list of values of the field.
6876
+ # Corresponds to the JSON property `fieldValues`
6877
+ # @return [Array<String>]
6878
+ attr_accessor :field_values
6879
+
6880
+ # Output only. The ingestion error of the field.
6881
+ # Corresponds to the JSON property `ingestionError`
6882
+ # @return [String]
6883
+ attr_accessor :ingestion_error
6884
+
6885
+ # Output only. Incidcates whether the field has error or warning.
6886
+ # Corresponds to the JSON property `isError`
6887
+ # @return [Boolean]
6888
+ attr_accessor :is_error
6889
+ alias_method :is_error?, :is_error
6890
+
6891
+ def initialize(**args)
6892
+ update!(**args)
6893
+ end
6894
+
6895
+ # Update properties of this object
6896
+ def update!(**args)
6897
+ @field_id = args[:field_id] if args.key?(:field_id)
6898
+ @field_name = args[:field_name] if args.key?(:field_name)
6899
+ @field_values = args[:field_values] if args.key?(:field_values)
6900
+ @ingestion_error = args[:ingestion_error] if args.key?(:ingestion_error)
6901
+ @is_error = args[:is_error] if args.key?(:is_error)
6902
+ end
6903
+ end
6904
+
6905
+ # Contains field filter information.
6906
+ class FieldFilter
6907
+ include Google::Apis::Core::Hashable
6908
+
6909
+ # Optional. The boolean values, only applicable when rhs_value_type is BOOL.
6910
+ # Corresponds to the JSON property `boolValue`
6911
+ # @return [Boolean]
6912
+ attr_accessor :bool_value
6913
+ alias_method :bool_value?, :bool_value
6914
+
6915
+ # Contains dependent field value information.
6916
+ # Corresponds to the JSON property `dependentFieldValue`
6917
+ # @return [Google::Apis::DfareportingV4::DependentFieldValue]
6918
+ attr_accessor :dependent_field_value
6919
+
6920
+ # Optional. The field ID on the left hand side of the expression.
6921
+ # Corresponds to the JSON property `fieldId`
6922
+ # @return [Fixnum]
6923
+ attr_accessor :field_id
6924
+
6925
+ # Optional. Left hand side of the expression match type.
6926
+ # Corresponds to the JSON property `matchType`
6927
+ # @return [String]
6928
+ attr_accessor :match_type
6929
+
6930
+ # Contains request value information.
6931
+ # Corresponds to the JSON property `requestValue`
6932
+ # @return [Google::Apis::DfareportingV4::RequestValue]
6933
+ attr_accessor :request_value
6934
+
6935
+ # Optional. The string value, only applicable when rhs_value_type is STRING.
6936
+ # Corresponds to the JSON property `stringValue`
6937
+ # @return [String]
6938
+ attr_accessor :string_value
6939
+
6940
+ # Optional. Right hand side of the expression.
6941
+ # Corresponds to the JSON property `valueType`
6942
+ # @return [String]
6943
+ attr_accessor :value_type
6944
+
6945
+ def initialize(**args)
6946
+ update!(**args)
6947
+ end
6948
+
6949
+ # Update properties of this object
6950
+ def update!(**args)
6951
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
6952
+ @dependent_field_value = args[:dependent_field_value] if args.key?(:dependent_field_value)
6953
+ @field_id = args[:field_id] if args.key?(:field_id)
6954
+ @match_type = args[:match_type] if args.key?(:match_type)
6955
+ @request_value = args[:request_value] if args.key?(:request_value)
6956
+ @string_value = args[:string_value] if args.key?(:string_value)
6957
+ @value_type = args[:value_type] if args.key?(:value_type)
6958
+ end
6959
+ end
6960
+
6101
6961
  # Represents a File resource. A file contains the metadata for a report run. It
6102
6962
  # shows the status of the run and holds the URLs to the generated report data if
6103
6963
  # the run is finished and the status is "REPORT_AVAILABLE".
@@ -7113,6 +7973,75 @@ module Google
7113
7973
  end
7114
7974
  end
7115
7975
 
7976
+ # Contains the ingestion error record of the dynamic feed. limited to 100
7977
+ # records.
7978
+ class IngestionErrorRecord
7979
+ include Google::Apis::Core::Hashable
7980
+
7981
+ # Output only. The list of field errors of the ingestion error record.
7982
+ # Corresponds to the JSON property `errors`
7983
+ # @return [Array<Google::Apis::DfareportingV4::FieldError>]
7984
+ attr_accessor :errors
7985
+
7986
+ # Output only. The record ID of the ingestion error record.
7987
+ # Corresponds to the JSON property `recordId`
7988
+ # @return [String]
7989
+ attr_accessor :record_id
7990
+
7991
+ def initialize(**args)
7992
+ update!(**args)
7993
+ end
7994
+
7995
+ # Update properties of this object
7996
+ def update!(**args)
7997
+ @errors = args[:errors] if args.key?(:errors)
7998
+ @record_id = args[:record_id] if args.key?(:record_id)
7999
+ end
8000
+ end
8001
+
8002
+ # Contains the ingestion status of the dynamic feed.
8003
+ class IngestionStatus
8004
+ include Google::Apis::Core::Hashable
8005
+
8006
+ # Output only. The number of active rows in the feed.
8007
+ # Corresponds to the JSON property `numActiveRows`
8008
+ # @return [Fixnum]
8009
+ attr_accessor :num_active_rows
8010
+
8011
+ # Output only. The number of rows processed in the feed.
8012
+ # Corresponds to the JSON property `numRowsProcessed`
8013
+ # @return [Fixnum]
8014
+ attr_accessor :num_rows_processed
8015
+
8016
+ # Output only. The total number of rows in the feed.
8017
+ # Corresponds to the JSON property `numRowsTotal`
8018
+ # @return [Fixnum]
8019
+ attr_accessor :num_rows_total
8020
+
8021
+ # Output only. The number of rows with errors in the feed.
8022
+ # Corresponds to the JSON property `numRowsWithErrors`
8023
+ # @return [Fixnum]
8024
+ attr_accessor :num_rows_with_errors
8025
+
8026
+ # Output only. The total number of warnings in the feed.
8027
+ # Corresponds to the JSON property `numWarningsTotal`
8028
+ # @return [Fixnum]
8029
+ attr_accessor :num_warnings_total
8030
+
8031
+ def initialize(**args)
8032
+ update!(**args)
8033
+ end
8034
+
8035
+ # Update properties of this object
8036
+ def update!(**args)
8037
+ @num_active_rows = args[:num_active_rows] if args.key?(:num_active_rows)
8038
+ @num_rows_processed = args[:num_rows_processed] if args.key?(:num_rows_processed)
8039
+ @num_rows_total = args[:num_rows_total] if args.key?(:num_rows_total)
8040
+ @num_rows_with_errors = args[:num_rows_with_errors] if args.key?(:num_rows_with_errors)
8041
+ @num_warnings_total = args[:num_warnings_total] if args.key?(:num_warnings_total)
8042
+ end
8043
+ end
8044
+
7116
8045
  # Represents a buy from the Planning inventory store.
7117
8046
  class InventoryItem
7118
8047
  include Google::Apis::Core::Hashable
@@ -10141,6 +11070,43 @@ module Google
10141
11070
  end
10142
11071
  end
10143
11072
 
11073
+ # Contains proximity filter information.
11074
+ class ProximityFilter
11075
+ include Google::Apis::Core::Hashable
11076
+
11077
+ # Optional. Field ID in the element.
11078
+ # Corresponds to the JSON property `fieldId`
11079
+ # @return [Fixnum]
11080
+ attr_accessor :field_id
11081
+
11082
+ # Optional. The radius bucket type of the proximity filter
11083
+ # Corresponds to the JSON property `radiusBucketType`
11084
+ # @return [String]
11085
+ attr_accessor :radius_bucket_type
11086
+
11087
+ # Optional. The units of the radius value
11088
+ # Corresponds to the JSON property `radiusUnitType`
11089
+ # @return [String]
11090
+ attr_accessor :radius_unit_type
11091
+
11092
+ # Optional. Radius length in units defined by radius_units.
11093
+ # Corresponds to the JSON property `radiusValue`
11094
+ # @return [Fixnum]
11095
+ attr_accessor :radius_value
11096
+
11097
+ def initialize(**args)
11098
+ update!(**args)
11099
+ end
11100
+
11101
+ # Update properties of this object
11102
+ def update!(**args)
11103
+ @field_id = args[:field_id] if args.key?(:field_id)
11104
+ @radius_bucket_type = args[:radius_bucket_type] if args.key?(:radius_bucket_type)
11105
+ @radius_unit_type = args[:radius_unit_type] if args.key?(:radius_unit_type)
11106
+ @radius_value = args[:radius_value] if args.key?(:radius_value)
11107
+ end
11108
+ end
11109
+
10144
11110
  # Represents fields that are compatible to be selected for a report of type "
10145
11111
  # REACH".
10146
11112
  class ReachReportCompatibleFields
@@ -10480,6 +11446,31 @@ module Google
10480
11446
  end
10481
11447
  end
10482
11448
 
11449
+ # Contains remarketing value attribute information.
11450
+ class RemarketingValueAttribute
11451
+ include Google::Apis::Core::Hashable
11452
+
11453
+ # Optional. Field ID in the element.
11454
+ # Corresponds to the JSON property `fieldId`
11455
+ # @return [Fixnum]
11456
+ attr_accessor :field_id
11457
+
11458
+ # Optional. Remarketing user attribute IDs for auto filtering.
11459
+ # Corresponds to the JSON property `userAttributeIds`
11460
+ # @return [Array<Fixnum>]
11461
+ attr_accessor :user_attribute_ids
11462
+
11463
+ def initialize(**args)
11464
+ update!(**args)
11465
+ end
11466
+
11467
+ # Update properties of this object
11468
+ def update!(**args)
11469
+ @field_id = args[:field_id] if args.key?(:field_id)
11470
+ @user_attribute_ids = args[:user_attribute_ids] if args.key?(:user_attribute_ids)
11471
+ end
11472
+ end
11473
+
10483
11474
  # Represents a Report resource.
10484
11475
  class Report
10485
11476
  include Google::Apis::Core::Hashable
@@ -11317,6 +12308,40 @@ module Google
11317
12308
  end
11318
12309
  end
11319
12310
 
12311
+ # Contains request value information.
12312
+ class RequestValue
12313
+ include Google::Apis::Core::Hashable
12314
+
12315
+ # Optional. User attribute IDs in the request that should be excluded. Used only
12316
+ # when the field type is REMARKETING_VALUE or USER_ATTRIBUTE_ID.
12317
+ # Corresponds to the JSON property `excludeFromUserAttributeIds`
12318
+ # @return [Array<Fixnum>]
12319
+ attr_accessor :exclude_from_user_attribute_ids
12320
+
12321
+ # Optional. Custom key in the request. Used only when the field type is
12322
+ # CUSTOM_VALUE.
12323
+ # Corresponds to the JSON property `key`
12324
+ # @return [String]
12325
+ attr_accessor :key
12326
+
12327
+ # Optional. User attribute IDs in the request. Used only when the field type is
12328
+ # REMARKETING_VALUE or USER_ATTRIBUTE_ID.
12329
+ # Corresponds to the JSON property `userAttributeIds`
12330
+ # @return [Array<Fixnum>]
12331
+ attr_accessor :user_attribute_ids
12332
+
12333
+ def initialize(**args)
12334
+ update!(**args)
12335
+ end
12336
+
12337
+ # Update properties of this object
12338
+ def update!(**args)
12339
+ @exclude_from_user_attribute_ids = args[:exclude_from_user_attribute_ids] if args.key?(:exclude_from_user_attribute_ids)
12340
+ @key = args[:key] if args.key?(:key)
12341
+ @user_attribute_ids = args[:user_attribute_ids] if args.key?(:user_attribute_ids)
12342
+ end
12343
+ end
12344
+
11320
12345
  # Rich Media Exit Override.
11321
12346
  class RichMediaExitOverride
11322
12347
  include Google::Apis::Core::Hashable
@@ -11385,6 +12410,25 @@ module Google
11385
12410
  end
11386
12411
  end
11387
12412
 
12413
+ # Contains a list of field filters that the given custom rule will apply.
12414
+ class RuleBlock
12415
+ include Google::Apis::Core::Hashable
12416
+
12417
+ # Optional. A list of non-auto field filters
12418
+ # Corresponds to the JSON property `fieldFilter`
12419
+ # @return [Array<Google::Apis::DfareportingV4::FieldFilter>]
12420
+ attr_accessor :field_filter
12421
+
12422
+ def initialize(**args)
12423
+ update!(**args)
12424
+ end
12425
+
12426
+ # Update properties of this object
12427
+ def update!(**args)
12428
+ @field_filter = args[:field_filter] if args.key?(:field_filter)
12429
+ end
12430
+ end
12431
+
11388
12432
  # Contains properties of a site.
11389
12433
  class Site
11390
12434
  include Google::Apis::Core::Hashable