public class DisplayVideo.Advertisers.AdGroups.TargetingTypes.AssignedTargetingOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DisplayVideo.Advertisers.AdGroups.TargetingTypes.AssignedTargetingOptions.Create |
class |
DisplayVideo.Advertisers.AdGroups.TargetingTypes.AssignedTargetingOptions.Delete |
class |
DisplayVideo.Advertisers.AdGroups.TargetingTypes.AssignedTargetingOptions.Get |
class |
DisplayVideo.Advertisers.AdGroups.TargetingTypes.AssignedTargetingOptions.List |
| Constructor and Description |
|---|
AssignedTargetingOptions() |
| Modifier and Type | Method and Description |
|---|---|
DisplayVideo.Advertisers.AdGroups.TargetingTypes.AssignedTargetingOptions.Create |
create(Long advertiserId,
Long adGroupId,
String targetingType,
AssignedTargetingOption content)
Assigns a targeting option to an ad group.
|
DisplayVideo.Advertisers.AdGroups.TargetingTypes.AssignedTargetingOptions.Delete |
delete(Long advertiserId,
Long adGroupId,
String targetingType,
String assignedTargetingOptionId)
Deletes an assigned targeting option from an ad group.
|
DisplayVideo.Advertisers.AdGroups.TargetingTypes.AssignedTargetingOptions.Get |
get(Long advertiserId,
Long adGroupId,
String targetingType,
String assignedTargetingOptionId)
Gets a single targeting option assigned to an ad group.
|
DisplayVideo.Advertisers.AdGroups.TargetingTypes.AssignedTargetingOptions.List |
list(Long advertiserId,
Long adGroupId,
String targetingType)
Lists the targeting options assigned to an ad group.
|
public DisplayVideo.Advertisers.AdGroups.TargetingTypes.AssignedTargetingOptions.Create create(Long advertiserId, Long adGroupId, String targetingType, AssignedTargetingOption content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser the ad group belongs to.adGroupId - Required. The ID of the ad group the assigned targeting option will belong to.targetingType - Required. Identifies the type of this assigned targeting option. Supported targeting types: *
`TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` *
`TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` *
`TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_KEYWORD`
* `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_URL` *
`TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_YOUTUBE_VIDEO`content - the AssignedTargetingOptionIOExceptionpublic DisplayVideo.Advertisers.AdGroups.TargetingTypes.AssignedTargetingOptions.Delete delete(Long advertiserId, Long adGroupId, String targetingType, String assignedTargetingOptionId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser the ad group belongs to.adGroupId - Required. The ID of the ad group the assigned targeting option belongs to.targetingType - Required. Identifies the type of this assigned targeting option. Supported targeting types: *
`TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` *
`TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` *
`TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_KEYWORD`
* `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_PARENTAL_STATUS` *
`TARGETING_TYPE_SESSION_POSITION` * `TARGETING_TYPE_URL` *
`TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_YOUTUBE_VIDEO`assignedTargetingOptionId - Required. The ID of the assigned targeting option to delete.IOExceptionpublic DisplayVideo.Advertisers.AdGroups.TargetingTypes.AssignedTargetingOptions.Get get(Long advertiserId, Long adGroupId, String targetingType, String assignedTargetingOptionId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser the ad group belongs to.adGroupId - Required. The ID of the ad group the assigned targeting option belongs to.targetingType - Required. Identifies the type of this assigned targeting option. Supported targeting types include:
* `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` *
`TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` *
`TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_KEYWORD`
* `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_PARENTAL_STATUS` *
`TARGETING_TYPE_SESSION_POSITION` * `TARGETING_TYPE_URL` *
`TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_YOUTUBE_VIDEO`assignedTargetingOptionId - Required. An identifier unique to the targeting type in this line item that identifies the assigned
targeting option being requested.IOExceptionpublic DisplayVideo.Advertisers.AdGroups.TargetingTypes.AssignedTargetingOptions.List list(Long advertiserId, Long adGroupId, String targetingType) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser the ad group belongs to.adGroupId - Required. The ID of the ad group to list assigned targeting options for.targetingType - Required. Identifies the type of assigned targeting options to list. Supported targeting types
include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
`TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` *
`TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` *
`TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` *
`TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SESSION_POSITION` *
`TARGETING_TYPE_URL` * `TARGETING_TYPE_YOUTUBE_CHANNEL` * `TARGETING_TYPE_YOUTUBE_VIDEO`IOExceptionCopyright © 2011–2026 Google. All rights reserved.