GoogleApi.DisplayVideo.V1.Api.Advertisers.displayvideo_advertisers_campaigns_targeting_types_assigned_targeting_options_get

You're seeing just the function displayvideo_advertisers_campaigns_targeting_types_assigned_targeting_options_get, go back to GoogleApi.DisplayVideo.V1.Api.Advertisers module for more information.
Link to this function

displayvideo_advertisers_campaigns_targeting_types_assigned_targeting_options_get(connection, advertiser_id, campaign_id, targeting_type, assigned_targeting_option_id, optional_params \\ [], opts \\ [])

View Source

Specs

displayvideo_advertisers_campaigns_targeting_types_assigned_targeting_options_get(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.DisplayVideo.V1.Model.AssignedTargetingOption.t()}
  | {:ok, Tesla.Env.t()}
  | {:ok, list()}
  | {:error, any()}

Gets a single targeting option assigned to a campaign.

Parameters

  • connection (type: GoogleApi.DisplayVideo.V1.Connection.t) - Connection to server
  • advertiser_id (type: String.t) - Required. The ID of the advertiser the campaign belongs to.
  • campaign_id (type: String.t) - Required. The ID of the campaign the assigned targeting option belongs to.
  • targeting_type (type: String.t) - Required. Identifies the type of this assigned targeting option. Supported targeting types: TARGETING_TYPE_AGE_RANGE TARGETING_TYPE_AUTHORIZED_SELLER_STATUS TARGETING_TYPE_CONTENT_INSTREAM_POSITION TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION TARGETING_TYPE_ENVIRONMENT TARGETING_TYPE_EXCHANGE TARGETING_TYPE_GENDER TARGETING_TYPE_GEO_REGION TARGETING_TYPE_HOUSEHOLD_INCOME TARGETING_TYPE_INVENTORY_SOURCE TARGETING_TYPE_INVENTORY_SOURCE_GROUP TARGETING_TYPE_LANGUAGE TARGETING_TYPE_ON_SCREEN_POSITION TARGETING_TYPE_PARENTAL_STATUS TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION TARGETING_TYPE_SUB_EXCHANGE TARGETING_TYPE_THIRD_PARTY_VERIFIER * TARGETING_TYPE_VIEWABILITY
  • assigned_targeting_option_id (type: String.t) - Required. An identifier unique to the targeting type in this campaign that identifies the assigned targeting option being requested.
  • optional_params (type: keyword()) - Optional parameters
    • :"$.xgafv" (type: String.t) - V1 error format.
    • :access_token (type: String.t) - OAuth access token.
    • :alt (type: String.t) - Data format for response.
    • :callback (type: String.t) - JSONP
    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.
    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.
    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.
    • :quotaUser (type: String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").
    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").
  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.DisplayVideo.V1.Model.AssignedTargetingOption{}} on success
  • {:error, info} on failure