google-apis-adexchangebuyer2_v2beta1 0.23.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4fa4812cdc1fd11361230d04555d08bd18c7359bc2f6272a2d39dae5523108f2
4
- data.tar.gz: c4a8e7a3069820917f796762e851bdc1a733e3188a2b5c5aa7eced762dcb7bd4
3
+ metadata.gz: e4638673d57af14001d6a5b980840f9ff7391af9bbe4a16077c43dc8113c7963
4
+ data.tar.gz: 93bdae3a78f1cb257e5494cc3d53836d1acbcbf5c65f54c76cc45212fb709571
5
5
  SHA512:
6
- metadata.gz: de65dc5a1024cb76a29604f71ec04f81af30c6e855914dbd4f308d0f2b2f34f5bfbacee28957278609978346647979526c8b5c598aa56b201274356b3e53820c
7
- data.tar.gz: 91873d3e902b23aaf40e9022189c51c15dd1e77c78d032576a231f831e2d79302a3341463a4dd74859b7c6aca8fb13a74e876a1cd4d838e8cc408b893d69caac
6
+ metadata.gz: fc1431dd5f87df6b21c195625605e729bc6fc10b820eb5602ce218b624aeb5553de1955df414bfb5543f4442b34635dd43125cd33a2be8abfc3863fbfe33cf42
7
+ data.tar.gz: f851be9c53f043df012efaef0402829387573d9c8b06331f65b1e435a5145f5454d5de3f1cb005ce6d1339da53d32407662aa290bf218239aa603a209c898dc3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-adexchangebuyer2_v2beta1
2
2
 
3
+ ### v0.25.0 (2024-01-23)
4
+
5
+ * Regenerated using generator version 0.13.0
6
+
7
+ ### v0.24.0 (2023-12-10)
8
+
9
+ * Regenerated from discovery document revision 20231206
10
+
3
11
  ### v0.23.0 (2023-05-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20230502
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module Adexchangebuyer2V2beta1
18
18
  # Version of the google-apis-adexchangebuyer2_v2beta1 gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230502"
25
+ REVISION = "20231206"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,8 @@ module Google
34
34
  #
35
35
  # @see https://developers.google.com/authorized-buyers/apis/reference/rest/
36
36
  class AdExchangeBuyerIIService < Google::Apis::Core::BaseService
37
+ DEFAULT_ENDPOINT_TEMPLATE = "https://adexchangebuyer.$UNIVERSE_DOMAIN$/"
38
+
37
39
  # @return [String]
38
40
  # API key. Your API key identifies your project and provides you with API access,
39
41
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -45,7 +47,7 @@ module Google
45
47
  attr_accessor :quota_user
46
48
 
47
49
  def initialize
48
- super('https://adexchangebuyer.googleapis.com/', '',
50
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
49
51
  client_name: 'google-apis-adexchangebuyer2_v2beta1',
50
52
  client_version: Google::Apis::Adexchangebuyer2V2beta1::GEM_VERSION)
51
53
  @batch_path = 'batch'
@@ -2712,6 +2714,620 @@ module Google
2712
2714
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2713
2715
  execute_or_queue_command(command, &block)
2714
2716
  end
2717
+
2718
+ # Creates the specified filter set for the account with the given account ID.
2719
+ # @param [String] owner_name
2720
+ # Name of the owner (bidder or account) of the filter set to be created. For
2721
+ # example: - For a bidder-level filter set for bidder 123: `bidders/123` - For
2722
+ # an account-level filter set for the buyer account representing bidder 123: `
2723
+ # bidders/123/accounts/123` - For an account-level filter set for the child seat
2724
+ # buyer account 456 whose bidder is 123: `bidders/123/accounts/456`
2725
+ # @param [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] filter_set_object
2726
+ # @param [Boolean] is_transient
2727
+ # Whether the filter set is transient, or should be persisted indefinitely. By
2728
+ # default, filter sets are not transient. If transient, it will be available for
2729
+ # at least 1 hour after creation.
2730
+ # @param [String] fields
2731
+ # Selector specifying which fields to include in a partial response.
2732
+ # @param [String] quota_user
2733
+ # Available to use for quota purposes for server-side applications. Can be any
2734
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2735
+ # @param [Google::Apis::RequestOptions] options
2736
+ # Request-specific options
2737
+ #
2738
+ # @yield [result, err] Result & error if block supplied
2739
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] parsed result object
2740
+ # @yieldparam err [StandardError] error object if request failed
2741
+ #
2742
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::FilterSet]
2743
+ #
2744
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2745
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2746
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2747
+ def create_buyer_filter_set(owner_name, filter_set_object = nil, is_transient: nil, fields: nil, quota_user: nil, options: nil, &block)
2748
+ command = make_simple_command(:post, 'v2beta1/{+ownerName}/filterSets', options)
2749
+ command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
2750
+ command.request_object = filter_set_object
2751
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
2752
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
2753
+ command.params['ownerName'] = owner_name unless owner_name.nil?
2754
+ command.query['isTransient'] = is_transient unless is_transient.nil?
2755
+ command.query['fields'] = fields unless fields.nil?
2756
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2757
+ execute_or_queue_command(command, &block)
2758
+ end
2759
+
2760
+ # Deletes the requested filter set from the account with the given account ID.
2761
+ # @param [String] name
2762
+ # Full name of the resource to delete. For example: - For a bidder-level filter
2763
+ # set for bidder 123: `bidders/123/filterSets/abc` - For an account-level filter
2764
+ # set for the buyer account representing bidder 123: `bidders/123/accounts/123/
2765
+ # filterSets/abc` - For an account-level filter set for the child seat buyer
2766
+ # account 456 whose bidder is 123: `bidders/123/accounts/456/filterSets/abc`
2767
+ # @param [String] fields
2768
+ # Selector specifying which fields to include in a partial response.
2769
+ # @param [String] quota_user
2770
+ # Available to use for quota purposes for server-side applications. Can be any
2771
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2772
+ # @param [Google::Apis::RequestOptions] options
2773
+ # Request-specific options
2774
+ #
2775
+ # @yield [result, err] Result & error if block supplied
2776
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object
2777
+ # @yieldparam err [StandardError] error object if request failed
2778
+ #
2779
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty]
2780
+ #
2781
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2782
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2783
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2784
+ def delete_buyer_filter_set(name, fields: nil, quota_user: nil, options: nil, &block)
2785
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
2786
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation
2787
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty
2788
+ command.params['name'] = name unless name.nil?
2789
+ command.query['fields'] = fields unless fields.nil?
2790
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2791
+ execute_or_queue_command(command, &block)
2792
+ end
2793
+
2794
+ # Retrieves the requested filter set for the account with the given account ID.
2795
+ # @param [String] name
2796
+ # Full name of the resource being requested. For example: - For a bidder-level
2797
+ # filter set for bidder 123: `bidders/123/filterSets/abc` - For an account-level
2798
+ # filter set for the buyer account representing bidder 123: `bidders/123/
2799
+ # accounts/123/filterSets/abc` - For an account-level filter set for the child
2800
+ # seat buyer account 456 whose bidder is 123: `bidders/123/accounts/456/
2801
+ # filterSets/abc`
2802
+ # @param [String] fields
2803
+ # Selector specifying which fields to include in a partial response.
2804
+ # @param [String] quota_user
2805
+ # Available to use for quota purposes for server-side applications. Can be any
2806
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2807
+ # @param [Google::Apis::RequestOptions] options
2808
+ # Request-specific options
2809
+ #
2810
+ # @yield [result, err] Result & error if block supplied
2811
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::FilterSet] parsed result object
2812
+ # @yieldparam err [StandardError] error object if request failed
2813
+ #
2814
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::FilterSet]
2815
+ #
2816
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2817
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2818
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2819
+ def get_buyer_filter_set(name, fields: nil, quota_user: nil, options: nil, &block)
2820
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
2821
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::FilterSet::Representation
2822
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::FilterSet
2823
+ command.params['name'] = name unless name.nil?
2824
+ command.query['fields'] = fields unless fields.nil?
2825
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2826
+ execute_or_queue_command(command, &block)
2827
+ end
2828
+
2829
+ # Lists all filter sets for the account with the given account ID.
2830
+ # @param [String] owner_name
2831
+ # Name of the owner (bidder or account) of the filter sets to be listed. For
2832
+ # example: - For a bidder-level filter set for bidder 123: `bidders/123` - For
2833
+ # an account-level filter set for the buyer account representing bidder 123: `
2834
+ # bidders/123/accounts/123` - For an account-level filter set for the child seat
2835
+ # buyer account 456 whose bidder is 123: `bidders/123/accounts/456`
2836
+ # @param [Fixnum] page_size
2837
+ # Requested page size. The server may return fewer results than requested. If
2838
+ # unspecified, the server will pick an appropriate default.
2839
+ # @param [String] page_token
2840
+ # A token identifying a page of results the server should return. Typically,
2841
+ # this is the value of ListFilterSetsResponse.nextPageToken returned from the
2842
+ # previous call to the accounts.filterSets.list method.
2843
+ # @param [String] fields
2844
+ # Selector specifying which fields to include in a partial response.
2845
+ # @param [String] quota_user
2846
+ # Available to use for quota purposes for server-side applications. Can be any
2847
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2848
+ # @param [Google::Apis::RequestOptions] options
2849
+ # Request-specific options
2850
+ #
2851
+ # @yield [result, err] Result & error if block supplied
2852
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse] parsed result object
2853
+ # @yieldparam err [StandardError] error object if request failed
2854
+ #
2855
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse]
2856
+ #
2857
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2858
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2859
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2860
+ def list_buyer_filter_sets(owner_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2861
+ command = make_simple_command(:get, 'v2beta1/{+ownerName}/filterSets', options)
2862
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse::Representation
2863
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilterSetsResponse
2864
+ command.params['ownerName'] = owner_name unless owner_name.nil?
2865
+ command.query['pageSize'] = page_size unless page_size.nil?
2866
+ command.query['pageToken'] = page_token unless page_token.nil?
2867
+ command.query['fields'] = fields unless fields.nil?
2868
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2869
+ execute_or_queue_command(command, &block)
2870
+ end
2871
+
2872
+ # Lists all metrics that are measured in terms of number of bids.
2873
+ # @param [String] filter_set_name
2874
+ # Name of the filter set that should be applied to the requested metrics. For
2875
+ # example: - For a bidder-level filter set for bidder 123: `bidders/123/
2876
+ # filterSets/abc` - For an account-level filter set for the buyer account
2877
+ # representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - For an
2878
+ # account-level filter set for the child seat buyer account 456 whose bidder is
2879
+ # 123: `bidders/123/accounts/456/filterSets/abc`
2880
+ # @param [Fixnum] page_size
2881
+ # Requested page size. The server may return fewer results than requested. If
2882
+ # unspecified, the server will pick an appropriate default.
2883
+ # @param [String] page_token
2884
+ # A token identifying a page of results the server should return. Typically,
2885
+ # this is the value of ListBidMetricsResponse.nextPageToken returned from the
2886
+ # previous call to the bidMetrics.list method.
2887
+ # @param [String] fields
2888
+ # Selector specifying which fields to include in a partial response.
2889
+ # @param [String] quota_user
2890
+ # Available to use for quota purposes for server-side applications. Can be any
2891
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2892
+ # @param [Google::Apis::RequestOptions] options
2893
+ # Request-specific options
2894
+ #
2895
+ # @yield [result, err] Result & error if block supplied
2896
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse] parsed result object
2897
+ # @yieldparam err [StandardError] error object if request failed
2898
+ #
2899
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse]
2900
+ #
2901
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2902
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2903
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2904
+ def list_buyer_filter_set_bid_metrics(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2905
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidMetrics', options)
2906
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse::Representation
2907
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidMetricsResponse
2908
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
2909
+ command.query['pageSize'] = page_size unless page_size.nil?
2910
+ command.query['pageToken'] = page_token unless page_token.nil?
2911
+ command.query['fields'] = fields unless fields.nil?
2912
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2913
+ execute_or_queue_command(command, &block)
2914
+ end
2915
+
2916
+ # List all errors that occurred in bid responses, with the number of bid
2917
+ # responses affected for each reason.
2918
+ # @param [String] filter_set_name
2919
+ # Name of the filter set that should be applied to the requested metrics. For
2920
+ # example: - For a bidder-level filter set for bidder 123: `bidders/123/
2921
+ # filterSets/abc` - For an account-level filter set for the buyer account
2922
+ # representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - For an
2923
+ # account-level filter set for the child seat buyer account 456 whose bidder is
2924
+ # 123: `bidders/123/accounts/456/filterSets/abc`
2925
+ # @param [Fixnum] page_size
2926
+ # Requested page size. The server may return fewer results than requested. If
2927
+ # unspecified, the server will pick an appropriate default.
2928
+ # @param [String] page_token
2929
+ # A token identifying a page of results the server should return. Typically,
2930
+ # this is the value of ListBidResponseErrorsResponse.nextPageToken returned from
2931
+ # the previous call to the bidResponseErrors.list method.
2932
+ # @param [String] fields
2933
+ # Selector specifying which fields to include in a partial response.
2934
+ # @param [String] quota_user
2935
+ # Available to use for quota purposes for server-side applications. Can be any
2936
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2937
+ # @param [Google::Apis::RequestOptions] options
2938
+ # Request-specific options
2939
+ #
2940
+ # @yield [result, err] Result & error if block supplied
2941
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse] parsed result object
2942
+ # @yieldparam err [StandardError] error object if request failed
2943
+ #
2944
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse]
2945
+ #
2946
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2947
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2948
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2949
+ def list_buyer_filter_set_bid_response_errors(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2950
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponseErrors', options)
2951
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse::Representation
2952
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponseErrorsResponse
2953
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
2954
+ command.query['pageSize'] = page_size unless page_size.nil?
2955
+ command.query['pageToken'] = page_token unless page_token.nil?
2956
+ command.query['fields'] = fields unless fields.nil?
2957
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2958
+ execute_or_queue_command(command, &block)
2959
+ end
2960
+
2961
+ # List all reasons for which bid responses were considered to have no applicable
2962
+ # bids, with the number of bid responses affected for each reason.
2963
+ # @param [String] filter_set_name
2964
+ # Name of the filter set that should be applied to the requested metrics. For
2965
+ # example: - For a bidder-level filter set for bidder 123: `bidders/123/
2966
+ # filterSets/abc` - For an account-level filter set for the buyer account
2967
+ # representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - For an
2968
+ # account-level filter set for the child seat buyer account 456 whose bidder is
2969
+ # 123: `bidders/123/accounts/456/filterSets/abc`
2970
+ # @param [Fixnum] page_size
2971
+ # Requested page size. The server may return fewer results than requested. If
2972
+ # unspecified, the server will pick an appropriate default.
2973
+ # @param [String] page_token
2974
+ # A token identifying a page of results the server should return. Typically,
2975
+ # this is the value of ListBidResponsesWithoutBidsResponse.nextPageToken
2976
+ # returned from the previous call to the bidResponsesWithoutBids.list method.
2977
+ # @param [String] fields
2978
+ # Selector specifying which fields to include in a partial response.
2979
+ # @param [String] quota_user
2980
+ # Available to use for quota purposes for server-side applications. Can be any
2981
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2982
+ # @param [Google::Apis::RequestOptions] options
2983
+ # Request-specific options
2984
+ #
2985
+ # @yield [result, err] Result & error if block supplied
2986
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse] parsed result object
2987
+ # @yieldparam err [StandardError] error object if request failed
2988
+ #
2989
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse]
2990
+ #
2991
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2992
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2993
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2994
+ def list_buyer_filter_set_bid_responses_without_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2995
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/bidResponsesWithoutBids', options)
2996
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse::Representation
2997
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListBidResponsesWithoutBidsResponse
2998
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
2999
+ command.query['pageSize'] = page_size unless page_size.nil?
3000
+ command.query['pageToken'] = page_token unless page_token.nil?
3001
+ command.query['fields'] = fields unless fields.nil?
3002
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3003
+ execute_or_queue_command(command, &block)
3004
+ end
3005
+
3006
+ # List all reasons that caused a bid request not to be sent for an impression,
3007
+ # with the number of bid requests not sent for each reason.
3008
+ # @param [String] filter_set_name
3009
+ # Name of the filter set that should be applied to the requested metrics. For
3010
+ # example: - For a bidder-level filter set for bidder 123: `bidders/123/
3011
+ # filterSets/abc` - For an account-level filter set for the buyer account
3012
+ # representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - For an
3013
+ # account-level filter set for the child seat buyer account 456 whose bidder is
3014
+ # 123: `bidders/123/accounts/456/filterSets/abc`
3015
+ # @param [Fixnum] page_size
3016
+ # Requested page size. The server may return fewer results than requested. If
3017
+ # unspecified, the server will pick an appropriate default.
3018
+ # @param [String] page_token
3019
+ # A token identifying a page of results the server should return. Typically,
3020
+ # this is the value of ListFilteredBidRequestsResponse.nextPageToken returned
3021
+ # from the previous call to the filteredBidRequests.list method.
3022
+ # @param [String] fields
3023
+ # Selector specifying which fields to include in a partial response.
3024
+ # @param [String] quota_user
3025
+ # Available to use for quota purposes for server-side applications. Can be any
3026
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3027
+ # @param [Google::Apis::RequestOptions] options
3028
+ # Request-specific options
3029
+ #
3030
+ # @yield [result, err] Result & error if block supplied
3031
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse] parsed result object
3032
+ # @yieldparam err [StandardError] error object if request failed
3033
+ #
3034
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse]
3035
+ #
3036
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3037
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3038
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3039
+ def list_buyer_filter_set_filtered_bid_requests(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3040
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBidRequests', options)
3041
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse::Representation
3042
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidRequestsResponse
3043
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
3044
+ command.query['pageSize'] = page_size unless page_size.nil?
3045
+ command.query['pageToken'] = page_token unless page_token.nil?
3046
+ command.query['fields'] = fields unless fields.nil?
3047
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3048
+ execute_or_queue_command(command, &block)
3049
+ end
3050
+
3051
+ # List all reasons for which bids were filtered, with the number of bids
3052
+ # filtered for each reason.
3053
+ # @param [String] filter_set_name
3054
+ # Name of the filter set that should be applied to the requested metrics. For
3055
+ # example: - For a bidder-level filter set for bidder 123: `bidders/123/
3056
+ # filterSets/abc` - For an account-level filter set for the buyer account
3057
+ # representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - For an
3058
+ # account-level filter set for the child seat buyer account 456 whose bidder is
3059
+ # 123: `bidders/123/accounts/456/filterSets/abc`
3060
+ # @param [Fixnum] page_size
3061
+ # Requested page size. The server may return fewer results than requested. If
3062
+ # unspecified, the server will pick an appropriate default.
3063
+ # @param [String] page_token
3064
+ # A token identifying a page of results the server should return. Typically,
3065
+ # this is the value of ListFilteredBidsResponse.nextPageToken returned from the
3066
+ # previous call to the filteredBids.list method.
3067
+ # @param [String] fields
3068
+ # Selector specifying which fields to include in a partial response.
3069
+ # @param [String] quota_user
3070
+ # Available to use for quota purposes for server-side applications. Can be any
3071
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3072
+ # @param [Google::Apis::RequestOptions] options
3073
+ # Request-specific options
3074
+ #
3075
+ # @yield [result, err] Result & error if block supplied
3076
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse] parsed result object
3077
+ # @yieldparam err [StandardError] error object if request failed
3078
+ #
3079
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse]
3080
+ #
3081
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3082
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3083
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3084
+ def list_buyer_filter_set_filtered_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3085
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids', options)
3086
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse::Representation
3087
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListFilteredBidsResponse
3088
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
3089
+ command.query['pageSize'] = page_size unless page_size.nil?
3090
+ command.query['pageToken'] = page_token unless page_token.nil?
3091
+ command.query['fields'] = fields unless fields.nil?
3092
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3093
+ execute_or_queue_command(command, &block)
3094
+ end
3095
+
3096
+ # List all creatives associated with a specific reason for which bids were
3097
+ # filtered, with the number of bids filtered for each creative.
3098
+ # @param [String] filter_set_name
3099
+ # Name of the filter set that should be applied to the requested metrics. For
3100
+ # example: - For a bidder-level filter set for bidder 123: `bidders/123/
3101
+ # filterSets/abc` - For an account-level filter set for the buyer account
3102
+ # representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - For an
3103
+ # account-level filter set for the child seat buyer account 456 whose bidder is
3104
+ # 123: `bidders/123/accounts/456/filterSets/abc`
3105
+ # @param [Fixnum] creative_status_id
3106
+ # The ID of the creative status for which to retrieve a breakdown by creative.
3107
+ # See [creative-status-codes](https://developers.google.com/authorized-buyers/
3108
+ # rtb/downloads/creative-status-codes).
3109
+ # @param [Fixnum] page_size
3110
+ # Requested page size. The server may return fewer results than requested. If
3111
+ # unspecified, the server will pick an appropriate default.
3112
+ # @param [String] page_token
3113
+ # A token identifying a page of results the server should return. Typically,
3114
+ # this is the value of ListCreativeStatusBreakdownByCreativeResponse.
3115
+ # nextPageToken returned from the previous call to the filteredBids.creatives.
3116
+ # list method.
3117
+ # @param [String] fields
3118
+ # Selector specifying which fields to include in a partial response.
3119
+ # @param [String] quota_user
3120
+ # Available to use for quota purposes for server-side applications. Can be any
3121
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3122
+ # @param [Google::Apis::RequestOptions] options
3123
+ # Request-specific options
3124
+ #
3125
+ # @yield [result, err] Result & error if block supplied
3126
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse] parsed result object
3127
+ # @yieldparam err [StandardError] error object if request failed
3128
+ #
3129
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse]
3130
+ #
3131
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3132
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3133
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3134
+ def list_buyer_filter_set_filtered_bid_creatives(filter_set_name, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3135
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives', options)
3136
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse::Representation
3137
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByCreativeResponse
3138
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
3139
+ command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil?
3140
+ command.query['pageSize'] = page_size unless page_size.nil?
3141
+ command.query['pageToken'] = page_token unless page_token.nil?
3142
+ command.query['fields'] = fields unless fields.nil?
3143
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3144
+ execute_or_queue_command(command, &block)
3145
+ end
3146
+
3147
+ # List all details associated with a specific reason for which bids were
3148
+ # filtered, with the number of bids filtered for each detail.
3149
+ # @param [String] filter_set_name
3150
+ # Name of the filter set that should be applied to the requested metrics. For
3151
+ # example: - For a bidder-level filter set for bidder 123: `bidders/123/
3152
+ # filterSets/abc` - For an account-level filter set for the buyer account
3153
+ # representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - For an
3154
+ # account-level filter set for the child seat buyer account 456 whose bidder is
3155
+ # 123: `bidders/123/accounts/456/filterSets/abc`
3156
+ # @param [Fixnum] creative_status_id
3157
+ # The ID of the creative status for which to retrieve a breakdown by detail. See
3158
+ # [creative-status-codes](https://developers.google.com/authorized-buyers/rtb/
3159
+ # downloads/creative-status-codes). Details are only available for statuses 10,
3160
+ # 14, 15, 17, 18, 19, 86, and 87.
3161
+ # @param [Fixnum] page_size
3162
+ # Requested page size. The server may return fewer results than requested. If
3163
+ # unspecified, the server will pick an appropriate default.
3164
+ # @param [String] page_token
3165
+ # A token identifying a page of results the server should return. Typically,
3166
+ # this is the value of ListCreativeStatusBreakdownByDetailResponse.nextPageToken
3167
+ # returned from the previous call to the filteredBids.details.list method.
3168
+ # @param [String] fields
3169
+ # Selector specifying which fields to include in a partial response.
3170
+ # @param [String] quota_user
3171
+ # Available to use for quota purposes for server-side applications. Can be any
3172
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3173
+ # @param [Google::Apis::RequestOptions] options
3174
+ # Request-specific options
3175
+ #
3176
+ # @yield [result, err] Result & error if block supplied
3177
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse] parsed result object
3178
+ # @yieldparam err [StandardError] error object if request failed
3179
+ #
3180
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse]
3181
+ #
3182
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3183
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3184
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3185
+ def list_buyer_filter_set_filtered_bid_details(filter_set_name, creative_status_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3186
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details', options)
3187
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse::Representation
3188
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativeStatusBreakdownByDetailResponse
3189
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
3190
+ command.params['creativeStatusId'] = creative_status_id unless creative_status_id.nil?
3191
+ command.query['pageSize'] = page_size unless page_size.nil?
3192
+ command.query['pageToken'] = page_token unless page_token.nil?
3193
+ command.query['fields'] = fields unless fields.nil?
3194
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3195
+ execute_or_queue_command(command, &block)
3196
+ end
3197
+
3198
+ # Lists all metrics that are measured in terms of number of impressions.
3199
+ # @param [String] filter_set_name
3200
+ # Name of the filter set that should be applied to the requested metrics. For
3201
+ # example: - For a bidder-level filter set for bidder 123: `bidders/123/
3202
+ # filterSets/abc` - For an account-level filter set for the buyer account
3203
+ # representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - For an
3204
+ # account-level filter set for the child seat buyer account 456 whose bidder is
3205
+ # 123: `bidders/123/accounts/456/filterSets/abc`
3206
+ # @param [Fixnum] page_size
3207
+ # Requested page size. The server may return fewer results than requested. If
3208
+ # unspecified, the server will pick an appropriate default.
3209
+ # @param [String] page_token
3210
+ # A token identifying a page of results the server should return. Typically,
3211
+ # this is the value of ListImpressionMetricsResponse.nextPageToken returned from
3212
+ # the previous call to the impressionMetrics.list method.
3213
+ # @param [String] fields
3214
+ # Selector specifying which fields to include in a partial response.
3215
+ # @param [String] quota_user
3216
+ # Available to use for quota purposes for server-side applications. Can be any
3217
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3218
+ # @param [Google::Apis::RequestOptions] options
3219
+ # Request-specific options
3220
+ #
3221
+ # @yield [result, err] Result & error if block supplied
3222
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse] parsed result object
3223
+ # @yieldparam err [StandardError] error object if request failed
3224
+ #
3225
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse]
3226
+ #
3227
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3228
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3229
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3230
+ def list_buyer_filter_set_impression_metrics(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3231
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/impressionMetrics', options)
3232
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse::Representation
3233
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListImpressionMetricsResponse
3234
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
3235
+ command.query['pageSize'] = page_size unless page_size.nil?
3236
+ command.query['pageToken'] = page_token unless page_token.nil?
3237
+ command.query['fields'] = fields unless fields.nil?
3238
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3239
+ execute_or_queue_command(command, &block)
3240
+ end
3241
+
3242
+ # List all reasons for which bids lost in the auction, with the number of bids
3243
+ # that lost for each reason.
3244
+ # @param [String] filter_set_name
3245
+ # Name of the filter set that should be applied to the requested metrics. For
3246
+ # example: - For a bidder-level filter set for bidder 123: `bidders/123/
3247
+ # filterSets/abc` - For an account-level filter set for the buyer account
3248
+ # representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - For an
3249
+ # account-level filter set for the child seat buyer account 456 whose bidder is
3250
+ # 123: `bidders/123/accounts/456/filterSets/abc`
3251
+ # @param [Fixnum] page_size
3252
+ # Requested page size. The server may return fewer results than requested. If
3253
+ # unspecified, the server will pick an appropriate default.
3254
+ # @param [String] page_token
3255
+ # A token identifying a page of results the server should return. Typically,
3256
+ # this is the value of ListLosingBidsResponse.nextPageToken returned from the
3257
+ # previous call to the losingBids.list method.
3258
+ # @param [String] fields
3259
+ # Selector specifying which fields to include in a partial response.
3260
+ # @param [String] quota_user
3261
+ # Available to use for quota purposes for server-side applications. Can be any
3262
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3263
+ # @param [Google::Apis::RequestOptions] options
3264
+ # Request-specific options
3265
+ #
3266
+ # @yield [result, err] Result & error if block supplied
3267
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse] parsed result object
3268
+ # @yieldparam err [StandardError] error object if request failed
3269
+ #
3270
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse]
3271
+ #
3272
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3273
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3274
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3275
+ def list_buyer_filter_set_losing_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3276
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/losingBids', options)
3277
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse::Representation
3278
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListLosingBidsResponse
3279
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
3280
+ command.query['pageSize'] = page_size unless page_size.nil?
3281
+ command.query['pageToken'] = page_token unless page_token.nil?
3282
+ command.query['fields'] = fields unless fields.nil?
3283
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3284
+ execute_or_queue_command(command, &block)
3285
+ end
3286
+
3287
+ # List all reasons for which winning bids were not billable, with the number of
3288
+ # bids not billed for each reason.
3289
+ # @param [String] filter_set_name
3290
+ # Name of the filter set that should be applied to the requested metrics. For
3291
+ # example: - For a bidder-level filter set for bidder 123: `bidders/123/
3292
+ # filterSets/abc` - For an account-level filter set for the buyer account
3293
+ # representing bidder 123: `bidders/123/accounts/123/filterSets/abc` - For an
3294
+ # account-level filter set for the child seat buyer account 456 whose bidder is
3295
+ # 123: `bidders/123/accounts/456/filterSets/abc`
3296
+ # @param [Fixnum] page_size
3297
+ # Requested page size. The server may return fewer results than requested. If
3298
+ # unspecified, the server will pick an appropriate default.
3299
+ # @param [String] page_token
3300
+ # A token identifying a page of results the server should return. Typically,
3301
+ # this is the value of ListNonBillableWinningBidsResponse.nextPageToken returned
3302
+ # from the previous call to the nonBillableWinningBids.list method.
3303
+ # @param [String] fields
3304
+ # Selector specifying which fields to include in a partial response.
3305
+ # @param [String] quota_user
3306
+ # Available to use for quota purposes for server-side applications. Can be any
3307
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3308
+ # @param [Google::Apis::RequestOptions] options
3309
+ # Request-specific options
3310
+ #
3311
+ # @yield [result, err] Result & error if block supplied
3312
+ # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse] parsed result object
3313
+ # @yieldparam err [StandardError] error object if request failed
3314
+ #
3315
+ # @return [Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse]
3316
+ #
3317
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3318
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3319
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3320
+ def list_buyer_filter_set_non_billable_winning_bids(filter_set_name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3321
+ command = make_simple_command(:get, 'v2beta1/{+filterSetName}/nonBillableWinningBids', options)
3322
+ command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse::Representation
3323
+ command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListNonBillableWinningBidsResponse
3324
+ command.params['filterSetName'] = filter_set_name unless filter_set_name.nil?
3325
+ command.query['pageSize'] = page_size unless page_size.nil?
3326
+ command.query['pageToken'] = page_token unless page_token.nil?
3327
+ command.query['fields'] = fields unless fields.nil?
3328
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3329
+ execute_or_queue_command(command, &block)
3330
+ end
2715
3331
 
2716
3332
  protected
2717
3333
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-adexchangebuyer2_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-07 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-adexchangebuyer2_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-adexchangebuyer2_v2beta1/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-adexchangebuyer2_v2beta1/v0.25.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-adexchangebuyer2_v2beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Ad Exchange Buyer API II V2beta1