From 2fac786d1c5d21982d869cee3e6e4c189c71681a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 21 Dec 2025 09:57:39 +0000 Subject: [PATCH] feat: Automated regeneration of authorizedbuyersmarketplace v1alpha client --- api_names_out.yaml | 114 ++++ .../CHANGELOG.md | 4 + .../classes.rb | 611 ++++++++++++++++++ .../gem_version.rb | 4 +- .../representations.rb | 249 +++++++ .../service.rb | 269 ++++++++ 6 files changed, 1249 insertions(+), 2 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index a0423db1883..f71d7b9c191 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -51332,8 +51332,12 @@ "/authorizedbuyersmarketplace:v1/quotaUser": quota_user "/authorizedbuyersmarketplace:v1alpha/AcceptProposalRequest": accept_proposal_request "/authorizedbuyersmarketplace:v1alpha/AcceptProposalRequest/proposalRevision": proposal_revision +"/authorizedbuyersmarketplace:v1alpha/AccessControlSettings": access_control_settings +"/authorizedbuyersmarketplace:v1alpha/AccessControlSettings/allowlistedMediaPlanners": allowlisted_media_planners +"/authorizedbuyersmarketplace:v1alpha/AccessControlSettings/allowlistedMediaPlanners/allowlisted_media_planner": allowlisted_media_planner "/authorizedbuyersmarketplace:v1alpha/ActivateClientRequest": activate_client_request "/authorizedbuyersmarketplace:v1alpha/ActivateClientUserRequest": activate_client_user_request +"/authorizedbuyersmarketplace:v1alpha/ActivateCuratedPackageRequest": activate_curated_package_request "/authorizedbuyersmarketplace:v1alpha/ActivateDataSegmentRequest": activate_data_segment_request "/authorizedbuyersmarketplace:v1alpha/AdSize": ad_size "/authorizedbuyersmarketplace:v1alpha/AdSize/height": height @@ -51393,6 +51397,17 @@ "/authorizedbuyersmarketplace:v1alpha/CriteriaTargeting/excludedCriteriaIds/excluded_criteria_id": excluded_criteria_id "/authorizedbuyersmarketplace:v1alpha/CriteriaTargeting/targetedCriteriaIds": targeted_criteria_ids "/authorizedbuyersmarketplace:v1alpha/CriteriaTargeting/targetedCriteriaIds/targeted_criteria_id": targeted_criteria_id +"/authorizedbuyersmarketplace:v1alpha/CuratedPackage": curated_package +"/authorizedbuyersmarketplace:v1alpha/CuratedPackage/accessSettings": access_settings +"/authorizedbuyersmarketplace:v1alpha/CuratedPackage/createTime": create_time +"/authorizedbuyersmarketplace:v1alpha/CuratedPackage/description": description +"/authorizedbuyersmarketplace:v1alpha/CuratedPackage/displayName": display_name +"/authorizedbuyersmarketplace:v1alpha/CuratedPackage/feeCpm": fee_cpm +"/authorizedbuyersmarketplace:v1alpha/CuratedPackage/floorPriceCpm": floor_price_cpm +"/authorizedbuyersmarketplace:v1alpha/CuratedPackage/name": name +"/authorizedbuyersmarketplace:v1alpha/CuratedPackage/state": state +"/authorizedbuyersmarketplace:v1alpha/CuratedPackage/targeting": targeting +"/authorizedbuyersmarketplace:v1alpha/CuratedPackage/updateTime": update_time "/authorizedbuyersmarketplace:v1alpha/DataSegment": data_segment "/authorizedbuyersmarketplace:v1alpha/DataSegment/cpmFee": cpm_fee "/authorizedbuyersmarketplace:v1alpha/DataSegment/createTime": create_time @@ -51409,6 +51424,7 @@ "/authorizedbuyersmarketplace:v1alpha/DayPartTargeting/timeZoneType": time_zone_type "/authorizedbuyersmarketplace:v1alpha/DeactivateClientRequest": deactivate_client_request "/authorizedbuyersmarketplace:v1alpha/DeactivateClientUserRequest": deactivate_client_user_request +"/authorizedbuyersmarketplace:v1alpha/DeactivateCuratedPackageRequest": deactivate_curated_package_request "/authorizedbuyersmarketplace:v1alpha/DeactivateDataSegmentRequest": deactivate_data_segment_request "/authorizedbuyersmarketplace:v1alpha/Deal": deal "/authorizedbuyersmarketplace:v1alpha/Deal/billedBuyer": billed_buyer @@ -51484,6 +51500,10 @@ "/authorizedbuyersmarketplace:v1alpha/ListClientsResponse/clients": clients "/authorizedbuyersmarketplace:v1alpha/ListClientsResponse/clients/client": client "/authorizedbuyersmarketplace:v1alpha/ListClientsResponse/nextPageToken": next_page_token +"/authorizedbuyersmarketplace:v1alpha/ListCuratedPackagesResponse": list_curated_packages_response +"/authorizedbuyersmarketplace:v1alpha/ListCuratedPackagesResponse/curatedPackages": curated_packages +"/authorizedbuyersmarketplace:v1alpha/ListCuratedPackagesResponse/curatedPackages/curated_package": curated_package +"/authorizedbuyersmarketplace:v1alpha/ListCuratedPackagesResponse/nextPageToken": next_page_token "/authorizedbuyersmarketplace:v1alpha/ListDataSegmentsResponse": list_data_segments_response "/authorizedbuyersmarketplace:v1alpha/ListDataSegmentsResponse/dataSegments": data_segments "/authorizedbuyersmarketplace:v1alpha/ListDataSegmentsResponse/dataSegments/data_segment": data_segment @@ -51496,6 +51516,10 @@ "/authorizedbuyersmarketplace:v1alpha/ListFinalizedDealsResponse/finalizedDeals": finalized_deals "/authorizedbuyersmarketplace:v1alpha/ListFinalizedDealsResponse/finalizedDeals/finalized_deal": finalized_deal "/authorizedbuyersmarketplace:v1alpha/ListFinalizedDealsResponse/nextPageToken": next_page_token +"/authorizedbuyersmarketplace:v1alpha/ListMediaPlannersResponse": list_media_planners_response +"/authorizedbuyersmarketplace:v1alpha/ListMediaPlannersResponse/mediaPlanners": media_planners +"/authorizedbuyersmarketplace:v1alpha/ListMediaPlannersResponse/mediaPlanners/media_planner": media_planner +"/authorizedbuyersmarketplace:v1alpha/ListMediaPlannersResponse/nextPageToken": next_page_token "/authorizedbuyersmarketplace:v1alpha/ListProposalsResponse": list_proposals_response "/authorizedbuyersmarketplace:v1alpha/ListProposalsResponse/nextPageToken": next_page_token "/authorizedbuyersmarketplace:v1alpha/ListProposalsResponse/proposals": proposals @@ -51518,6 +51542,10 @@ "/authorizedbuyersmarketplace:v1alpha/MarketplaceTargeting/videoTargeting": video_targeting "/authorizedbuyersmarketplace:v1alpha/MediaPlanner": media_planner "/authorizedbuyersmarketplace:v1alpha/MediaPlanner/accountId": account_id +"/authorizedbuyersmarketplace:v1alpha/MediaPlanner/ancestorNames": ancestor_names +"/authorizedbuyersmarketplace:v1alpha/MediaPlanner/ancestorNames/ancestor_name": ancestor_name +"/authorizedbuyersmarketplace:v1alpha/MediaPlanner/displayName": display_name +"/authorizedbuyersmarketplace:v1alpha/MediaPlanner/name": name "/authorizedbuyersmarketplace:v1alpha/MobileApplicationTargeting": mobile_application_targeting "/authorizedbuyersmarketplace:v1alpha/MobileApplicationTargeting/firstPartyTargeting": first_party_targeting "/authorizedbuyersmarketplace:v1alpha/Money": money @@ -51531,6 +51559,56 @@ "/authorizedbuyersmarketplace:v1alpha/OperatingSystemTargeting": operating_system_targeting "/authorizedbuyersmarketplace:v1alpha/OperatingSystemTargeting/operatingSystemCriteria": operating_system_criteria "/authorizedbuyersmarketplace:v1alpha/OperatingSystemTargeting/operatingSystemVersionCriteria": operating_system_version_criteria +"/authorizedbuyersmarketplace:v1alpha/PackagePlacementTargeting": package_placement_targeting +"/authorizedbuyersmarketplace:v1alpha/PackagePlacementTargeting/includedMobileAppCategoryTargeting": included_mobile_app_category_targeting +? "/authorizedbuyersmarketplace:v1alpha/PackagePlacementTargeting/includedMobileAppCategoryTargeting/included_mobile_app_category_targeting" +: included_mobile_app_category_targeting +"/authorizedbuyersmarketplace:v1alpha/PackagePlacementTargeting/mobileAppTargeting": mobile_app_targeting +"/authorizedbuyersmarketplace:v1alpha/PackagePlacementTargeting/uriTargeting": uri_targeting +"/authorizedbuyersmarketplace:v1alpha/PackagePublisherProvidedSignalsTargeting": package_publisher_provided_signals_targeting +"/authorizedbuyersmarketplace:v1alpha/PackagePublisherProvidedSignalsTargeting/audienceTargeting": audience_targeting +"/authorizedbuyersmarketplace:v1alpha/PackagePublisherProvidedSignalsTargeting/contentTargeting": content_targeting +"/authorizedbuyersmarketplace:v1alpha/PackagePublisherProvidedSignalsTargeting/videoAndAudioSignalsTargeting": video_and_audio_signals_targeting +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting": package_targeting +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/geoTargeting": geo_targeting +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedAcceleratedMobilePageType": included_accelerated_mobile_page_type +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedAdSizes": included_ad_sizes +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedAdSizes/included_ad_size": included_ad_size +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedAuthorizedSellerStatuses": included_authorized_seller_statuses +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedAuthorizedSellerStatuses/included_authorized_seller_status": included_authorized_seller_status +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedCreativeFormat": included_creative_format +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedDataSegments": included_data_segments +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedDataSegments/included_data_segment": included_data_segment +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedDeviceTypes": included_device_types +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedDeviceTypes/included_device_type": included_device_type +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedEnvironment": included_environment +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedNativeInventoryTypes": included_native_inventory_types +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedNativeInventoryTypes/included_native_inventory_type": included_native_inventory_type +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedOpenMeasurementTypes": included_open_measurement_types +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedOpenMeasurementTypes/included_open_measurement_type": included_open_measurement_type +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedRestrictedCategories": included_restricted_categories +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedRestrictedCategories/included_restricted_category": included_restricted_category +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/includedRewardedType": included_rewarded_type +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/languageTargeting": language_targeting +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/minimumPredictedClickThroughRatePercentageMillis": minimum_predicted_click_through_rate_percentage_millis +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/minimumPredictedViewabilityPercentage": minimum_predicted_viewability_percentage +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/placementTargeting": placement_targeting +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/publisherProvidedSignalsTargeting": publisher_provided_signals_targeting +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/publisherTargeting": publisher_targeting +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/verticalTargeting": vertical_targeting +"/authorizedbuyersmarketplace:v1alpha/PackageTargeting/videoTargeting": video_targeting +"/authorizedbuyersmarketplace:v1alpha/PackageVideoTargeting": package_video_targeting +"/authorizedbuyersmarketplace:v1alpha/PackageVideoTargeting/includedContentDeliveryMethod": included_content_delivery_method +"/authorizedbuyersmarketplace:v1alpha/PackageVideoTargeting/includedMaximumAdDurationTargeting": included_maximum_ad_duration_targeting +"/authorizedbuyersmarketplace:v1alpha/PackageVideoTargeting/includedMimeTypes": included_mime_types +"/authorizedbuyersmarketplace:v1alpha/PackageVideoTargeting/includedMimeTypes/included_mime_type": included_mime_type +"/authorizedbuyersmarketplace:v1alpha/PackageVideoTargeting/includedPlaybackMethods": included_playback_methods +"/authorizedbuyersmarketplace:v1alpha/PackageVideoTargeting/includedPlaybackMethods/included_playback_method": included_playback_method +"/authorizedbuyersmarketplace:v1alpha/PackageVideoTargeting/includedPlayerSizeTargeting": included_player_size_targeting +"/authorizedbuyersmarketplace:v1alpha/PackageVideoTargeting/includedPositionTypes": included_position_types +"/authorizedbuyersmarketplace:v1alpha/PackageVideoTargeting/includedPositionTypes/included_position_type": included_position_type +"/authorizedbuyersmarketplace:v1alpha/PackageVideoTargeting/minimumPredictedCompletionRatePercentage": minimum_predicted_completion_rate_percentage +"/authorizedbuyersmarketplace:v1alpha/PackageVideoTargeting/plcmtTargeting": plcmt_targeting "/authorizedbuyersmarketplace:v1alpha/PauseFinalizedDealRequest": pause_finalized_deal_request "/authorizedbuyersmarketplace:v1alpha/PauseFinalizedDealRequest/reason": reason "/authorizedbuyersmarketplace:v1alpha/PlacementTargeting": placement_targeting @@ -51622,10 +51700,19 @@ "/authorizedbuyersmarketplace:v1alpha/SendRfpRequest/programmaticGuaranteedTerms": programmatic_guaranteed_terms "/authorizedbuyersmarketplace:v1alpha/SendRfpRequest/publisherProfile": publisher_profile "/authorizedbuyersmarketplace:v1alpha/SetReadyToServeRequest": set_ready_to_serve_request +"/authorizedbuyersmarketplace:v1alpha/StringTargetingDimension": string_targeting_dimension +"/authorizedbuyersmarketplace:v1alpha/StringTargetingDimension/selectionType": selection_type +"/authorizedbuyersmarketplace:v1alpha/StringTargetingDimension/values": values +"/authorizedbuyersmarketplace:v1alpha/StringTargetingDimension/values/value": value "/authorizedbuyersmarketplace:v1alpha/SubscribeAuctionPackageRequest": subscribe_auction_package_request "/authorizedbuyersmarketplace:v1alpha/SubscribeClientsRequest": subscribe_clients_request "/authorizedbuyersmarketplace:v1alpha/SubscribeClientsRequest/clients": clients "/authorizedbuyersmarketplace:v1alpha/SubscribeClientsRequest/clients/client": client +"/authorizedbuyersmarketplace:v1alpha/TaxonomyTargeting": taxonomy_targeting +"/authorizedbuyersmarketplace:v1alpha/TaxonomyTargeting/excludedTaxonomyIds": excluded_taxonomy_ids +"/authorizedbuyersmarketplace:v1alpha/TaxonomyTargeting/excludedTaxonomyIds/excluded_taxonomy_id": excluded_taxonomy_id +"/authorizedbuyersmarketplace:v1alpha/TaxonomyTargeting/targetedTaxonomyIds": targeted_taxonomy_ids +"/authorizedbuyersmarketplace:v1alpha/TaxonomyTargeting/targetedTaxonomyIds/targeted_taxonomy_id": targeted_taxonomy_id "/authorizedbuyersmarketplace:v1alpha/TechnologyTargeting": technology_targeting "/authorizedbuyersmarketplace:v1alpha/TechnologyTargeting/deviceCapabilityTargeting": device_capability_targeting "/authorizedbuyersmarketplace:v1alpha/TechnologyTargeting/deviceCategoryTargeting": device_category_targeting @@ -51650,6 +51737,13 @@ "/authorizedbuyersmarketplace:v1alpha/UriTargeting/excludedUris/excluded_uri": excluded_uri "/authorizedbuyersmarketplace:v1alpha/UriTargeting/targetedUris": targeted_uris "/authorizedbuyersmarketplace:v1alpha/UriTargeting/targetedUris/targeted_uri": targeted_uri +"/authorizedbuyersmarketplace:v1alpha/VideoPlayerSizeTargeting": video_player_size_targeting +"/authorizedbuyersmarketplace:v1alpha/VideoPlayerSizeTargeting/minimumHeight": minimum_height +"/authorizedbuyersmarketplace:v1alpha/VideoPlayerSizeTargeting/minimumWidth": minimum_width +"/authorizedbuyersmarketplace:v1alpha/VideoPlcmtTargeting": video_plcmt_targeting +"/authorizedbuyersmarketplace:v1alpha/VideoPlcmtTargeting/selectionType": selection_type +"/authorizedbuyersmarketplace:v1alpha/VideoPlcmtTargeting/videoPlcmtTypes": video_plcmt_types +"/authorizedbuyersmarketplace:v1alpha/VideoPlcmtTargeting/videoPlcmtTypes/video_plcmt_type": video_plcmt_type "/authorizedbuyersmarketplace:v1alpha/VideoTargeting": video_targeting "/authorizedbuyersmarketplace:v1alpha/VideoTargeting/excludedPositionTypes": excluded_position_types "/authorizedbuyersmarketplace:v1alpha/VideoTargeting/excludedPositionTypes/excluded_position_type": excluded_position_type @@ -51782,6 +51876,26 @@ "/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.buyers.publisherProfiles.list/pageSize": page_size "/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.buyers.publisherProfiles.list/pageToken": page_token "/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.buyers.publisherProfiles.list/parent": parent +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.activate": activate_curated_package +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.activate/name": name +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.create": create_curator_curated_package +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.create/parent": parent +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.deactivate": deactivate_curated_package +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.deactivate/name": name +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.get": get_curator_curated_package +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.get/name": name +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.list": list_curator_curated_packages +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.list/filter": filter +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.list/pageSize": page_size +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.list/pageToken": page_token +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.list/parent": parent +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.patch": patch_curator_curated_package +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.patch/name": name +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.curators.curatedPackages.patch/updateMask": update_mask +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.mediaPlanners.list": list_media_planners +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.mediaPlanners.list/filter": filter +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.mediaPlanners.list/pageSize": page_size +"/authorizedbuyersmarketplace:v1alpha/authorizedbuyersmarketplace.mediaPlanners.list/pageToken": page_token "/authorizedbuyersmarketplace:v1alpha/fields": fields "/authorizedbuyersmarketplace:v1alpha/key": key "/authorizedbuyersmarketplace:v1alpha/quotaUser": quota_user diff --git a/generated/google-apis-authorizedbuyersmarketplace_v1alpha/CHANGELOG.md b/generated/google-apis-authorizedbuyersmarketplace_v1alpha/CHANGELOG.md index 195c9e6027a..1a021bd856a 100644 --- a/generated/google-apis-authorizedbuyersmarketplace_v1alpha/CHANGELOG.md +++ b/generated/google-apis-authorizedbuyersmarketplace_v1alpha/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-authorizedbuyersmarketplace_v1alpha +### v0.11.0 (2025-12-21) + +* Regenerated from discovery document revision 20251211 + ### v0.10.0 (2025-11-23) * Regenerated from discovery document revision 20251119 diff --git a/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb b/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb index cb8314a5b2d..809b830127e 100644 --- a/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb +++ b/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/classes.rb @@ -42,6 +42,28 @@ def update!(**args) end end + # Settings for controlling access to a curated package. + class AccessControlSettings + include Google::Apis::Core::Hashable + + # Required. Immutable. The list of media planners that are explicitly granted + # access to the curated package. Eligible media planners can be found in the + # mediaPlanners.list method. Only a single media planner may be allowlisted at + # this time. Format: `mediaPlanners/`mediaPlannerAccountId`` + # Corresponds to the JSON property `allowlistedMediaPlanners` + # @return [Array] + attr_accessor :allowlisted_media_planners + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allowlisted_media_planners = args[:allowlisted_media_planners] if args.key?(:allowlisted_media_planners) + end + end + # Request message for activating a client. class ActivateClientRequest include Google::Apis::Core::Hashable @@ -68,6 +90,19 @@ def update!(**args) end end + # Request message for ActivateCuratedPackage. + class ActivateCuratedPackageRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Request message for activating a data segment class ActivateDataSegmentRequest include Google::Apis::Core::Hashable @@ -508,6 +543,84 @@ def update!(**args) end end + # Represents a curated package of inventory created and managed by a Curator. + class CuratedPackage + include Google::Apis::Core::Hashable + + # Settings for controlling access to a curated package. + # Corresponds to the JSON property `accessSettings` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::AccessControlSettings] + attr_accessor :access_settings + + # Output only. The timestamp when the curated package was created. Can be used + # to filter the response of the curatedPackages.list method. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Optional. A description of the curated package, provided by the curator. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Required. The display name assigned to the curated package by the curator. Can + # be used to filter the response of the curatedPackages.list method. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `feeCpm` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::Money] + attr_accessor :fee_cpm + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `floorPriceCpm` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::Money] + attr_accessor :floor_price_cpm + + # Identifier. The unique resource name for the curated package. Format: ` + # curators/`accountId`/curatedPackages/`curatedPackageId`` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. The state of the curated package. Can be used to filter the + # response of the curatedPackages.list method. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Targeting criteria for curated and auction packages. + # Corresponds to the JSON property `targeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackageTargeting] + attr_accessor :targeting + + # Output only. The timestamp when the curated package was last updated. Can be + # used to filter the response of the curatedPackages.list method. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @access_settings = args[:access_settings] if args.key?(:access_settings) + @create_time = args[:create_time] if args.key?(:create_time) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @fee_cpm = args[:fee_cpm] if args.key?(:fee_cpm) + @floor_price_cpm = args[:floor_price_cpm] if args.key?(:floor_price_cpm) + @name = args[:name] if args.key?(:name) + @state = args[:state] if args.key?(:state) + @targeting = args[:targeting] if args.key?(:targeting) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + # Defines an identifier for a segment of inventory that can be targeted by # curators or media planners in the deals or auction packages UI. Curation of # inventory is done by curators on external platforms. @@ -642,6 +755,19 @@ def update!(**args) end end + # Request message for DeactivateCuratedPackage. + class DeactivateCuratedPackageRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Request message for deactivating a data segment class DeactivateDataSegmentRequest include Google::Apis::Core::Hashable @@ -1181,6 +1307,34 @@ def update!(**args) end end + # Response message for ListCuratedPackages. + class ListCuratedPackagesResponse + include Google::Apis::Core::Hashable + + # The list of curated packages. + # Corresponds to the JSON property `curatedPackages` + # @return [Array] + attr_accessor :curated_packages + + # A token to retrieve the next page of results. Pass this value in the + # ListCuratedPackagesRequest.pageToken field in the subsequent call to ` + # ListCuratedPackages` method to retrieve the next page of results. If empty, + # then there are no more results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @curated_packages = args[:curated_packages] if args.key?(:curated_packages) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response message for listing data segments. class ListDataSegmentsResponse include Google::Apis::Core::Hashable @@ -1258,6 +1412,33 @@ def update!(**args) end end + # A response containing media planner account information. + class ListMediaPlannersResponse + include Google::Apis::Core::Hashable + + # List of media planners. + # Corresponds to the JSON property `mediaPlanners` + # @return [Array] + attr_accessor :media_planners + + # A token which can be passed to a subsequent call to the `ListMediaPlanners` + # method to retrieve the next page of results in ListMediaPlannersRequest. + # pageToken. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @media_planners = args[:media_planners] if args.key?(:media_planners) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response message for listing proposals. class ListProposalsResponse include Google::Apis::Core::Hashable @@ -1403,6 +1584,26 @@ class MediaPlanner # @return [String] attr_accessor :account_id + # Output only. The ancestor names of the media planner. Format: `mediaPlanners/` + # mediaPlannerAccountId`` Can be used to filter the response of the + # mediaPlanners.list method. + # Corresponds to the JSON property `ancestorNames` + # @return [Array] + attr_accessor :ancestor_names + + # Output only. The display name of the media planner. Can be used to filter the + # response of the mediaPlanners.list method. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Identifier. The unique resource name of the media planner. Format: ` + # mediaPlanners/`mediaPlannerAccountId`` Can be used to filter the response of + # the mediaPlanners.list method. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + def initialize(**args) update!(**args) end @@ -1410,6 +1611,9 @@ def initialize(**args) # Update properties of this object def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) + @ancestor_names = args[:ancestor_names] if args.key?(:ancestor_names) + @display_name = args[:display_name] if args.key?(:display_name) + @name = args[:name] if args.key?(:name) end end @@ -1533,6 +1737,309 @@ def update!(**args) end end + # Represents targeting about where the ads can appear, for example, certain + # sites or mobile applications. Different placement targeting types will be + # logically OR'ed. + class PackagePlacementTargeting + include Google::Apis::Core::Hashable + + # Optional. The list of targeted mobile app categories. + # Corresponds to the JSON property `includedMobileAppCategoryTargeting` + # @return [Array] + attr_accessor :included_mobile_app_category_targeting + + # Generic targeting with string values. + # Corresponds to the JSON property `mobileAppTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension] + attr_accessor :mobile_app_targeting + + # Generic targeting with string values. + # Corresponds to the JSON property `uriTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension] + attr_accessor :uri_targeting + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @included_mobile_app_category_targeting = args[:included_mobile_app_category_targeting] if args.key?(:included_mobile_app_category_targeting) + @mobile_app_targeting = args[:mobile_app_targeting] if args.key?(:mobile_app_targeting) + @uri_targeting = args[:uri_targeting] if args.key?(:uri_targeting) + end + end + + # Represents targeting about publisher provided signals. Different publisher + # provided signals types will be logically OR'ed. + class PackagePublisherProvidedSignalsTargeting + include Google::Apis::Core::Hashable + + # Defines targeting criteria for handling the IAB audience and content Taxonomy + # ID space. + # Corresponds to the JSON property `audienceTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::TaxonomyTargeting] + attr_accessor :audience_targeting + + # Defines targeting criteria for handling the IAB audience and content Taxonomy + # ID space. + # Corresponds to the JSON property `contentTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::TaxonomyTargeting] + attr_accessor :content_targeting + + # Generic targeting with string values. + # Corresponds to the JSON property `videoAndAudioSignalsTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension] + attr_accessor :video_and_audio_signals_targeting + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audience_targeting = args[:audience_targeting] if args.key?(:audience_targeting) + @content_targeting = args[:content_targeting] if args.key?(:content_targeting) + @video_and_audio_signals_targeting = args[:video_and_audio_signals_targeting] if args.key?(:video_and_audio_signals_targeting) + end + end + + # Targeting criteria for curated and auction packages. + class PackageTargeting + include Google::Apis::Core::Hashable + + # Generic targeting used for targeting dimensions that contains a list of + # included and excluded numeric IDs. This cannot be filtered using list filter + # syntax. + # Corresponds to the JSON property `geoTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CriteriaTargeting] + attr_accessor :geo_targeting + + # Optional. The targeted accelerated mobile page type. If unset, inventory will + # be targeted regardless of AMP status. + # Corresponds to the JSON property `includedAcceleratedMobilePageType` + # @return [String] + attr_accessor :included_accelerated_mobile_page_type + + # Optional. The list of ad sizes to target. If unset, inventory will be targeted + # regardless of ad size. Curated packages supports `PIXEL` and `INTERSTITIAL` ad + # sizes. + # Corresponds to the JSON property `includedAdSizes` + # @return [Array] + attr_accessor :included_ad_sizes + + # Optional. The included list of targeted authorized seller statuses. If empty, + # inventory will be targeted regardless of seller status. + # Corresponds to the JSON property `includedAuthorizedSellerStatuses` + # @return [Array] + attr_accessor :included_authorized_seller_statuses + + # Optional. The creative format to target. If unset, all creative markup types + # are targeted. + # Corresponds to the JSON property `includedCreativeFormat` + # @return [String] + attr_accessor :included_creative_format + + # Optional. The active data segments to be targeted. If unset, inventory will be + # targeted regardless of data segments. Format: `curators/`account_id`/ + # dataSegments/`data_segment_id`` + # Corresponds to the JSON property `includedDataSegments` + # @return [Array] + attr_accessor :included_data_segments + + # Optional. The list of included device types to target. If empty, all device + # types are targeted. + # Corresponds to the JSON property `includedDeviceTypes` + # @return [Array] + attr_accessor :included_device_types + + # Optional. The environment to target. If unspecified, all environments are + # targeted. + # Corresponds to the JSON property `includedEnvironment` + # @return [String] + attr_accessor :included_environment + + # Optional. The targeted native inventory types. If empty, inventory will be + # targeted regardless of native inventory type. + # Corresponds to the JSON property `includedNativeInventoryTypes` + # @return [Array] + attr_accessor :included_native_inventory_types + + # Optional. The list of targeted open measurement types. If empty, inventory + # will be targeted regardless of Open Measurement support. + # Corresponds to the JSON property `includedOpenMeasurementTypes` + # @return [Array] + attr_accessor :included_open_measurement_types + + # Optional. The list of targeted restricted categories. If empty, inventory will + # be targeted regardless of restricted categories. + # Corresponds to the JSON property `includedRestrictedCategories` + # @return [Array] + attr_accessor :included_restricted_categories + + # Optional. The targeted rewarded type. If unset, inventory will be targeted + # regardless of rewarded type. + # Corresponds to the JSON property `includedRewardedType` + # @return [String] + attr_accessor :included_rewarded_type + + # Generic targeting with string values. + # Corresponds to the JSON property `languageTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension] + attr_accessor :language_targeting + + # Optional. The targeted minimum predicted click through rate, ranging in values + # [10, 10000] (0.01% - 10%). A value of 50 means that the configuration will + # only match adslots for which we predict at least 0.05% click through rate. An + # unset value indicates inventory will be targeted regardless of predicted click + # through rate. + # Corresponds to the JSON property `minimumPredictedClickThroughRatePercentageMillis` + # @return [Fixnum] + attr_accessor :minimum_predicted_click_through_rate_percentage_millis + + # Optional. The targeted minimum predicted viewability percentage. This value + # must be a multiple of 10 between 10 and 90 (inclusive). For example, 10 is + # valid, but 0, 15, and 100 are not. A value of 10 means that the configuration + # will only match adslots for which we predict at least 10% viewability. An + # unset value indicates inventory will be targeted regardless of predicted + # viewability. + # Corresponds to the JSON property `minimumPredictedViewabilityPercentage` + # @return [Fixnum] + attr_accessor :minimum_predicted_viewability_percentage + + # Represents targeting about where the ads can appear, for example, certain + # sites or mobile applications. Different placement targeting types will be + # logically OR'ed. + # Corresponds to the JSON property `placementTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackagePlacementTargeting] + attr_accessor :placement_targeting + + # Represents targeting about publisher provided signals. Different publisher + # provided signals types will be logically OR'ed. + # Corresponds to the JSON property `publisherProvidedSignalsTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackagePublisherProvidedSignalsTargeting] + attr_accessor :publisher_provided_signals_targeting + + # Generic targeting with string values. + # Corresponds to the JSON property `publisherTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension] + attr_accessor :publisher_targeting + + # Generic targeting used for targeting dimensions that contains a list of + # included and excluded numeric IDs. This cannot be filtered using list filter + # syntax. + # Corresponds to the JSON property `verticalTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CriteriaTargeting] + attr_accessor :vertical_targeting + + # Video specific targeting criteria. + # Corresponds to the JSON property `videoTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackageVideoTargeting] + attr_accessor :video_targeting + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @geo_targeting = args[:geo_targeting] if args.key?(:geo_targeting) + @included_accelerated_mobile_page_type = args[:included_accelerated_mobile_page_type] if args.key?(:included_accelerated_mobile_page_type) + @included_ad_sizes = args[:included_ad_sizes] if args.key?(:included_ad_sizes) + @included_authorized_seller_statuses = args[:included_authorized_seller_statuses] if args.key?(:included_authorized_seller_statuses) + @included_creative_format = args[:included_creative_format] if args.key?(:included_creative_format) + @included_data_segments = args[:included_data_segments] if args.key?(:included_data_segments) + @included_device_types = args[:included_device_types] if args.key?(:included_device_types) + @included_environment = args[:included_environment] if args.key?(:included_environment) + @included_native_inventory_types = args[:included_native_inventory_types] if args.key?(:included_native_inventory_types) + @included_open_measurement_types = args[:included_open_measurement_types] if args.key?(:included_open_measurement_types) + @included_restricted_categories = args[:included_restricted_categories] if args.key?(:included_restricted_categories) + @included_rewarded_type = args[:included_rewarded_type] if args.key?(:included_rewarded_type) + @language_targeting = args[:language_targeting] if args.key?(:language_targeting) + @minimum_predicted_click_through_rate_percentage_millis = args[:minimum_predicted_click_through_rate_percentage_millis] if args.key?(:minimum_predicted_click_through_rate_percentage_millis) + @minimum_predicted_viewability_percentage = args[:minimum_predicted_viewability_percentage] if args.key?(:minimum_predicted_viewability_percentage) + @placement_targeting = args[:placement_targeting] if args.key?(:placement_targeting) + @publisher_provided_signals_targeting = args[:publisher_provided_signals_targeting] if args.key?(:publisher_provided_signals_targeting) + @publisher_targeting = args[:publisher_targeting] if args.key?(:publisher_targeting) + @vertical_targeting = args[:vertical_targeting] if args.key?(:vertical_targeting) + @video_targeting = args[:video_targeting] if args.key?(:video_targeting) + end + end + + # Video specific targeting criteria. + class PackageVideoTargeting + include Google::Apis::Core::Hashable + + # Optional. The targeted video delivery method. If unset, inventory will be + # targeted regardless of video delivery method. + # Corresponds to the JSON property `includedContentDeliveryMethod` + # @return [String] + attr_accessor :included_content_delivery_method + + # Optional. The targeted maximum video ad duration. If unset, inventory will be + # targeted regardless of maximum video ad duration. + # Corresponds to the JSON property `includedMaximumAdDurationTargeting` + # @return [String] + attr_accessor :included_maximum_ad_duration_targeting + + # Optional. The list of targeted video mime types using the IANA published MIME + # type strings (https://www.iana.org/assignments/media-types/media-types.xhtml). + # If empty, inventory will be targeted regardless of video mime type. + # Corresponds to the JSON property `includedMimeTypes` + # @return [Array] + attr_accessor :included_mime_types + + # Optional. The list of targeted video playback methods. If empty, inventory + # will be targeted regardless of video playback method. + # Corresponds to the JSON property `includedPlaybackMethods` + # @return [Array] + attr_accessor :included_playback_methods + + # Represents the size of the video player that can be targeted. Both width and + # height are required to be set to non-zero values. + # Corresponds to the JSON property `includedPlayerSizeTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::VideoPlayerSizeTargeting] + attr_accessor :included_player_size_targeting + + # Optional. The targeted video ad position types. If empty, inventory will be + # targeted regardless of video ad position type. + # Corresponds to the JSON property `includedPositionTypes` + # @return [Array] + attr_accessor :included_position_types + + # Optional. The targeted minimum predicted completion rate percentage. This + # value must be a multiple of 10 between 10 and 90 (inclusive). For example, 10 + # is valid, but 0, 15, and 100 are not. A value of 10 means that the + # configuration will only match adslots for which we predict at least 10% + # completion rate. An unset value indicates inventory will be targeted + # regardless of predicted completion rate. + # Corresponds to the JSON property `minimumPredictedCompletionRatePercentage` + # @return [Fixnum] + attr_accessor :minimum_predicted_completion_rate_percentage + + # Defines targeting criteria based on the video placement type, often + # corresponding to the IAB OpenRTB 'plcmt' field. + # Corresponds to the JSON property `plcmtTargeting` + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::VideoPlcmtTargeting] + attr_accessor :plcmt_targeting + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @included_content_delivery_method = args[:included_content_delivery_method] if args.key?(:included_content_delivery_method) + @included_maximum_ad_duration_targeting = args[:included_maximum_ad_duration_targeting] if args.key?(:included_maximum_ad_duration_targeting) + @included_mime_types = args[:included_mime_types] if args.key?(:included_mime_types) + @included_playback_methods = args[:included_playback_methods] if args.key?(:included_playback_methods) + @included_player_size_targeting = args[:included_player_size_targeting] if args.key?(:included_player_size_targeting) + @included_position_types = args[:included_position_types] if args.key?(:included_position_types) + @minimum_predicted_completion_rate_percentage = args[:minimum_predicted_completion_rate_percentage] if args.key?(:minimum_predicted_completion_rate_percentage) + @plcmt_targeting = args[:plcmt_targeting] if args.key?(:plcmt_targeting) + end + end + # Request message for pausing a finalized deal. class PauseFinalizedDealRequest include Google::Apis::Core::Hashable @@ -2212,6 +2719,31 @@ def update!(**args) end end + # Generic targeting with string values. + class StringTargetingDimension + include Google::Apis::Core::Hashable + + # Required. How the items in this list should be targeted. + # Corresponds to the JSON property `selectionType` + # @return [String] + attr_accessor :selection_type + + # Required. The values specified. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @selection_type = args[:selection_type] if args.key?(:selection_type) + @values = args[:values] if args.key?(:values) + end + end + # Request message for SubscribeAuctionPackage. class SubscribeAuctionPackageRequest include Google::Apis::Core::Hashable @@ -2247,6 +2779,32 @@ def update!(**args) end end + # Defines targeting criteria for handling the IAB audience and content Taxonomy + # ID space. + class TaxonomyTargeting + include Google::Apis::Core::Hashable + + # Optional. The list of excluded content taxonomy IDs. + # Corresponds to the JSON property `excludedTaxonomyIds` + # @return [Array] + attr_accessor :excluded_taxonomy_ids + + # Optional. The list of targeted content taxonomy IDs. + # Corresponds to the JSON property `targetedTaxonomyIds` + # @return [Array] + attr_accessor :targeted_taxonomy_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @excluded_taxonomy_ids = args[:excluded_taxonomy_ids] if args.key?(:excluded_taxonomy_ids) + @targeted_taxonomy_ids = args[:targeted_taxonomy_ids] if args.key?(:targeted_taxonomy_ids) + end + end + # Represents targeting about various types of technology. class TechnologyTargeting include Google::Apis::Core::Hashable @@ -2448,6 +3006,59 @@ def update!(**args) end end + # Represents the size of the video player that can be targeted. Both width and + # height are required to be set to non-zero values. + class VideoPlayerSizeTargeting + include Google::Apis::Core::Hashable + + # Required. The minimum height of the video player in pixels. + # Corresponds to the JSON property `minimumHeight` + # @return [Fixnum] + attr_accessor :minimum_height + + # Required. The minimum width of the video player in pixels. + # Corresponds to the JSON property `minimumWidth` + # @return [Fixnum] + attr_accessor :minimum_width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @minimum_height = args[:minimum_height] if args.key?(:minimum_height) + @minimum_width = args[:minimum_width] if args.key?(:minimum_width) + end + end + + # Defines targeting criteria based on the video placement type, often + # corresponding to the IAB OpenRTB 'plcmt' field. + class VideoPlcmtTargeting + include Google::Apis::Core::Hashable + + # Required. The selection type for the list of video plcmts. + # Corresponds to the JSON property `selectionType` + # @return [String] + attr_accessor :selection_type + + # Required. The list of targeted video plcmts types. If empty, inventory will be + # targeted regardless of video plcmt type. + # Corresponds to the JSON property `videoPlcmtTypes` + # @return [Array] + attr_accessor :video_plcmt_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @selection_type = args[:selection_type] if args.key?(:selection_type) + @video_plcmt_types = args[:video_plcmt_types] if args.key?(:video_plcmt_types) + end + end + # Represents targeting information about video. class VideoTargeting include Google::Apis::Core::Hashable diff --git a/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/gem_version.rb b/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/gem_version.rb index f427323b6bc..87c9215f895 100644 --- a/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/gem_version.rb +++ b/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module AuthorizedbuyersmarketplaceV1alpha # Version of the google-apis-authorizedbuyersmarketplace_v1alpha gem - GEM_VERSION = "0.10.0" + GEM_VERSION = "0.11.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 = "20251119" + REVISION = "20251211" end end end diff --git a/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/representations.rb b/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/representations.rb index b871da6ed17..680a63f8143 100644 --- a/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/representations.rb +++ b/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/representations.rb @@ -28,6 +28,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AccessControlSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ActivateClientRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -40,6 +46,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ActivateCuratedPackageRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ActivateDataSegmentRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -118,6 +130,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class CuratedPackage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DataSegment class Representation < Google::Apis::Core::JsonRepresentation; end @@ -148,6 +166,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class DeactivateCuratedPackageRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DeactivateDataSegmentRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -226,6 +250,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ListCuratedPackagesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListDataSegmentsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -244,6 +274,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ListMediaPlannersResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListProposalsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -292,6 +328,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class PackagePlacementTargeting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PackagePublisherProvidedSignalsTargeting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PackageTargeting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PackageVideoTargeting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PauseFinalizedDealRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -376,6 +436,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class StringTargetingDimension + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SubscribeAuctionPackageRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -388,6 +454,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class TaxonomyTargeting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TechnologyTargeting class Representation < Google::Apis::Core::JsonRepresentation; end @@ -430,6 +502,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class VideoPlayerSizeTargeting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VideoPlcmtTargeting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class VideoTargeting class Representation < Google::Apis::Core::JsonRepresentation; end @@ -443,6 +527,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class AccessControlSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :allowlisted_media_planners, as: 'allowlistedMediaPlanners' + end + end + class ActivateClientRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -455,6 +546,12 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class ActivateCuratedPackageRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class ActivateDataSegmentRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -576,6 +673,26 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class CuratedPackage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :access_settings, as: 'accessSettings', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::AccessControlSettings, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::AccessControlSettings::Representation + + property :create_time, as: 'createTime' + property :description, as: 'description' + property :display_name, as: 'displayName' + property :fee_cpm, as: 'feeCpm', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::Money, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::Money::Representation + + property :floor_price_cpm, as: 'floorPriceCpm', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::Money, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::Money::Representation + + property :name, as: 'name' + property :state, as: 'state' + property :targeting, as: 'targeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackageTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackageTargeting::Representation + + property :update_time, as: 'updateTime' + end + end + class DataSegment # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -620,6 +737,12 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class DeactivateCuratedPackageRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class DeactivateDataSegmentRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -768,6 +891,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class ListCuratedPackagesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :curated_packages, as: 'curatedPackages', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class ListDataSegmentsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -795,6 +927,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class ListMediaPlannersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :media_planners, as: 'mediaPlanners', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::MediaPlanner, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::MediaPlanner::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class ListProposalsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -842,6 +983,9 @@ class MediaPlanner # @private class Representation < Google::Apis::Core::JsonRepresentation property :account_id, as: 'accountId' + collection :ancestor_names, as: 'ancestorNames' + property :display_name, as: 'displayName' + property :name, as: 'name' end end @@ -881,6 +1025,79 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class PackagePlacementTargeting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :included_mobile_app_category_targeting, as: 'includedMobileAppCategoryTargeting' + property :mobile_app_targeting, as: 'mobileAppTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension::Representation + + property :uri_targeting, as: 'uriTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension::Representation + + end + end + + class PackagePublisherProvidedSignalsTargeting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audience_targeting, as: 'audienceTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::TaxonomyTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::TaxonomyTargeting::Representation + + property :content_targeting, as: 'contentTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::TaxonomyTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::TaxonomyTargeting::Representation + + property :video_and_audio_signals_targeting, as: 'videoAndAudioSignalsTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension::Representation + + end + end + + class PackageTargeting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :geo_targeting, as: 'geoTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CriteriaTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CriteriaTargeting::Representation + + property :included_accelerated_mobile_page_type, as: 'includedAcceleratedMobilePageType' + collection :included_ad_sizes, as: 'includedAdSizes', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::AdSize, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::AdSize::Representation + + collection :included_authorized_seller_statuses, as: 'includedAuthorizedSellerStatuses' + property :included_creative_format, as: 'includedCreativeFormat' + collection :included_data_segments, as: 'includedDataSegments' + collection :included_device_types, as: 'includedDeviceTypes' + property :included_environment, as: 'includedEnvironment' + collection :included_native_inventory_types, as: 'includedNativeInventoryTypes' + collection :included_open_measurement_types, as: 'includedOpenMeasurementTypes' + collection :included_restricted_categories, as: 'includedRestrictedCategories' + property :included_rewarded_type, as: 'includedRewardedType' + property :language_targeting, as: 'languageTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension::Representation + + property :minimum_predicted_click_through_rate_percentage_millis, :numeric_string => true, as: 'minimumPredictedClickThroughRatePercentageMillis' + property :minimum_predicted_viewability_percentage, :numeric_string => true, as: 'minimumPredictedViewabilityPercentage' + property :placement_targeting, as: 'placementTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackagePlacementTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackagePlacementTargeting::Representation + + property :publisher_provided_signals_targeting, as: 'publisherProvidedSignalsTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackagePublisherProvidedSignalsTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackagePublisherProvidedSignalsTargeting::Representation + + property :publisher_targeting, as: 'publisherTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::StringTargetingDimension::Representation + + property :vertical_targeting, as: 'verticalTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CriteriaTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CriteriaTargeting::Representation + + property :video_targeting, as: 'videoTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackageVideoTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::PackageVideoTargeting::Representation + + end + end + + class PackageVideoTargeting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :included_content_delivery_method, as: 'includedContentDeliveryMethod' + property :included_maximum_ad_duration_targeting, as: 'includedMaximumAdDurationTargeting' + collection :included_mime_types, as: 'includedMimeTypes' + collection :included_playback_methods, as: 'includedPlaybackMethods' + property :included_player_size_targeting, as: 'includedPlayerSizeTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::VideoPlayerSizeTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::VideoPlayerSizeTargeting::Representation + + collection :included_position_types, as: 'includedPositionTypes' + property :minimum_predicted_completion_rate_percentage, :numeric_string => true, as: 'minimumPredictedCompletionRatePercentage' + property :plcmt_targeting, as: 'plcmtTargeting', class: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::VideoPlcmtTargeting, decorator: Google::Apis::AuthorizedbuyersmarketplaceV1alpha::VideoPlcmtTargeting::Representation + + end + end + class PauseFinalizedDealRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1052,6 +1269,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class StringTargetingDimension + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :selection_type, as: 'selectionType' + collection :values, as: 'values' + end + end + class SubscribeAuctionPackageRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1065,6 +1290,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class TaxonomyTargeting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :excluded_taxonomy_ids, as: 'excludedTaxonomyIds' + collection :targeted_taxonomy_ids, as: 'targetedTaxonomyIds' + end + end + class TechnologyTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1125,6 +1358,22 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class VideoPlayerSizeTargeting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :minimum_height, :numeric_string => true, as: 'minimumHeight' + property :minimum_width, :numeric_string => true, as: 'minimumWidth' + end + end + + class VideoPlcmtTargeting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :selection_type, as: 'selectionType' + collection :video_plcmt_types, as: 'videoPlcmtTypes' + end + end + class VideoTargeting # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/service.rb b/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/service.rb index 18eb22a9059..5a9d9da23e8 100644 --- a/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/service.rb +++ b/generated/google-apis-authorizedbuyersmarketplace_v1alpha/lib/google/apis/authorizedbuyersmarketplace_v1alpha/service.rb @@ -1867,6 +1867,275 @@ def list_buyer_publisher_profiles(parent, filter: nil, page_size: nil, page_toke command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Activates an existing curated package. + # @param [String] name + # Required. The name of the curated package to activate. Format: `curators/` + # accountId`/curatedPackages/`curatedPackageId`` + # @param [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::ActivateCuratedPackageRequest] activate_curated_package_request_object + # @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::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage] + # + # @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 activate_curated_package(name, activate_curated_package_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha/{+name}:activate', options) + command.request_representation = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::ActivateCuratedPackageRequest::Representation + command.request_object = activate_curated_package_request_object + command.response_representation = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage::Representation + command.response_class = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage + command.params['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 + + # Creates a new curated package. + # @param [String] parent + # Required. The parent curator account where this curated package will be + # created. Format: `curators/`accountId`` + # @param [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage] curated_package_object + # @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::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage] + # + # @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 create_curator_curated_package(parent, curated_package_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha/{+parent}/curatedPackages', options) + command.request_representation = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage::Representation + command.request_object = curated_package_object + command.response_representation = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage::Representation + command.response_class = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deactivates an existing curated package. + # @param [String] name + # Required. The name of the curated package to deactivate. Format: `curators/` + # accountId`/curatedPackages/`curatedPackageId`` + # @param [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::DeactivateCuratedPackageRequest] deactivate_curated_package_request_object + # @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::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage] + # + # @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 deactivate_curated_package(name, deactivate_curated_package_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha/{+name}:deactivate', options) + command.request_representation = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::DeactivateCuratedPackageRequest::Representation + command.request_object = deactivate_curated_package_request_object + command.response_representation = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage::Representation + command.response_class = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage + command.params['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 a curated package given its resource name. + # @param [String] name + # Required. The name of the curated package to retrieve. Format: `curators/` + # accountId`/curatedPackages/`curatedPackageId`` + # @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::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage] + # + # @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_curator_curated_package(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1alpha/{+name}', options) + command.response_representation = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage::Representation + command.response_class = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage + command.params['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 + + # Lists curated packages owned by the specified curator. + # @param [String] parent + # Required. The parent curator account which owns this collection of curated + # packages. Format: `curators/`accountId`` + # @param [String] filter + # Optional. Optional query string using the [Cloud API list filtering syntax](/ + # authorized-buyers/apis/guides/list-filters). Supported columns for filtering + # are: * displayName * createTime * updateTime * state * feeCpm.currencyCode * + # feeCpm.units * feeCpm.nanos * floorPriceCpm.currencyCode * floorPriceCpm.units + # * floorPriceCpm.nanos + # @param [Fixnum] page_size + # Optional. Requested page size. The server may return fewer results than + # requested. Max allowed page size is 500. If unspecified, the server will + # default to 500. + # @param [String] page_token + # Optional. A page token, received from a previous `ListCuratedPackages` call. + # Provide this to retrieve the subsequent page. + # @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::AuthorizedbuyersmarketplaceV1alpha::ListCuratedPackagesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::ListCuratedPackagesResponse] + # + # @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_curator_curated_packages(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1alpha/{+parent}/curatedPackages', options) + command.response_representation = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::ListCuratedPackagesResponse::Representation + command.response_class = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::ListCuratedPackagesResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing curated package. + # @param [String] name + # Identifier. The unique resource name for the curated package. Format: ` + # curators/`accountId`/curatedPackages/`curatedPackageId`` + # @param [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage] curated_package_object + # @param [String] update_mask + # Optional. List of fields to be updated. If empty or unspecified, the service + # will update all fields populated in the update request excluding the output + # only fields and primitive fields with default value. Note that explicit field + # mask is required in order to reset a primitive field back to its default value, + # for example, false for boolean fields, 0 for integer fields. A special field + # mask consisting of a single path "*" can be used to indicate full replacement ( + # the equivalent of PUT method), updatable fields unset or unspecified in the + # input will be cleared or set to default value. Output only fields will be + # ignored regardless of the value of updateMask. + # @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::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage] + # + # @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 patch_curator_curated_package(name, curated_package_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1alpha/{+name}', options) + command.request_representation = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage::Representation + command.request_object = curated_package_object + command.response_representation = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage::Representation + command.response_class = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::CuratedPackage + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all media planner accounts that the caller has access to. For curators, + # this will return all media planners that have accepted curator terms. For + # other accounts, attempting to list media planners will return an error. + # @param [String] filter + # Optional query string using the [Cloud API list filtering syntax](/authorized- + # buyers/apis/guides/list-filters). Supported columns for filtering are: * `name` + # * `displayName` * `ancestorNames` + # @param [Fixnum] page_size + # The maximum number of media planners to return. If unspecified, at most 100 + # media planners will be returned. The maximum value is 500; values above 500 + # will be coerced to 500. + # @param [String] page_token + # A token identifying a page of results the server should return. This value is + # received from a previous `ListMediaPlanners` call in ListMediaPlannersResponse. + # nextPageToken. + # @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::AuthorizedbuyersmarketplaceV1alpha::ListMediaPlannersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AuthorizedbuyersmarketplaceV1alpha::ListMediaPlannersResponse] + # + # @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_media_planners(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1alpha/mediaPlanners', options) + command.response_representation = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::ListMediaPlannersResponse::Representation + command.response_class = Google::Apis::AuthorizedbuyersmarketplaceV1alpha::ListMediaPlannersResponse + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end protected