class Google::Apis::DisplayvideoV1::SearchTargetingOptionsRequest

Request message for SearchTargetingOptions.

Attributes

advertiser_id[RW]

Required. The Advertiser this request is being made in the context of. Corresponds to the JSON property `advertiserId` @return [Fixnum]

business_chain_search_terms[RW]

Search terms for Business Chain targeting options. At least one of the field should be populated. Corresponds to the JSON property `businessChainSearchTerms` @return [Google::Apis::DisplayvideoV1::BusinessChainSearchTerms]

geo_region_search_terms[RW]

Search terms for geo region targeting options. Corresponds to the JSON property `geoRegionSearchTerms` @return [Google::Apis::DisplayvideoV1::GeoRegionSearchTerms]

page_size[RW]

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` @return [Fixnum]

page_token[RW]

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` @return [String]

poi_search_terms[RW]

Search terms for POI targeting options. Corresponds to the JSON property `poiSearchTerms` @return [Google::Apis::DisplayvideoV1::PoiSearchTerms]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 8710
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 8715
def update!(**args)
  @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
  @business_chain_search_terms = args[:business_chain_search_terms] if args.key?(:business_chain_search_terms)
  @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)
  @poi_search_terms = args[:poi_search_terms] if args.key?(:poi_search_terms)
end