GoogleApi.DisplayVideo.V1.Api.Advertisers.displayvideo_advertisers_campaigns_targeting_types_assigned_targeting_options_list
You're seeing just the function
displayvideo_advertisers_campaigns_targeting_types_assigned_targeting_options_list
, go back to GoogleApi.DisplayVideo.V1.Api.Advertisers module for more information.
Link to this function
displayvideo_advertisers_campaigns_targeting_types_assigned_targeting_options_list(connection, advertiser_id, campaign_id, targeting_type, optional_params \\ [], opts \\ [])
View SourceSpecs
displayvideo_advertisers_campaigns_targeting_types_assigned_targeting_options_list( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.DisplayVideo.V1.Model.ListCampaignAssignedTargetingOptionsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists the targeting options assigned to a campaign for a specified targeting type.
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 to list assigned targeting options for. -
targeting_type
(type:String.t
) - Required. Identifies the type of assigned targeting options to list. 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
-
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"). -
:filter
(type:String.t
) - Allows filtering by assigned targeting option properties. Supported syntax: Filter expressions are made up of one or more restrictions. Restrictions can be combined by the logical operatorOR
. A restriction has the form of{field} {operator} {value}
. The operator must beEQUALS (=)
. Supported fields: -assignedTargetingOptionId
-inheritance
Examples: AssignedTargetingOptions with ID 1 or 2assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"
* AssignedTargetingOptions with inheritance status of NOT_INHERITED or INHERITED_FROM_PARTNERinheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"
The length of this field should be no more than 500 characters. -
:orderBy
(type:String.t
) - Field by which to sort the list. Acceptable values are: *assignedTargetingOptionId
(default) The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example:assignedTargetingOptionId desc
. -
:pageSize
(type:integer()
) - Requested page size. Must be between1
and5000
. If unspecified will default to100
. Returns error codeINVALID_ARGUMENT
if an invalid value is specified. -
:pageToken
(type:String.t
) - 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 toListCampaignAssignedTargetingOptions
method. If not specified, the first page of results will be returned.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.DisplayVideo.V1.Model.ListCampaignAssignedTargetingOptionsResponse{}}
on success -
{:error, info}
on failure