Skip to content

Commit 55726fe

Browse files
feat: Automated regeneration of dfareporting v5 client (#24800)
Auto-created at 2025-11-02 09:42:59 +0000 using the toys pull request generator.
1 parent a08ad0c commit 55726fe

File tree

5 files changed

+98
-4
lines changed

5 files changed

+98
-4
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190268,6 +190268,7 @@
190268190268
"/dfareporting:v5/Ad/clickThroughUrlSuffixProperties": click_through_url_suffix_properties
190269190269
"/dfareporting:v5/Ad/comments": comments
190270190270
"/dfareporting:v5/Ad/compatibility": compatibility
190271+
"/dfareporting:v5/Ad/contextualKeywordTargeting": contextual_keyword_targeting
190271190272
"/dfareporting:v5/Ad/createInfo": create_info
190272190273
"/dfareporting:v5/Ad/creativeGroupAssignments": creative_group_assignments
190273190274
"/dfareporting:v5/Ad/creativeGroupAssignments/creative_group_assignment": creative_group_assignment
@@ -190573,6 +190574,11 @@
190573190574
"/dfareporting:v5/ContentSourceMetaData/fieldNames/field_name": field_name
190574190575
"/dfareporting:v5/ContentSourceMetaData/rowNumber": row_number
190575190576
"/dfareporting:v5/ContentSourceMetaData/separator": separator
190577+
"/dfareporting:v5/ContextualKeyword": contextual_keyword
190578+
"/dfareporting:v5/ContextualKeyword/keyword": keyword
190579+
"/dfareporting:v5/ContextualKeywordTargeting": contextual_keyword_targeting
190580+
"/dfareporting:v5/ContextualKeywordTargeting/keywords": keywords
190581+
"/dfareporting:v5/ContextualKeywordTargeting/keywords/keyword": keyword
190576190582
"/dfareporting:v5/Conversion": conversion
190577190583
"/dfareporting:v5/Conversion/adUserDataConsent": ad_user_data_consent
190578190584
"/dfareporting:v5/Conversion/cartData": cart_data
@@ -192006,6 +192012,7 @@
192006192012
"/dfareporting:v5/TargetingTemplate/accountId": account_id
192007192013
"/dfareporting:v5/TargetingTemplate/advertiserId": advertiser_id
192008192014
"/dfareporting:v5/TargetingTemplate/advertiserIdDimensionValue": advertiser_id_dimension_value
192015+
"/dfareporting:v5/TargetingTemplate/contextualKeywordTargeting": contextual_keyword_targeting
192009192016
"/dfareporting:v5/TargetingTemplate/dayPartTargeting": day_part_targeting
192010192017
"/dfareporting:v5/TargetingTemplate/geoTargeting": geo_targeting
192011192018
"/dfareporting:v5/TargetingTemplate/id": id

generated/google-apis-dfareporting_v5/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-dfareporting_v5
22

3+
### v0.4.0 (2025-11-02)
4+
5+
* Regenerated from discovery document revision 20251023
6+
37
### v0.3.0 (2025-10-19)
48

59
* Regenerated from discovery document revision 20251009

generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/classes.rb

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,11 @@ class Ad
650650
# @return [String]
651651
attr_accessor :compatibility
652652

653+
# Contextual Keyword Targeting.
654+
# Corresponds to the JSON property `contextualKeywordTargeting`
655+
# @return [Google::Apis::DfareportingV5::ContextualKeywordTargeting]
656+
attr_accessor :contextual_keyword_targeting
657+
653658
# Modification timestamp.
654659
# Corresponds to the JSON property `createInfo`
655660
# @return [Google::Apis::DfareportingV5::LastModifiedInfo]
@@ -820,6 +825,7 @@ def update!(**args)
820825
@click_through_url_suffix_properties = args[:click_through_url_suffix_properties] if args.key?(:click_through_url_suffix_properties)
821826
@comments = args[:comments] if args.key?(:comments)
822827
@compatibility = args[:compatibility] if args.key?(:compatibility)
828+
@contextual_keyword_targeting = args[:contextual_keyword_targeting] if args.key?(:contextual_keyword_targeting)
823829
@create_info = args[:create_info] if args.key?(:create_info)
824830
@creative_group_assignments = args[:creative_group_assignments] if args.key?(:creative_group_assignments)
825831
@creative_rotation = args[:creative_rotation] if args.key?(:creative_rotation)
@@ -2793,6 +2799,44 @@ def update!(**args)
27932799
end
27942800
end
27952801

2802+
# Contains information about a Contextual Keyword that can be targeted by ads.
2803+
class ContextualKeyword
2804+
include Google::Apis::Core::Hashable
2805+
2806+
# The keyword that can be targeted by ads.
2807+
# Corresponds to the JSON property `keyword`
2808+
# @return [String]
2809+
attr_accessor :keyword
2810+
2811+
def initialize(**args)
2812+
update!(**args)
2813+
end
2814+
2815+
# Update properties of this object
2816+
def update!(**args)
2817+
@keyword = args[:keyword] if args.key?(:keyword)
2818+
end
2819+
end
2820+
2821+
# Contextual Keyword Targeting.
2822+
class ContextualKeywordTargeting
2823+
include Google::Apis::Core::Hashable
2824+
2825+
# Contextual keywords that this ad targets
2826+
# Corresponds to the JSON property `keywords`
2827+
# @return [Array<Google::Apis::DfareportingV5::ContextualKeyword>]
2828+
attr_accessor :keywords
2829+
2830+
def initialize(**args)
2831+
update!(**args)
2832+
end
2833+
2834+
# Update properties of this object
2835+
def update!(**args)
2836+
@keywords = args[:keywords] if args.key?(:keywords)
2837+
end
2838+
end
2839+
27962840
# A Conversion represents when a user successfully performs a desired action
27972841
# after seeing an ad.
27982842
class Conversion
@@ -9269,7 +9313,8 @@ class Placement
92699313
# DV360 (DBM) * `9`, Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`,
92709314
# TabMo Hawk * `13`, The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP *
92719315
# `16`, Zeta Global * `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`,
9272-
# Teads * `21`, Quantcast * `22`, Cognitiv
9316+
# Teads * `21`, Quantcast * `22`, Cognitiv * `23`, AdTheorent * `24`, DeepIntent
9317+
# * `25`, Pulsepoint
92739318
# Corresponds to the JSON property `adServingPlatformId`
92749319
# @return [Fixnum]
92759320
attr_accessor :ad_serving_platform_id
@@ -11637,7 +11682,8 @@ class Site
1163711682
# Innovid * `10`, MediaMath * `11`, Roku OneView DSP * `12`, TabMo Hawk * `13`,
1163811683
# The Trade Desk * `14`, Xandr Invest DSP * `15`, Yahoo DSP * `16`, Zeta Global *
1163911684
# `17`, Scaleout * `18`, Bidtellect * `19`, Unicorn * `20`, Teads * `21`,
11640-
# Quantcast * `22`, Cognitiv
11685+
# Quantcast * `22`, Cognitiv * `23`, AdTheorent * `24`, DeepIntent * `25`,
11686+
# Pulsepoint
1164111687
# Corresponds to the JSON property `adServingPlatformId`
1164211688
# @return [Fixnum]
1164311689
attr_accessor :ad_serving_platform_id
@@ -12815,6 +12861,11 @@ class TargetingTemplate
1281512861
# @return [Google::Apis::DfareportingV5::DimensionValue]
1281612862
attr_accessor :advertiser_id_dimension_value
1281712863

12864+
# Contextual Keyword Targeting.
12865+
# Corresponds to the JSON property `contextualKeywordTargeting`
12866+
# @return [Google::Apis::DfareportingV5::ContextualKeywordTargeting]
12867+
attr_accessor :contextual_keyword_targeting
12868+
1281812869
# Day Part Targeting.
1281912870
# Corresponds to the JSON property `dayPartTargeting`
1282012871
# @return [Google::Apis::DfareportingV5::DayPartTargeting]
@@ -12877,6 +12928,7 @@ def update!(**args)
1287712928
@account_id = args[:account_id] if args.key?(:account_id)
1287812929
@advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
1287912930
@advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value)
12931+
@contextual_keyword_targeting = args[:contextual_keyword_targeting] if args.key?(:contextual_keyword_targeting)
1288012932
@day_part_targeting = args[:day_part_targeting] if args.key?(:day_part_targeting)
1288112933
@geo_targeting = args[:geo_targeting] if args.key?(:geo_targeting)
1288212934
@id = args[:id] if args.key?(:id)

generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DfareportingV5
1818
# Version of the google-apis-dfareporting_v5 gem
19-
GEM_VERSION = "0.3.0"
19+
GEM_VERSION = "0.4.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251009"
25+
REVISION = "20251023"
2626
end
2727
end
2828
end

generated/google-apis-dfareporting_v5/lib/google/apis/dfareporting_v5/representations.rb

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
340340
include Google::Apis::Core::JsonObjectSupport
341341
end
342342

343+
class ContextualKeyword
344+
class Representation < Google::Apis::Core::JsonRepresentation; end
345+
346+
include Google::Apis::Core::JsonObjectSupport
347+
end
348+
349+
class ContextualKeywordTargeting
350+
class Representation < Google::Apis::Core::JsonRepresentation; end
351+
352+
include Google::Apis::Core::JsonObjectSupport
353+
end
354+
343355
class Conversion
344356
class Representation < Google::Apis::Core::JsonRepresentation; end
345357

@@ -1781,6 +1793,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
17811793

17821794
property :comments, as: 'comments'
17831795
property :compatibility, as: 'compatibility'
1796+
property :contextual_keyword_targeting, as: 'contextualKeywordTargeting', class: Google::Apis::DfareportingV5::ContextualKeywordTargeting, decorator: Google::Apis::DfareportingV5::ContextualKeywordTargeting::Representation
1797+
17841798
property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV5::LastModifiedInfo, decorator: Google::Apis::DfareportingV5::LastModifiedInfo::Representation
17851799

17861800
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
23382352
end
23392353
end
23402354

2355+
class ContextualKeyword
2356+
# @private
2357+
class Representation < Google::Apis::Core::JsonRepresentation
2358+
property :keyword, as: 'keyword'
2359+
end
2360+
end
2361+
2362+
class ContextualKeywordTargeting
2363+
# @private
2364+
class Representation < Google::Apis::Core::JsonRepresentation
2365+
collection :keywords, as: 'keywords', class: Google::Apis::DfareportingV5::ContextualKeyword, decorator: Google::Apis::DfareportingV5::ContextualKeyword::Representation
2366+
2367+
end
2368+
end
2369+
23412370
class Conversion
23422371
# @private
23432372
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4848,6 +4877,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
48484877
property :advertiser_id, :numeric_string => true, as: 'advertiserId'
48494878
property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV5::DimensionValue, decorator: Google::Apis::DfareportingV5::DimensionValue::Representation
48504879

4880+
property :contextual_keyword_targeting, as: 'contextualKeywordTargeting', class: Google::Apis::DfareportingV5::ContextualKeywordTargeting, decorator: Google::Apis::DfareportingV5::ContextualKeywordTargeting::Representation
4881+
48514882
property :day_part_targeting, as: 'dayPartTargeting', class: Google::Apis::DfareportingV5::DayPartTargeting, decorator: Google::Apis::DfareportingV5::DayPartTargeting::Representation
48524883

48534884
property :geo_targeting, as: 'geoTargeting', class: Google::Apis::DfareportingV5::GeoTargeting, decorator: Google::Apis::DfareportingV5::GeoTargeting::Representation

0 commit comments

Comments
 (0)