Class: Google::Apis::DisplayvideoV1::Advertiser

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb

Overview

A single advertiser in Display & Video 360 (DV360).

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Advertiser

Returns a new instance of Advertiser.



171
172
173
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 171

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ad_server_configGoogle::Apis::DisplayvideoV1::AdvertiserAdServerConfig

Ad server related settings of an advertiser. Corresponds to the JSON property adServerConfig



110
111
112
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 110

def ad_server_config
  @ad_server_config
end

#advertiser_idFixnum

Output only. The unique ID of the advertiser. Assigned by the system. Corresponds to the JSON property advertiserId

Returns:

  • (Fixnum)


115
116
117
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 115

def advertiser_id
  @advertiser_id
end

#creative_configGoogle::Apis::DisplayvideoV1::AdvertiserCreativeConfig

Creatives related settings of an advertiser. Corresponds to the JSON property creativeConfig



120
121
122
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 120

def creative_config
  @creative_config
end

#data_access_configGoogle::Apis::DisplayvideoV1::AdvertiserDataAccessConfig

Settings that control how advertiser related data may be accessed. Corresponds to the JSON property dataAccessConfig



125
126
127
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 125

def data_access_config
  @data_access_config
end

#display_nameString

Required. The display name of the advertiser. Must be UTF-8 encoded with a maximum size of 240 bytes. Corresponds to the JSON property displayName

Returns:

  • (String)


131
132
133
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 131

def display_name
  @display_name
end

#entity_statusString

Required. Controls whether or not insertion orders and line items of the advertiser can spend their budgets and bid on inventory.

  • Accepted values are ENTITY_STATUS_ACTIVE and ENTITY_STATUS_SCHEDULED_FOR_DELETION.
  • If set to ENTITY_STATUS_SCHEDULED_FOR_DELETION, the advertiser will be deleted 30 days from when it was first scheduled for deletion. Corresponds to the JSON property entityStatus

Returns:

  • (String)


142
143
144
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 142

def entity_status
  @entity_status
end

#general_configGoogle::Apis::DisplayvideoV1::AdvertiserGeneralConfig

General settings of an advertiser. Corresponds to the JSON property generalConfig



147
148
149
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 147

def general_config
  @general_config
end

#integration_detailsGoogle::Apis::DisplayvideoV1::IntegrationDetails

Integration details of an entry. Corresponds to the JSON property integrationDetails



152
153
154
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 152

def integration_details
  @integration_details
end

#nameString

Output only. The resource name of the advertiser. Corresponds to the JSON property name

Returns:

  • (String)


157
158
159
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 157

def name
  @name
end

#partner_idFixnum

Required. Immutable. The unique ID of the partner that the advertiser belongs to. Corresponds to the JSON property partnerId

Returns:

  • (Fixnum)


163
164
165
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 163

def partner_id
  @partner_id
end

#update_timeString

Output only. The timestamp when the advertiser was last updated. Assigned by the system. Corresponds to the JSON property updateTime

Returns:

  • (String)


169
170
171
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 169

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 176

def update!(**args)
  @ad_server_config = args[:ad_server_config] if args.key?(:ad_server_config)
  @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
  @creative_config = args[:creative_config] if args.key?(:creative_config)
  @data_access_config = args[:data_access_config] if args.key?(:data_access_config)
  @display_name = args[:display_name] if args.key?(:display_name)
  @entity_status = args[:entity_status] if args.key?(:entity_status)
  @general_config = args[:general_config] if args.key?(:general_config)
  @integration_details = args[:integration_details] if args.key?(:integration_details)
  @name = args[:name] if args.key?(:name)
  @partner_id = args[:partner_id] if args.key?(:partner_id)
  @update_time = args[:update_time] if args.key?(:update_time)
end