diff --git a/api_names_out.yaml b/api_names_out.yaml index 98cf1526528..be5a6ed5e9e 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -163936,6 +163936,7 @@ "/dfareporting:v4/CompanionSetting/kind": kind "/dfareporting:v4/CompatibleFields": compatible_fields "/dfareporting:v4/CompatibleFields/crossDimensionReachReportCompatibleFields": cross_dimension_reach_report_compatible_fields +"/dfareporting:v4/CompatibleFields/crossMediaReachReportCompatibleFields": cross_media_reach_report_compatible_fields "/dfareporting:v4/CompatibleFields/floodlightReportCompatibleFields": floodlight_report_compatible_fields "/dfareporting:v4/CompatibleFields/kind": kind "/dfareporting:v4/CompatibleFields/pathAttributionReportCompatibleFields": path_attribution_report_compatible_fields @@ -164285,6 +164286,14 @@ "/dfareporting:v4/CrossDimensionReachReportCompatibleFields/metrics/metric": metric "/dfareporting:v4/CrossDimensionReachReportCompatibleFields/overlapMetrics": overlap_metrics "/dfareporting:v4/CrossDimensionReachReportCompatibleFields/overlapMetrics/overlap_metric": overlap_metric +"/dfareporting:v4/CrossMediaReachReportCompatibleFields": cross_media_reach_report_compatible_fields +"/dfareporting:v4/CrossMediaReachReportCompatibleFields/dimensionFilters": dimension_filters +"/dfareporting:v4/CrossMediaReachReportCompatibleFields/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v4/CrossMediaReachReportCompatibleFields/dimensions": dimensions +"/dfareporting:v4/CrossMediaReachReportCompatibleFields/dimensions/dimension": dimension +"/dfareporting:v4/CrossMediaReachReportCompatibleFields/kind": kind +"/dfareporting:v4/CrossMediaReachReportCompatibleFields/metrics": metrics +"/dfareporting:v4/CrossMediaReachReportCompatibleFields/metrics/metric": metric "/dfareporting:v4/CustomFloodlightVariable": custom_floodlight_variable "/dfareporting:v4/CustomFloodlightVariable/kind": kind "/dfareporting:v4/CustomFloodlightVariable/type": type @@ -165145,6 +165154,14 @@ "/dfareporting:v4/Report/crossDimensionReachCriteria/overlapMetricNames": overlap_metric_names "/dfareporting:v4/Report/crossDimensionReachCriteria/overlapMetricNames/overlap_metric_name": overlap_metric_name "/dfareporting:v4/Report/crossDimensionReachCriteria/pivoted": pivoted +"/dfareporting:v4/Report/crossMediaReachCriteria": cross_media_reach_criteria +"/dfareporting:v4/Report/crossMediaReachCriteria/dateRange": date_range +"/dfareporting:v4/Report/crossMediaReachCriteria/dimensionFilters": dimension_filters +"/dfareporting:v4/Report/crossMediaReachCriteria/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v4/Report/crossMediaReachCriteria/dimensions": dimensions +"/dfareporting:v4/Report/crossMediaReachCriteria/dimensions/dimension": dimension +"/dfareporting:v4/Report/crossMediaReachCriteria/metricNames": metric_names +"/dfareporting:v4/Report/crossMediaReachCriteria/metricNames/metric_name": metric_name "/dfareporting:v4/Report/delivery": delivery "/dfareporting:v4/Report/delivery/emailOwner": email_owner "/dfareporting:v4/Report/delivery/emailOwnerDeliveryType": email_owner_delivery_type @@ -165445,6 +165462,29 @@ "/dfareporting:v4/TranscodeSetting/enabledVideoFormats": enabled_video_formats "/dfareporting:v4/TranscodeSetting/enabledVideoFormats/enabled_video_format": enabled_video_format "/dfareporting:v4/TranscodeSetting/kind": kind +"/dfareporting:v4/TvCampaignDetail": tv_campaign_detail +"/dfareporting:v4/TvCampaignDetail/id": id +"/dfareporting:v4/TvCampaignDetail/kind": kind +"/dfareporting:v4/TvCampaignDetail/timepoints": timepoints +"/dfareporting:v4/TvCampaignDetail/timepoints/timepoint": timepoint +"/dfareporting:v4/TvCampaignSummariesListResponse": tv_campaign_summaries_list_response +"/dfareporting:v4/TvCampaignSummariesListResponse/kind": kind +"/dfareporting:v4/TvCampaignSummariesListResponse/tvCampaignSummaries": tv_campaign_summaries +"/dfareporting:v4/TvCampaignSummariesListResponse/tvCampaignSummaries/tv_campaign_summary": tv_campaign_summary +"/dfareporting:v4/TvCampaignSummary": tv_campaign_summary +"/dfareporting:v4/TvCampaignSummary/endDate": end_date +"/dfareporting:v4/TvCampaignSummary/grp": grp +"/dfareporting:v4/TvCampaignSummary/id": id +"/dfareporting:v4/TvCampaignSummary/impressions": impressions +"/dfareporting:v4/TvCampaignSummary/kind": kind +"/dfareporting:v4/TvCampaignSummary/name": name +"/dfareporting:v4/TvCampaignSummary/spend": spend +"/dfareporting:v4/TvCampaignSummary/startDate": start_date +"/dfareporting:v4/TvCampaignSummary/type": type +"/dfareporting:v4/TvCampaignTimepoint": tv_campaign_timepoint +"/dfareporting:v4/TvCampaignTimepoint/dateWindow": date_window +"/dfareporting:v4/TvCampaignTimepoint/spend": spend +"/dfareporting:v4/TvCampaignTimepoint/startDate": start_date "/dfareporting:v4/UniversalAdId": universal_ad_id "/dfareporting:v4/UniversalAdId/registry": registry "/dfareporting:v4/UniversalAdId/value": value @@ -166386,6 +166426,14 @@ "/dfareporting:v4/dfareporting.targetingTemplates.patch/profileId": profile_id "/dfareporting:v4/dfareporting.targetingTemplates.update": update_targeting_template "/dfareporting:v4/dfareporting.targetingTemplates.update/profileId": profile_id +"/dfareporting:v4/dfareporting.tvCampaignDetails.get": get_tv_campaign_detail +"/dfareporting:v4/dfareporting.tvCampaignDetails.get/accountId": account_id +"/dfareporting:v4/dfareporting.tvCampaignDetails.get/id": id +"/dfareporting:v4/dfareporting.tvCampaignDetails.get/profileId": profile_id +"/dfareporting:v4/dfareporting.tvCampaignSummaries.list": list_tv_campaign_summaries +"/dfareporting:v4/dfareporting.tvCampaignSummaries.list/accountId": account_id +"/dfareporting:v4/dfareporting.tvCampaignSummaries.list/name": name +"/dfareporting:v4/dfareporting.tvCampaignSummaries.list/profileId": profile_id "/dfareporting:v4/dfareporting.userProfiles.get": get_user_profile "/dfareporting:v4/dfareporting.userProfiles.get/profileId": profile_id "/dfareporting:v4/dfareporting.userProfiles.list": list_user_profiles diff --git a/generated/google-apis-dfareporting_v4/CHANGELOG.md b/generated/google-apis-dfareporting_v4/CHANGELOG.md index 241d34c24e0..1ce2f19e880 100644 --- a/generated/google-apis-dfareporting_v4/CHANGELOG.md +++ b/generated/google-apis-dfareporting_v4/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-dfareporting_v4 +### v0.18.0 (2024-09-29) + +* Regenerated from discovery document revision 20240926 + ### v0.17.0 (2024-08-25) * Regenerated from discovery document revision 20240821 diff --git a/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/classes.rb b/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/classes.rb index 817c5ffec1c..639b6cb941b 100644 --- a/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/classes.rb +++ b/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/classes.rb @@ -2085,7 +2085,8 @@ def update!(**args) end end - # Contains additional information about cart data. + # Contains additional information about cart data. This field may only be used + # when calling batchinsert; it is not supported by batchupdate. class CartData include Google::Apis::Core::Hashable @@ -2108,7 +2109,7 @@ class CartData # @return [String] attr_accessor :merchant_feed_language - # The Merchant Center ID where the items are uploaded. + # The Merchant Center ID where the items are uploaded. This is a required field. # Corresponds to the JSON property `merchantId` # @return [Fixnum] attr_accessor :merchant_id @@ -2561,7 +2562,7 @@ def update!(**args) end end - # Represents a response to the queryCompatibleFields method. + # Represents a response to the queryCompatibleFields method. Next ID: 10 class CompatibleFields include Google::Apis::Core::Hashable @@ -2571,6 +2572,12 @@ class CompatibleFields # @return [Google::Apis::DfareportingV4::CrossDimensionReachReportCompatibleFields] attr_accessor :cross_dimension_reach_report_compatible_fields + # Represents fields that are compatible to be selected for a report of type " + # CROSS_MEDIA_REACH". + # Corresponds to the JSON property `crossMediaReachReportCompatibleFields` + # @return [Google::Apis::DfareportingV4::CrossMediaReachReportCompatibleFields] + attr_accessor :cross_media_reach_report_compatible_fields + # Represents fields that are compatible to be selected for a report of type " # FlOODLIGHT". # Corresponds to the JSON property `floodlightReportCompatibleFields` @@ -2607,6 +2614,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @cross_dimension_reach_report_compatible_fields = args[:cross_dimension_reach_report_compatible_fields] if args.key?(:cross_dimension_reach_report_compatible_fields) + @cross_media_reach_report_compatible_fields = args[:cross_media_reach_report_compatible_fields] if args.key?(:cross_media_reach_report_compatible_fields) @floodlight_report_compatible_fields = args[:floodlight_report_compatible_fields] if args.key?(:floodlight_report_compatible_fields) @kind = args[:kind] if args.key?(:kind) @path_to_conversion_report_compatible_fields = args[:path_to_conversion_report_compatible_fields] if args.key?(:path_to_conversion_report_compatible_fields) @@ -2756,7 +2764,8 @@ class Conversion # @return [String] attr_accessor :ad_user_data_consent - # Contains additional information about cart data. + # Contains additional information about cart data. This field may only be used + # when calling batchinsert; it is not supported by batchupdate. # Corresponds to the JSON property `cartData` # @return [Google::Apis::DfareportingV4::CartData] attr_accessor :cart_data @@ -2768,8 +2777,7 @@ class Conversion attr_accessor :child_directed_treatment alias_method :child_directed_treatment?, :child_directed_treatment - # Custom floodlight variables. This field may only be used when calling - # batchinsert; it is not supported by batchupdate. + # Custom floodlight variables. # Corresponds to the JSON property `customVariables` # @return [Array] attr_accessor :custom_variables @@ -5003,6 +5011,48 @@ def update!(**args) end end + # Represents fields that are compatible to be selected for a report of type " + # CROSS_MEDIA_REACH". + class CrossMediaReachReportCompatibleFields + include Google::Apis::Core::Hashable + + # Dimensions which are compatible to be selected in the "dimensionFilters" + # section of the report. + # Corresponds to the JSON property `dimensionFilters` + # @return [Array] + attr_accessor :dimension_filters + + # Dimensions which are compatible to be selected in the "dimensions" section of + # the report. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # The kind of resource this is, in this case dfareporting# + # crossMediaReachReportCompatibleFields. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Metrics which are compatible to be selected in the "metricNames" section of + # the report. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @kind = args[:kind] if args.key?(:kind) + @metrics = args[:metrics] if args.key?(:metrics) + end + end + # A custom floodlight variable. This field may only be used when calling # batchinsert; it is not supported by batchupdate. class CustomFloodlightVariable @@ -5015,7 +5065,7 @@ class CustomFloodlightVariable attr_accessor :kind # The type of custom floodlight variable to supply a value for. These map to the - # "u[1-20]=" in the tags. + # "u[1-100]=" in the tags. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -10433,6 +10483,11 @@ class Report # @return [Google::Apis::DfareportingV4::Report::CrossDimensionReachCriteria] attr_accessor :cross_dimension_reach_criteria + # Optional. The report criteria for a report of type "CROSS_MEDIA_REACH". + # Corresponds to the JSON property `crossMediaReachCriteria` + # @return [Google::Apis::DfareportingV4::Report::CrossMediaReachCriteria] + attr_accessor :cross_media_reach_criteria + # The report's email delivery settings. # Corresponds to the JSON property `delivery` # @return [Google::Apis::DfareportingV4::Report::Delivery] @@ -10522,6 +10577,7 @@ def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @criteria = args[:criteria] if args.key?(:criteria) @cross_dimension_reach_criteria = args[:cross_dimension_reach_criteria] if args.key?(:cross_dimension_reach_criteria) + @cross_media_reach_criteria = args[:cross_media_reach_criteria] if args.key?(:cross_media_reach_criteria) @delivery = args[:delivery] if args.key?(:delivery) @etag = args[:etag] if args.key?(:etag) @file_name = args[:file_name] if args.key?(:file_name) @@ -10646,6 +10702,45 @@ def update!(**args) end end + # Optional. The report criteria for a report of type "CROSS_MEDIA_REACH". + class CrossMediaReachCriteria + include Google::Apis::Core::Hashable + + # Represents a date range. + # Corresponds to the JSON property `dateRange` + # @return [Google::Apis::DfareportingV4::DateRange] + attr_accessor :date_range + + # Required. The list of filters on which dimensions are filtered. Filters for + # different dimensions are ANDed, filters for the same dimension are grouped + # together and ORed. + # Corresponds to the JSON property `dimensionFilters` + # @return [Array] + attr_accessor :dimension_filters + + # Required. The list of dimensions the report should include. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # Required. The list of names of metrics the report should include. + # Corresponds to the JSON property `metricNames` + # @return [Array] + attr_accessor :metric_names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @date_range = args[:date_range] if args.key?(:date_range) + @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @metric_names = args[:metric_names] if args.key?(:metric_names) + end + end + # The report's email delivery settings. class Delivery include Google::Apis::Core::Hashable @@ -12493,6 +12588,167 @@ def update!(**args) end end + # TvCampaignDetail contains data from a TV campaign for specific start dates and + # date windows. + class TvCampaignDetail + include Google::Apis::Core::Hashable + + # ID of this TV campaign. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#tvCampaignSummary". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The timepoints of the TV campaign. + # Corresponds to the JSON property `timepoints` + # @return [Array] + attr_accessor :timepoints + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @timepoints = args[:timepoints] if args.key?(:timepoints) + end + end + + # Response message for TvCampaignSummariesService.List. + class TvCampaignSummariesListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#tvCampaignSummariesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # List of TV campaign summaries. + # Corresponds to the JSON property `tvCampaignSummaries` + # @return [Array] + attr_accessor :tv_campaign_summaries + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @tv_campaign_summaries = args[:tv_campaign_summaries] if args.key?(:tv_campaign_summaries) + end + end + + # TvCampaignSummary contains aggregate data from a TV campaign. + class TvCampaignSummary + include Google::Apis::Core::Hashable + + # The end date of the TV campaign, inclusive. A string of the format: "yyyy-MM- + # dd". + # Corresponds to the JSON property `endDate` + # @return [String] + attr_accessor :end_date + + # GRP of this TV campaign. + # Corresponds to the JSON property `grp` + # @return [Fixnum] + attr_accessor :grp + + # ID of this TV campaign. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Impressions across the entire TV campaign. + # Corresponds to the JSON property `impressions` + # @return [Fixnum] + attr_accessor :impressions + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#tvCampaignSummary". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Identifier. Name of this TV campaign. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Spend across the entire TV campaign. + # Corresponds to the JSON property `spend` + # @return [Float] + attr_accessor :spend + + # The start date of the TV campaign, inclusive. A string of the format: "yyyy-MM- + # dd". + # Corresponds to the JSON property `startDate` + # @return [String] + attr_accessor :start_date + + # "CampaignComponentType" of this TV campaign. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_date = args[:end_date] if args.key?(:end_date) + @grp = args[:grp] if args.key?(:grp) + @id = args[:id] if args.key?(:id) + @impressions = args[:impressions] if args.key?(:impressions) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @spend = args[:spend] if args.key?(:spend) + @start_date = args[:start_date] if args.key?(:start_date) + @type = args[:type] if args.key?(:type) + end + end + + # A single data point for TvCampaignDetail, which holds information about the TV + # campaign for a specific start date and date window. + class TvCampaignTimepoint + include Google::Apis::Core::Hashable + + # The date window of the timepoint. + # Corresponds to the JSON property `dateWindow` + # @return [String] + attr_accessor :date_window + + # The spend within the time range of the timepoint. + # Corresponds to the JSON property `spend` + # @return [Float] + attr_accessor :spend + + # The start date of the timepoint. A string in the format of "yyyy-MM-dd". + # Corresponds to the JSON property `startDate` + # @return [String] + attr_accessor :start_date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @date_window = args[:date_window] if args.key?(:date_window) + @spend = args[:spend] if args.key?(:spend) + @start_date = args[:start_date] if args.key?(:start_date) + end + end + # A Universal Ad ID as per the VAST 4.0 spec. Applicable to the following # creative types: INSTREAM_AUDIO, INSTREAM_VIDEO and VPAID. class UniversalAdId diff --git a/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/gem_version.rb b/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/gem_version.rb index 7d2cffdde4d..ec093e74da0 100644 --- a/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/gem_version.rb +++ b/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DfareportingV4 # Version of the google-apis-dfareporting_v4 gem - GEM_VERSION = "0.17.0" + GEM_VERSION = "0.18.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.15.1" # Revision of the discovery document this client was generated from - REVISION = "20240821" + REVISION = "20240926" end end end diff --git a/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/representations.rb b/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/representations.rb index bac76334b24..8c9dcfa27d9 100644 --- a/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/representations.rb +++ b/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/representations.rb @@ -508,6 +508,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class CrossMediaReachReportCompatibleFields + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CustomFloodlightVariable class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1165,6 +1171,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class CrossMediaReachCriteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Delivery class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1396,6 +1408,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class TvCampaignDetail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TvCampaignSummariesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TvCampaignSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TvCampaignTimepoint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class UniversalAdId class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2129,6 +2165,8 @@ class CompatibleFields class Representation < Google::Apis::Core::JsonRepresentation property :cross_dimension_reach_report_compatible_fields, as: 'crossDimensionReachReportCompatibleFields', class: Google::Apis::DfareportingV4::CrossDimensionReachReportCompatibleFields, decorator: Google::Apis::DfareportingV4::CrossDimensionReachReportCompatibleFields::Representation + property :cross_media_reach_report_compatible_fields, as: 'crossMediaReachReportCompatibleFields', class: Google::Apis::DfareportingV4::CrossMediaReachReportCompatibleFields, decorator: Google::Apis::DfareportingV4::CrossMediaReachReportCompatibleFields::Representation + property :floodlight_report_compatible_fields, as: 'floodlightReportCompatibleFields', class: Google::Apis::DfareportingV4::FloodlightReportCompatibleFields, decorator: Google::Apis::DfareportingV4::FloodlightReportCompatibleFields::Representation property :kind, as: 'kind' @@ -2672,6 +2710,19 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class CrossMediaReachReportCompatibleFields + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dimension_filters, as: 'dimensionFilters', class: Google::Apis::DfareportingV4::Dimension, decorator: Google::Apis::DfareportingV4::Dimension::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::DfareportingV4::Dimension, decorator: Google::Apis::DfareportingV4::Dimension::Representation + + property :kind, as: 'kind' + collection :metrics, as: 'metrics', class: Google::Apis::DfareportingV4::Metric, decorator: Google::Apis::DfareportingV4::Metric::Representation + + end + end + class CustomFloodlightVariable # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4056,6 +4107,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :cross_dimension_reach_criteria, as: 'crossDimensionReachCriteria', class: Google::Apis::DfareportingV4::Report::CrossDimensionReachCriteria, decorator: Google::Apis::DfareportingV4::Report::CrossDimensionReachCriteria::Representation + property :cross_media_reach_criteria, as: 'crossMediaReachCriteria', class: Google::Apis::DfareportingV4::Report::CrossMediaReachCriteria, decorator: Google::Apis::DfareportingV4::Report::CrossMediaReachCriteria::Representation + property :delivery, as: 'delivery', class: Google::Apis::DfareportingV4::Report::Delivery, decorator: Google::Apis::DfareportingV4::Report::Delivery::Representation property :etag, as: 'etag' @@ -4111,6 +4164,19 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class CrossMediaReachCriteria + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :date_range, as: 'dateRange', class: Google::Apis::DfareportingV4::DateRange, decorator: Google::Apis::DfareportingV4::DateRange::Representation + + collection :dimension_filters, as: 'dimensionFilters', class: Google::Apis::DfareportingV4::DimensionValue, decorator: Google::Apis::DfareportingV4::DimensionValue::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::DfareportingV4::SortedDimension, decorator: Google::Apis::DfareportingV4::SortedDimension::Representation + + collection :metric_names, as: 'metricNames' + end + end + class Delivery # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4596,6 +4662,49 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class TvCampaignDetail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :kind, as: 'kind' + collection :timepoints, as: 'timepoints', class: Google::Apis::DfareportingV4::TvCampaignTimepoint, decorator: Google::Apis::DfareportingV4::TvCampaignTimepoint::Representation + + end + end + + class TvCampaignSummariesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :tv_campaign_summaries, as: 'tvCampaignSummaries', class: Google::Apis::DfareportingV4::TvCampaignSummary, decorator: Google::Apis::DfareportingV4::TvCampaignSummary::Representation + + end + end + + class TvCampaignSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_date, as: 'endDate' + property :grp, :numeric_string => true, as: 'grp' + property :id, as: 'id' + property :impressions, :numeric_string => true, as: 'impressions' + property :kind, as: 'kind' + property :name, as: 'name' + property :spend, as: 'spend' + property :start_date, as: 'startDate' + property :type, as: 'type' + end + end + + class TvCampaignTimepoint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :date_window, as: 'dateWindow' + property :spend, as: 'spend' + property :start_date, as: 'startDate' + end + end + class UniversalAdId # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/service.rb b/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/service.rb index 0deabdac367..cc62f9f7356 100644 --- a/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/service.rb +++ b/generated/google-apis-dfareporting_v4/lib/google/apis/dfareporting_v4/service.rb @@ -7771,6 +7771,79 @@ def update_targeting_template(profile_id, targeting_template_object = nil, field execute_or_queue_command(command, &block) end + # Gets one TvCampaignDetail by ID. + # @param [Fixnum] profile_id + # Required. User profile ID associated with this request. + # @param [String] id + # Required. TV Campaign ID. + # @param [Fixnum] account_id + # Required. Account ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV4::TvCampaignDetail] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV4::TvCampaignDetail] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_tv_campaign_detail(profile_id, id, account_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{+profileId}/tvCampaignDetails/{+id}', options) + command.response_representation = Google::Apis::DfareportingV4::TvCampaignDetail::Representation + command.response_class = Google::Apis::DfareportingV4::TvCampaignDetail + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['accountId'] = account_id unless account_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of TV campaign summaries. + # @param [Fixnum] profile_id + # Required. User profile ID associated with this request. + # @param [Fixnum] account_id + # Required. Account ID associated with this request. + # @param [String] name + # Required. Search string to filter the list of TV campaign summaries. Matches + # any substring. Required field. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV4::TvCampaignSummariesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV4::TvCampaignSummariesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_tv_campaign_summaries(profile_id, account_id: nil, name: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{+profileId}/tvCampaignSummaries', options) + command.response_representation = Google::Apis::DfareportingV4::TvCampaignSummariesListResponse::Representation + command.response_class = Google::Apis::DfareportingV4::TvCampaignSummariesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['accountId'] = account_id unless account_id.nil? + command.query['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Gets one user profile by ID. # @param [Fixnum] profile_id # The user profile ID.