Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-dfareporting_v5/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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<Google::Apis::DfareportingV5::ContextualKeyword>]
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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down