class Google::Apis::DisplayvideoV1::AppAssignedTargetingOptionDetails

Details for assigned app targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is ` TARGETING_TYPE_APP`.

Attributes

app_id[RW]

Required. The ID of the app. Android's Play store app uses bundle ID, for example `com.google.android.gm`. Apple's App store app ID uses 9 digit string, for example `422689480`. Corresponds to the JSON property `appId` @return [String]

app_platform[RW]

Indicates the platform of the targeted app. If this field is not specified, the app platform will be assumed to be mobile (i.e., Android or iOS), and we will derive the appropriate mobile platform from the app ID. Corresponds to the JSON property `appPlatform` @return [String]

display_name[RW]

Output only. The display name of the app. Corresponds to the JSON property `displayName` @return [String]

negative[RW]

Indicates if this option is being negatively targeted. Corresponds to the JSON property `negative` @return [Boolean]

negative?[RW]

Indicates if this option is being negatively targeted. Corresponds to the JSON property `negative` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 489
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 494
def update!(**args)
  @app_id = args[:app_id] if args.key?(:app_id)
  @app_platform = args[:app_platform] if args.key?(:app_platform)
  @display_name = args[:display_name] if args.key?(:display_name)
  @negative = args[:negative] if args.key?(:negative)
end