Class: Google::Apis::DisplayvideoV1::SearchTargetingOptionsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::SearchTargetingOptionsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb
Overview
Request message for SearchTargetingOptions.
Instance Attribute Summary collapse
-
#advertiser_id ⇒ Fixnum
Required.
-
#geo_region_search_terms ⇒ Google::Apis::DisplayvideoV1::GeoRegionSearchTerms
Search terms for geo region targeting options.
-
#page_size ⇒ Fixnum
Requested page size.
-
#page_token ⇒ String
A token identifying a page of results the server should return.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchTargetingOptionsRequest
constructor
A new instance of SearchTargetingOptionsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SearchTargetingOptionsRequest
Returns a new instance of SearchTargetingOptionsRequest.
7691 7692 7693 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7691 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advertiser_id ⇒ Fixnum
Required. The Advertiser this request is being made in the context of.
Corresponds to the JSON property advertiserId
7669 7670 7671 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7669 def advertiser_id @advertiser_id end |
#geo_region_search_terms ⇒ Google::Apis::DisplayvideoV1::GeoRegionSearchTerms
Search terms for geo region targeting options.
Corresponds to the JSON property geoRegionSearchTerms
7674 7675 7676 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7674 def geo_region_search_terms @geo_region_search_terms end |
#page_size ⇒ Fixnum
Requested page size. Must be between 1 and 100. If unspecified will
default to 100. Returns error code INVALID_ARGUMENT if an invalid value is
specified.
Corresponds to the JSON property pageSize
7681 7682 7683 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7681 def page_size @page_size end |
#page_token ⇒ String
A token identifying a page of results the server should return. Typically,
this is the value of next_page_token returned from the previous call to
SearchTargetingOptions method. If not specified, the first page of results
will be returned.
Corresponds to the JSON property pageToken
7689 7690 7691 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7689 def page_token @page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7696 7697 7698 7699 7700 7701 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 7696 def update!(**args) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @geo_region_search_terms = args[:geo_region_search_terms] if args.key?(:geo_region_search_terms) @page_size = args[:page_size] if args.key?(:page_size) @page_token = args[:page_token] if args.key?(:page_token) end |