From d39f5ad134ccd8df88cfed9f32e6750175fd3c92 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 2 Nov 2025 09:42:59 +0000 Subject: [PATCH] feat: Automated regeneration of dfareporting v5 client --- api_names_out.yaml | 7 +++ .../google-apis-dfareporting_v5/CHANGELOG.md | 4 ++ .../google/apis/dfareporting_v5/classes.rb | 56 ++++++++++++++++++- .../apis/dfareporting_v5/gem_version.rb | 4 +- .../apis/dfareporting_v5/representations.rb | 31 ++++++++++ 5 files changed, 98 insertions(+), 4 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index aaa6bc0c3d0..8e8f2918f37 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -190244,6 +190244,7 @@ "/dfareporting:v5/Ad/clickThroughUrlSuffixProperties": click_through_url_suffix_properties "/dfareporting:v5/Ad/comments": comments "/dfareporting:v5/Ad/compatibility": compatibility +"/dfareporting:v5/Ad/contextualKeywordTargeting": contextual_keyword_targeting "/dfareporting:v5/Ad/createInfo": create_info "/dfareporting:v5/Ad/creativeGroupAssignments": creative_group_assignments "/dfareporting:v5/Ad/creativeGroupAssignments/creative_group_assignment": creative_group_assignment @@ -190549,6 +190550,11 @@ "/dfareporting:v5/ContentSourceMetaData/fieldNames/field_name": field_name "/dfareporting:v5/ContentSourceMetaData/rowNumber": row_number "/dfareporting:v5/ContentSourceMetaData/separator": separator +"/dfareporting:v5/ContextualKeyword": contextual_keyword +"/dfareporting:v5/ContextualKeyword/keyword": keyword +"/dfareporting:v5/ContextualKeywordTargeting": contextual_keyword_targeting +"/dfareporting:v5/ContextualKeywordTargeting/keywords": keywords +"/dfareporting:v5/ContextualKeywordTargeting/keywords/keyword": keyword "/dfareporting:v5/Conversion": conversion "/dfareporting:v5/Conversion/adUserDataConsent": ad_user_data_consent "/dfareporting:v5/Conversion/cartData": cart_data @@ -191982,6 +191988,7 @@ "/dfareporting:v5/TargetingTemplate/accountId": account_id "/dfareporting:v5/TargetingTemplate/advertiserId": advertiser_id "/dfareporting:v5/TargetingTemplate/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v5/TargetingTemplate/contextualKeywordTargeting": contextual_keyword_targeting "/dfareporting:v5/TargetingTemplate/dayPartTargeting": day_part_targeting "/dfareporting:v5/TargetingTemplate/geoTargeting": geo_targeting "/dfareporting:v5/TargetingTemplate/id": id diff --git a/generated/google-apis-dfareporting_v5/CHANGELOG.md b/generated/google-apis-dfareporting_v5/CHANGELOG.md index 8c4d4019570..798a65d3016 100644 --- a/generated/google-apis-dfareporting_v5/CHANGELOG.md +++ b/generated/google-apis-dfareporting_v5/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-dfareporting_v5 +### v0.4.0 (2025-11-02) + +* Regenerated from discovery document revision 20251023 + ### v0.3.0 (2025-10-19) * Regenerated from discovery document revision 20251009 diff --git a/generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/classes.rb b/generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/classes.rb index 6b4d55b0b36..bb2b3fe6611 100644 --- a/generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/classes.rb +++ b/generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/classes.rb @@ -650,6 +650,11 @@ class Ad # @return [String] attr_accessor :compatibility + # Contextual Keyword Targeting. + # Corresponds to the JSON property `contextualKeywordTargeting` + # @return [Google::Apis::DfareportingV5::ContextualKeywordTargeting] + attr_accessor :contextual_keyword_targeting + # Modification timestamp. # Corresponds to the JSON property `createInfo` # @return [Google::Apis::DfareportingV5::LastModifiedInfo] @@ -820,6 +825,7 @@ def update!(**args) @click_through_url_suffix_properties = args[:click_through_url_suffix_properties] if args.key?(:click_through_url_suffix_properties) @comments = args[:comments] if args.key?(:comments) @compatibility = args[:compatibility] if args.key?(:compatibility) + @contextual_keyword_targeting = args[:contextual_keyword_targeting] if args.key?(:contextual_keyword_targeting) @create_info = args[:create_info] if args.key?(:create_info) @creative_group_assignments = args[:creative_group_assignments] if args.key?(:creative_group_assignments) @creative_rotation = args[:creative_rotation] if args.key?(:creative_rotation) @@ -2793,6 +2799,44 @@ def update!(**args) end end + # Contains information about a Contextual Keyword that can be targeted by ads. + class ContextualKeyword + include Google::Apis::Core::Hashable + + # The keyword that can be targeted by ads. + # Corresponds to the JSON property `keyword` + # @return [String] + attr_accessor :keyword + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @keyword = args[:keyword] if args.key?(:keyword) + end + end + + # Contextual Keyword Targeting. + class ContextualKeywordTargeting + include Google::Apis::Core::Hashable + + # Contextual keywords that this ad targets + # Corresponds to the JSON property `keywords` + # @return [Array] + attr_accessor :keywords + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @keywords = args[:keywords] if args.key?(:keywords) + end + end + # A Conversion represents when a user successfully performs a desired action # after seeing an ad. class Conversion @@ -9269,7 +9313,8 @@ class Placement # DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, # TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * # `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, - # Teads * `21`, Quantcast * `22`, Cognitiv + # Teads * `21`, Quantcast * `22`, Cognitiv * `23`, AdTheorent * `24`, DeepIntent + # * `25`, Pulsepoint # Corresponds to the JSON property `adServingPlatformId` # @return [Fixnum] attr_accessor :ad_serving_platform_id @@ -11637,7 +11682,8 @@ class Site # Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`, # The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global * # `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`, - # Quantcast * `22`, Cognitiv + # Quantcast * `22`, Cognitiv * `23`, AdTheorent * `24`, DeepIntent * `25`, + # Pulsepoint # Corresponds to the JSON property `adServingPlatformId` # @return [Fixnum] attr_accessor :ad_serving_platform_id @@ -12815,6 +12861,11 @@ class TargetingTemplate # @return [Google::Apis::DfareportingV5::DimensionValue] attr_accessor :advertiser_id_dimension_value + # Contextual Keyword Targeting. + # Corresponds to the JSON property `contextualKeywordTargeting` + # @return [Google::Apis::DfareportingV5::ContextualKeywordTargeting] + attr_accessor :contextual_keyword_targeting + # Day Part Targeting. # Corresponds to the JSON property `dayPartTargeting` # @return [Google::Apis::DfareportingV5::DayPartTargeting] @@ -12877,6 +12928,7 @@ def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @contextual_keyword_targeting = args[:contextual_keyword_targeting] if args.key?(:contextual_keyword_targeting) @day_part_targeting = args[:day_part_targeting] if args.key?(:day_part_targeting) @geo_targeting = args[:geo_targeting] if args.key?(:geo_targeting) @id = args[:id] if args.key?(:id) diff --git a/generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/gem_version.rb b/generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/gem_version.rb index 96f4569c38c..7a2f6778012 100644 --- a/generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/gem_version.rb +++ b/generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DfareportingV5 # Version of the google-apis-dfareporting_v5 gem - GEM_VERSION = "0.3.0" + GEM_VERSION = "0.4.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251009" + REVISION = "20251023" end end end diff --git a/generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/representations.rb b/generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/representations.rb index 700188d80b0..bfa8d27d3ff 100644 --- a/generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/representations.rb +++ b/generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/representations.rb @@ -340,6 +340,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ContextualKeyword + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ContextualKeywordTargeting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Conversion class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1781,6 +1793,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :comments, as: 'comments' property :compatibility, as: 'compatibility' + property :contextual_keyword_targeting, as: 'contextualKeywordTargeting', class: Google::Apis::DfareportingV5::ContextualKeywordTargeting, decorator: Google::Apis::DfareportingV5::ContextualKeywordTargeting::Representation + property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV5::LastModifiedInfo, decorator: Google::Apis::DfareportingV5::LastModifiedInfo::Representation collection :creative_group_assignments, as: 'creativeGroupAssignments', class: Google::Apis::DfareportingV5::CreativeGroupAssignment, decorator: Google::Apis::DfareportingV5::CreativeGroupAssignment::Representation @@ -2338,6 +2352,21 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class ContextualKeyword + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :keyword, as: 'keyword' + end + end + + class ContextualKeywordTargeting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :keywords, as: 'keywords', class: Google::Apis::DfareportingV5::ContextualKeyword, decorator: Google::Apis::DfareportingV5::ContextualKeyword::Representation + + end + end + class Conversion # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4848,6 +4877,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :advertiser_id, :numeric_string => true, as: 'advertiserId' property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV5::DimensionValue, decorator: Google::Apis::DfareportingV5::DimensionValue::Representation + property :contextual_keyword_targeting, as: 'contextualKeywordTargeting', class: Google::Apis::DfareportingV5::ContextualKeywordTargeting, decorator: Google::Apis::DfareportingV5::ContextualKeywordTargeting::Representation + property :day_part_targeting, as: 'dayPartTargeting', class: Google::Apis::DfareportingV5::DayPartTargeting, decorator: Google::Apis::DfareportingV5::DayPartTargeting::Representation property :geo_targeting, as: 'geoTargeting', class: Google::Apis::DfareportingV5::GeoTargeting, decorator: Google::Apis::DfareportingV5::GeoTargeting::Representation