Struct google_displayvideo1::api::AdvertiserMethods
source · pub struct AdvertiserMethods<'a, S>where
S: 'a,{ /* private fields */ }
Expand description
A builder providing access to all methods supported on advertiser resources.
It is not used directly, but through the DisplayVideo
hub.
§Example
Instantiate a resource builder
extern crate hyper;
extern crate hyper_rustls;
extern crate google_displayvideo1 as displayvideo1;
use std::default::Default;
use displayvideo1::{DisplayVideo, oauth2, hyper, hyper_rustls, chrono, FieldMask};
let secret: oauth2::ApplicationSecret = Default::default();
let auth = oauth2::InstalledFlowAuthenticator::builder(
secret,
oauth2::InstalledFlowReturnMethod::HTTPRedirect,
).build().await.unwrap();
let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `assets_upload(...)`, `audit(...)`, `bulk_edit_advertiser_assigned_targeting_options(...)`, `bulk_list_advertiser_assigned_targeting_options(...)`, `campaigns_bulk_list_campaign_assigned_targeting_options(...)`, `campaigns_create(...)`, `campaigns_delete(...)`, `campaigns_get(...)`, `campaigns_list(...)`, `campaigns_patch(...)`, `campaigns_targeting_types_assigned_targeting_options_get(...)`, `campaigns_targeting_types_assigned_targeting_options_list(...)`, `channels_create(...)`, `channels_get(...)`, `channels_list(...)`, `channels_patch(...)`, `channels_sites_bulk_edit(...)`, `channels_sites_create(...)`, `channels_sites_delete(...)`, `channels_sites_list(...)`, `channels_sites_replace(...)`, `create(...)`, `creatives_create(...)`, `creatives_delete(...)`, `creatives_get(...)`, `creatives_list(...)`, `creatives_patch(...)`, `delete(...)`, `get(...)`, `insertion_orders_bulk_list_insertion_order_assigned_targeting_options(...)`, `insertion_orders_create(...)`, `insertion_orders_delete(...)`, `insertion_orders_get(...)`, `insertion_orders_list(...)`, `insertion_orders_patch(...)`, `insertion_orders_targeting_types_assigned_targeting_options_get(...)`, `insertion_orders_targeting_types_assigned_targeting_options_list(...)`, `invoices_list(...)`, `invoices_lookup_invoice_currency(...)`, `line_items_bulk_edit_line_item_assigned_targeting_options(...)`, `line_items_bulk_list_line_item_assigned_targeting_options(...)`, `line_items_create(...)`, `line_items_delete(...)`, `line_items_generate_default(...)`, `line_items_get(...)`, `line_items_list(...)`, `line_items_patch(...)`, `line_items_targeting_types_assigned_targeting_options_create(...)`, `line_items_targeting_types_assigned_targeting_options_delete(...)`, `line_items_targeting_types_assigned_targeting_options_get(...)`, `line_items_targeting_types_assigned_targeting_options_list(...)`, `list(...)`, `location_lists_assigned_locations_bulk_edit(...)`, `location_lists_assigned_locations_create(...)`, `location_lists_assigned_locations_delete(...)`, `location_lists_assigned_locations_list(...)`, `location_lists_create(...)`, `location_lists_get(...)`, `location_lists_list(...)`, `location_lists_patch(...)`, `manual_triggers_activate(...)`, `manual_triggers_create(...)`, `manual_triggers_deactivate(...)`, `manual_triggers_get(...)`, `manual_triggers_list(...)`, `manual_triggers_patch(...)`, `negative_keyword_lists_create(...)`, `negative_keyword_lists_delete(...)`, `negative_keyword_lists_get(...)`, `negative_keyword_lists_list(...)`, `negative_keyword_lists_negative_keywords_bulk_edit(...)`, `negative_keyword_lists_negative_keywords_create(...)`, `negative_keyword_lists_negative_keywords_delete(...)`, `negative_keyword_lists_negative_keywords_list(...)`, `negative_keyword_lists_negative_keywords_replace(...)`, `negative_keyword_lists_patch(...)`, `patch(...)`, `targeting_types_assigned_targeting_options_create(...)`, `targeting_types_assigned_targeting_options_delete(...)`, `targeting_types_assigned_targeting_options_get(...)` and `targeting_types_assigned_targeting_options_list(...)`
// to build up your call.
let rb = hub.advertisers();
Implementations§
source§impl<'a, S> AdvertiserMethods<'a, S>
impl<'a, S> AdvertiserMethods<'a, S>
sourcepub fn assets_upload(
&self,
request: CreateAssetRequest,
advertiser_id: i64
) -> AdvertiserAssetUploadCall<'a, S>
pub fn assets_upload( &self, request: CreateAssetRequest, advertiser_id: i64 ) -> AdvertiserAssetUploadCall<'a, S>
Create a builder to help you perform the following task:
Uploads an asset. Returns the ID of the newly uploaded asset if successful. The asset file size should be no more than 10 MB for images, 200 MB for ZIP files, and 1 GB for videos. Must be used within the multipart media upload process. Examples using provided client libraries can be found in our Creating Creatives guide.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the advertiser this asset belongs to.
sourcepub fn campaigns_targeting_types_assigned_targeting_options_get(
&self,
advertiser_id: i64,
campaign_id: i64,
targeting_type: &str,
assigned_targeting_option_id: &str
) -> AdvertiserCampaignTargetingTypeAssignedTargetingOptionGetCall<'a, S>
pub fn campaigns_targeting_types_assigned_targeting_options_get( &self, advertiser_id: i64, campaign_id: i64, targeting_type: &str, assigned_targeting_option_id: &str ) -> AdvertiserCampaignTargetingTypeAssignedTargetingOptionGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a single targeting option assigned to a campaign.
§Arguments
advertiserId
- Required. The ID of the advertiser the campaign belongs to.campaignId
- Required. The ID of the campaign 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_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
assignedTargetingOptionId
- Required. An identifier unique to the targeting type in this campaign that identifies the assigned targeting option being requested.
sourcepub fn campaigns_targeting_types_assigned_targeting_options_list(
&self,
advertiser_id: i64,
campaign_id: i64,
targeting_type: &str
) -> AdvertiserCampaignTargetingTypeAssignedTargetingOptionListCall<'a, S>
pub fn campaigns_targeting_types_assigned_targeting_options_list( &self, advertiser_id: i64, campaign_id: i64, targeting_type: &str ) -> AdvertiserCampaignTargetingTypeAssignedTargetingOptionListCall<'a, S>
Create a builder to help you perform the following task:
Lists the targeting options assigned to a campaign for a specified targeting type.
§Arguments
advertiserId
- Required. The ID of the advertiser the campaign belongs to.campaignId
- Required. The ID of the campaign to list assigned targeting options for.targetingType
- 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
sourcepub fn campaigns_bulk_list_campaign_assigned_targeting_options(
&self,
advertiser_id: i64,
campaign_id: i64
) -> AdvertiserCampaignBulkListCampaignAssignedTargetingOptionCall<'a, S>
pub fn campaigns_bulk_list_campaign_assigned_targeting_options( &self, advertiser_id: i64, campaign_id: i64 ) -> AdvertiserCampaignBulkListCampaignAssignedTargetingOptionCall<'a, S>
Create a builder to help you perform the following task:
Lists assigned targeting options of a campaign across targeting types.
§Arguments
advertiserId
- Required. The ID of the advertiser the campaign belongs to.campaignId
- Required. The ID of the campaign to list assigned targeting options for.
sourcepub fn campaigns_create(
&self,
request: Campaign,
advertiser_id: i64
) -> AdvertiserCampaignCreateCall<'a, S>
pub fn campaigns_create( &self, request: Campaign, advertiser_id: i64 ) -> AdvertiserCampaignCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a new campaign. Returns the newly created campaign if successful.
§Arguments
request
- No description provided.advertiserId
- Output only. The unique ID of the advertiser the campaign belongs to.
sourcepub fn campaigns_delete(
&self,
advertiser_id: i64,
campaign_id: i64
) -> AdvertiserCampaignDeleteCall<'a, S>
pub fn campaigns_delete( &self, advertiser_id: i64, campaign_id: i64 ) -> AdvertiserCampaignDeleteCall<'a, S>
Create a builder to help you perform the following task:
Permanently deletes a campaign. A deleted campaign cannot be recovered. The campaign should be archived first, i.e. set entity_status to ENTITY_STATUS_ARCHIVED
, to be able to delete it. This method regularly experiences high latency. We recommend increasing your default timeout to avoid errors.
§Arguments
advertiserId
- The ID of the advertiser this campaign belongs to.campaignId
- The ID of the campaign we need to delete.
sourcepub fn campaigns_get(
&self,
advertiser_id: i64,
campaign_id: i64
) -> AdvertiserCampaignGetCall<'a, S>
pub fn campaigns_get( &self, advertiser_id: i64, campaign_id: i64 ) -> AdvertiserCampaignGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a campaign.
§Arguments
advertiserId
- Required. The ID of the advertiser this campaign belongs to.campaignId
- Required. The ID of the campaign to fetch.
sourcepub fn campaigns_list(
&self,
advertiser_id: i64
) -> AdvertiserCampaignListCall<'a, S>
pub fn campaigns_list( &self, advertiser_id: i64 ) -> AdvertiserCampaignListCall<'a, S>
Create a builder to help you perform the following task:
Lists campaigns in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, campaigns with ENTITY_STATUS_ARCHIVED
will not be included in the results.
§Arguments
advertiserId
- The ID of the advertiser to list campaigns for.
sourcepub fn campaigns_patch(
&self,
request: Campaign,
advertiser_id: i64,
campaign_id: i64
) -> AdvertiserCampaignPatchCall<'a, S>
pub fn campaigns_patch( &self, request: Campaign, advertiser_id: i64, campaign_id: i64 ) -> AdvertiserCampaignPatchCall<'a, S>
Create a builder to help you perform the following task:
Updates an existing campaign. Returns the updated campaign if successful.
§Arguments
request
- No description provided.advertiserId
- Output only. The unique ID of the advertiser the campaign belongs to.campaignId
- Output only. The unique ID of the campaign. Assigned by the system.
sourcepub fn channels_sites_bulk_edit(
&self,
request: BulkEditSitesRequest,
advertiser_id: i64,
channel_id: i64
) -> AdvertiserChannelSiteBulkEditCall<'a, S>
pub fn channels_sites_bulk_edit( &self, request: BulkEditSitesRequest, advertiser_id: i64, channel_id: i64 ) -> AdvertiserChannelSiteBulkEditCall<'a, S>
Create a builder to help you perform the following task:
Bulk edits sites under a single channel. The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided in BulkEditSitesRequest.created_sites.
§Arguments
request
- No description provided.advertiserId
- The ID of the advertiser that owns the parent channel.channelId
- Required. The ID of the parent channel to which the sites belong.
sourcepub fn channels_sites_create(
&self,
request: Site,
advertiser_id: i64,
channel_id: i64
) -> AdvertiserChannelSiteCreateCall<'a, S>
pub fn channels_sites_create( &self, request: Site, advertiser_id: i64, channel_id: i64 ) -> AdvertiserChannelSiteCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a site in a channel.
§Arguments
request
- No description provided.advertiserId
- The ID of the advertiser that owns the parent channel.channelId
- Required. The ID of the parent channel in which the site will be created.
sourcepub fn channels_sites_delete(
&self,
advertiser_id: i64,
channel_id: i64,
url_or_app_id: &str
) -> AdvertiserChannelSiteDeleteCall<'a, S>
pub fn channels_sites_delete( &self, advertiser_id: i64, channel_id: i64, url_or_app_id: &str ) -> AdvertiserChannelSiteDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes a site from a channel.
§Arguments
advertiserId
- The ID of the advertiser that owns the parent channel.channelId
- Required. The ID of the parent channel to which the site belongs.urlOrAppId
- Required. The URL or app ID of the site to delete.
sourcepub fn channels_sites_list(
&self,
advertiser_id: i64,
channel_id: i64
) -> AdvertiserChannelSiteListCall<'a, S>
pub fn channels_sites_list( &self, advertiser_id: i64, channel_id: i64 ) -> AdvertiserChannelSiteListCall<'a, S>
Create a builder to help you perform the following task:
Lists sites in a channel.
§Arguments
advertiserId
- The ID of the advertiser that owns the parent channel.channelId
- Required. The ID of the parent channel to which the requested sites belong.
sourcepub fn channels_sites_replace(
&self,
request: ReplaceSitesRequest,
advertiser_id: i64,
channel_id: i64
) -> AdvertiserChannelSiteReplaceCall<'a, S>
pub fn channels_sites_replace( &self, request: ReplaceSitesRequest, advertiser_id: i64, channel_id: i64 ) -> AdvertiserChannelSiteReplaceCall<'a, S>
Create a builder to help you perform the following task:
Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites. This method regularly experiences high latency. We recommend increasing your default timeout to avoid errors.
§Arguments
request
- No description provided.advertiserId
- The ID of the advertiser that owns the parent channel.channelId
- Required. The ID of the parent channel whose sites will be replaced.
sourcepub fn channels_create(
&self,
request: Channel,
advertiser_id: i64
) -> AdvertiserChannelCreateCall<'a, S>
pub fn channels_create( &self, request: Channel, advertiser_id: i64 ) -> AdvertiserChannelCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a new channel. Returns the newly created channel if successful.
§Arguments
request
- No description provided.advertiserId
- The ID of the advertiser that owns the created channel.
sourcepub fn channels_get(
&self,
advertiser_id: i64,
channel_id: i64
) -> AdvertiserChannelGetCall<'a, S>
pub fn channels_get( &self, advertiser_id: i64, channel_id: i64 ) -> AdvertiserChannelGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a channel for a partner or advertiser.
§Arguments
advertiserId
- The ID of the advertiser that owns the fetched channel.channelId
- Required. The ID of the channel to fetch.
sourcepub fn channels_list(
&self,
advertiser_id: i64
) -> AdvertiserChannelListCall<'a, S>
pub fn channels_list( &self, advertiser_id: i64 ) -> AdvertiserChannelListCall<'a, S>
Create a builder to help you perform the following task:
Lists channels for a partner or advertiser.
§Arguments
advertiserId
- The ID of the advertiser that owns the channels.
sourcepub fn channels_patch(
&self,
request: Channel,
advertiser_id: i64,
channel_id: i64
) -> AdvertiserChannelPatchCall<'a, S>
pub fn channels_patch( &self, request: Channel, advertiser_id: i64, channel_id: i64 ) -> AdvertiserChannelPatchCall<'a, S>
Create a builder to help you perform the following task:
Updates a channel. Returns the updated channel if successful.
§Arguments
request
- No description provided.advertiserId
- The ID of the advertiser that owns the created channel.channelId
- Output only. The unique ID of the channel. Assigned by the system.
sourcepub fn creatives_create(
&self,
request: Creative,
advertiser_id: i64
) -> AdvertiserCreativeCreateCall<'a, S>
pub fn creatives_create( &self, request: Creative, advertiser_id: i64 ) -> AdvertiserCreativeCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a new creative. Returns the newly created creative if successful. A “Standard” user role or greater for the parent advertiser or partner is required to make this request.
§Arguments
request
- No description provided.advertiserId
- Output only. The unique ID of the advertiser the creative belongs to.
sourcepub fn creatives_delete(
&self,
advertiser_id: i64,
creative_id: i64
) -> AdvertiserCreativeDeleteCall<'a, S>
pub fn creatives_delete( &self, advertiser_id: i64, creative_id: i64 ) -> AdvertiserCreativeDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes a creative. Returns error code NOT_FOUND
if the creative does not exist. The creative should be archived first, i.e. set entity_status to ENTITY_STATUS_ARCHIVED
, before it can be deleted. A “Standard” user role or greater for the parent advertiser or partner is required to make this request.
§Arguments
advertiserId
- The ID of the advertiser this creative belongs to.creativeId
- The ID of the creative to be deleted.
sourcepub fn creatives_get(
&self,
advertiser_id: i64,
creative_id: i64
) -> AdvertiserCreativeGetCall<'a, S>
pub fn creatives_get( &self, advertiser_id: i64, creative_id: i64 ) -> AdvertiserCreativeGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a creative.
§Arguments
advertiserId
- Required. The ID of the advertiser this creative belongs to.creativeId
- Required. The ID of the creative to fetch.
sourcepub fn creatives_list(
&self,
advertiser_id: i64
) -> AdvertiserCreativeListCall<'a, S>
pub fn creatives_list( &self, advertiser_id: i64 ) -> AdvertiserCreativeListCall<'a, S>
Create a builder to help you perform the following task:
Lists creatives in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, creatives with ENTITY_STATUS_ARCHIVED
will not be included in the results.
§Arguments
advertiserId
- Required. The ID of the advertiser to list creatives for.
sourcepub fn creatives_patch(
&self,
request: Creative,
advertiser_id: i64,
creative_id: i64
) -> AdvertiserCreativePatchCall<'a, S>
pub fn creatives_patch( &self, request: Creative, advertiser_id: i64, creative_id: i64 ) -> AdvertiserCreativePatchCall<'a, S>
Create a builder to help you perform the following task:
Updates an existing creative. Returns the updated creative if successful. A “Standard” user role or greater for the parent advertiser or partner is required to make this request.
§Arguments
request
- No description provided.advertiserId
- Output only. The unique ID of the advertiser the creative belongs to.creativeId
- Output only. The unique ID of the creative. Assigned by the system.
sourcepub fn insertion_orders_targeting_types_assigned_targeting_options_get(
&self,
advertiser_id: i64,
insertion_order_id: i64,
targeting_type: &str,
assigned_targeting_option_id: &str
) -> AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionGetCall<'a, S>
pub fn insertion_orders_targeting_types_assigned_targeting_options_get( &self, advertiser_id: i64, insertion_order_id: i64, targeting_type: &str, assigned_targeting_option_id: &str ) -> AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a single targeting option assigned to an insertion order.
§Arguments
advertiserId
- Required. The ID of the advertiser the insertion order belongs to.insertionOrderId
- Required. The ID of the insertion order 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_AUDIO_CONTENT_TYPE
*TARGETING_TYPE_AUTHORIZED_SELLER_STATUS
*TARGETING_TYPE_BROWSER
*TARGETING_TYPE_BUSINESS_CHAIN
*TARGETING_TYPE_CARRIER_AND_ISP
*TARGETING_TYPE_CATEGORY
*TARGETING_TYPE_CHANNEL
*TARGETING_TYPE_CONTENT_DURATION
*TARGETING_TYPE_CONTENT_GENRE
*TARGETING_TYPE_CONTENT_INSTREAM_POSITION
*TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION
*TARGETING_TYPE_CONTENT_STREAM_TYPE
*TARGETING_TYPE_DAY_AND_TIME
*TARGETING_TYPE_DEVICE_MAKE_MODEL
*TARGETING_TYPE_DEVICE_TYPE
*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_KEYWORD
*TARGETING_TYPE_LANGUAGE
*TARGETING_TYPE_NATIVE_CONTENT_POSITION
*TARGETING_TYPE_NEGATIVE_KEYWORD_LIST
*TARGETING_TYPE_OMID
*TARGETING_TYPE_ON_SCREEN_POSITION
*TARGETING_TYPE_OPERATING_SYSTEM
*TARGETING_TYPE_PARENTAL_STATUS
*TARGETING_TYPE_POI
*TARGETING_TYPE_PROXIMITY_LOCATION_LIST
*TARGETING_TYPE_REGIONAL_LOCATION_LIST
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
*TARGETING_TYPE_SUB_EXCHANGE
*TARGETING_TYPE_THIRD_PARTY_VERIFIER
*TARGETING_TYPE_URL
*TARGETING_TYPE_USER_REWARDED_CONTENT
*TARGETING_TYPE_VIDEO_PLAYER_SIZE
*TARGETING_TYPE_VIEWABILITY
assignedTargetingOptionId
- Required. An identifier unique to the targeting type in this insertion order that identifies the assigned targeting option being requested.
sourcepub fn insertion_orders_targeting_types_assigned_targeting_options_list(
&self,
advertiser_id: i64,
insertion_order_id: i64,
targeting_type: &str
) -> AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionListCall<'a, S>
pub fn insertion_orders_targeting_types_assigned_targeting_options_list( &self, advertiser_id: i64, insertion_order_id: i64, targeting_type: &str ) -> AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionListCall<'a, S>
Create a builder to help you perform the following task:
Lists the targeting options assigned to an insertion order.
§Arguments
advertiserId
- Required. The ID of the advertiser the insertion order belongs to.insertionOrderId
- Required. The ID of the insertion order 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_AUDIO_CONTENT_TYPE
*TARGETING_TYPE_AUTHORIZED_SELLER_STATUS
*TARGETING_TYPE_BROWSER
*TARGETING_TYPE_BUSINESS_CHAIN
*TARGETING_TYPE_CARRIER_AND_ISP
*TARGETING_TYPE_CATEGORY
*TARGETING_TYPE_CHANNEL
*TARGETING_TYPE_CONTENT_DURATION
*TARGETING_TYPE_CONTENT_GENRE
*TARGETING_TYPE_CONTENT_INSTREAM_POSITION
*TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION
*TARGETING_TYPE_CONTENT_STREAM_TYPE
*TARGETING_TYPE_DAY_AND_TIME
*TARGETING_TYPE_DEVICE_MAKE_MODEL
*TARGETING_TYPE_DEVICE_TYPE
*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_KEYWORD
*TARGETING_TYPE_LANGUAGE
*TARGETING_TYPE_NATIVE_CONTENT_POSITION
*TARGETING_TYPE_NEGATIVE_KEYWORD_LIST
*TARGETING_TYPE_OMID
*TARGETING_TYPE_ON_SCREEN_POSITION
*TARGETING_TYPE_OPERATING_SYSTEM
*TARGETING_TYPE_PARENTAL_STATUS
*TARGETING_TYPE_POI
*TARGETING_TYPE_PROXIMITY_LOCATION_LIST
*TARGETING_TYPE_REGIONAL_LOCATION_LIST
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
*TARGETING_TYPE_SUB_EXCHANGE
*TARGETING_TYPE_THIRD_PARTY_VERIFIER
*TARGETING_TYPE_URL
*TARGETING_TYPE_USER_REWARDED_CONTENT
*TARGETING_TYPE_VIDEO_PLAYER_SIZE
*TARGETING_TYPE_VIEWABILITY
sourcepub fn insertion_orders_bulk_list_insertion_order_assigned_targeting_options(
&self,
advertiser_id: i64,
insertion_order_id: i64
) -> AdvertiserInsertionOrderBulkListInsertionOrderAssignedTargetingOptionCall<'a, S>
pub fn insertion_orders_bulk_list_insertion_order_assigned_targeting_options( &self, advertiser_id: i64, insertion_order_id: i64 ) -> AdvertiserInsertionOrderBulkListInsertionOrderAssignedTargetingOptionCall<'a, S>
Create a builder to help you perform the following task:
Lists assigned targeting options of an insertion order across targeting types.
§Arguments
advertiserId
- Required. The ID of the advertiser the insertion order belongs to.insertionOrderId
- Required. The ID of the insertion order to list assigned targeting options for.
sourcepub fn insertion_orders_create(
&self,
request: InsertionOrder,
advertiser_id: i64
) -> AdvertiserInsertionOrderCreateCall<'a, S>
pub fn insertion_orders_create( &self, request: InsertionOrder, advertiser_id: i64 ) -> AdvertiserInsertionOrderCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a new insertion order. Returns the newly created insertion order if successful.
§Arguments
request
- No description provided.advertiserId
- Output only. The unique ID of the advertiser the insertion order belongs to.
sourcepub fn insertion_orders_delete(
&self,
advertiser_id: i64,
insertion_order_id: i64
) -> AdvertiserInsertionOrderDeleteCall<'a, S>
pub fn insertion_orders_delete( &self, advertiser_id: i64, insertion_order_id: i64 ) -> AdvertiserInsertionOrderDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes an insertion order. Returns error code NOT_FOUND
if the insertion order does not exist. The insertion order should be archived first, i.e. set entity_status to ENTITY_STATUS_ARCHIVED
, to be able to delete it.
§Arguments
advertiserId
- The ID of the advertiser this insertion order belongs to.insertionOrderId
- The ID of the insertion order to delete.
sourcepub fn insertion_orders_get(
&self,
advertiser_id: i64,
insertion_order_id: i64
) -> AdvertiserInsertionOrderGetCall<'a, S>
pub fn insertion_orders_get( &self, advertiser_id: i64, insertion_order_id: i64 ) -> AdvertiserInsertionOrderGetCall<'a, S>
Create a builder to help you perform the following task:
Gets an insertion order. Returns error code NOT_FOUND
if the insertion order does not exist.
§Arguments
advertiserId
- Required. The ID of the advertiser this insertion order belongs to.insertionOrderId
- Required. The ID of the insertion order to fetch.
sourcepub fn insertion_orders_list(
&self,
advertiser_id: i64
) -> AdvertiserInsertionOrderListCall<'a, S>
pub fn insertion_orders_list( &self, advertiser_id: i64 ) -> AdvertiserInsertionOrderListCall<'a, S>
Create a builder to help you perform the following task:
Lists insertion orders in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, insertion orders with ENTITY_STATUS_ARCHIVED
will not be included in the results.
§Arguments
advertiserId
- Required. The ID of the advertiser to list insertion orders for.
sourcepub fn insertion_orders_patch(
&self,
request: InsertionOrder,
advertiser_id: i64,
insertion_order_id: i64
) -> AdvertiserInsertionOrderPatchCall<'a, S>
pub fn insertion_orders_patch( &self, request: InsertionOrder, advertiser_id: i64, insertion_order_id: i64 ) -> AdvertiserInsertionOrderPatchCall<'a, S>
Create a builder to help you perform the following task:
Updates an existing insertion order. Returns the updated insertion order if successful.
§Arguments
request
- No description provided.advertiserId
- Output only. The unique ID of the advertiser the insertion order belongs to.insertionOrderId
- Output only. The unique ID of the insertion order. Assigned by the system.
sourcepub fn invoices_list(
&self,
advertiser_id: i64
) -> AdvertiserInvoiceListCall<'a, S>
pub fn invoices_list( &self, advertiser_id: i64 ) -> AdvertiserInvoiceListCall<'a, S>
Create a builder to help you perform the following task:
Lists invoices posted for an advertiser in a given month. Invoices generated by billing profiles with a “Partner” invoice level are not retrievable through this method.
§Arguments
advertiserId
- Required. The ID of the advertiser to list invoices for.
sourcepub fn invoices_lookup_invoice_currency(
&self,
advertiser_id: i64
) -> AdvertiserInvoiceLookupInvoiceCurrencyCall<'a, S>
pub fn invoices_lookup_invoice_currency( &self, advertiser_id: i64 ) -> AdvertiserInvoiceLookupInvoiceCurrencyCall<'a, S>
Create a builder to help you perform the following task:
Retrieves the invoice currency used by an advertiser in a given month.
§Arguments
advertiserId
- Required. The ID of the advertiser to lookup currency for.
sourcepub fn line_items_targeting_types_assigned_targeting_options_create(
&self,
request: AssignedTargetingOption,
advertiser_id: i64,
line_item_id: i64,
targeting_type: &str
) -> AdvertiserLineItemTargetingTypeAssignedTargetingOptionCreateCall<'a, S>
pub fn line_items_targeting_types_assigned_targeting_options_create( &self, request: AssignedTargetingOption, advertiser_id: i64, line_item_id: i64, targeting_type: &str ) -> AdvertiserLineItemTargetingTypeAssignedTargetingOptionCreateCall<'a, S>
Create a builder to help you perform the following task:
Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the advertiser the line item belongs to.lineItemId
- Required. The ID of the line item the assigned targeting option will belong 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_AUDIO_CONTENT_TYPE
*TARGETING_TYPE_AUTHORIZED_SELLER_STATUS
*TARGETING_TYPE_BROWSER
*TARGETING_TYPE_BUSINESS_CHAIN
*TARGETING_TYPE_CARRIER_AND_ISP
*TARGETING_TYPE_CATEGORY
*TARGETING_TYPE_CHANNEL
*TARGETING_TYPE_CONTENT_DURATION
*TARGETING_TYPE_CONTENT_GENRE
*TARGETING_TYPE_CONTENT_INSTREAM_POSITION
*TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION
*TARGETING_TYPE_CONTENT_STREAM_TYPE
*TARGETING_TYPE_DAY_AND_TIME
*TARGETING_TYPE_DEVICE_MAKE_MODEL
*TARGETING_TYPE_DEVICE_TYPE
*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_KEYWORD
*TARGETING_TYPE_LANGUAGE
*TARGETING_TYPE_NATIVE_CONTENT_POSITION
*TARGETING_TYPE_NEGATIVE_KEYWORD_LIST
*TARGETING_TYPE_OMID
*TARGETING_TYPE_ON_SCREEN_POSITION
*TARGETING_TYPE_OPERATING_SYSTEM
*TARGETING_TYPE_PARENTAL_STATUS
*TARGETING_TYPE_POI
*TARGETING_TYPE_PROXIMITY_LOCATION_LIST
*TARGETING_TYPE_REGIONAL_LOCATION_LIST
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
*TARGETING_TYPE_SUB_EXCHANGE
*TARGETING_TYPE_THIRD_PARTY_VERIFIER
*TARGETING_TYPE_URL
*TARGETING_TYPE_USER_REWARDED_CONTENT
*TARGETING_TYPE_VIDEO_PLAYER_SIZE
*TARGETING_TYPE_VIEWABILITY
sourcepub fn line_items_targeting_types_assigned_targeting_options_delete(
&self,
advertiser_id: i64,
line_item_id: i64,
targeting_type: &str,
assigned_targeting_option_id: &str
) -> AdvertiserLineItemTargetingTypeAssignedTargetingOptionDeleteCall<'a, S>
pub fn line_items_targeting_types_assigned_targeting_options_delete( &self, advertiser_id: i64, line_item_id: i64, targeting_type: &str, assigned_targeting_option_id: &str ) -> AdvertiserLineItemTargetingTypeAssignedTargetingOptionDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API.
§Arguments
advertiserId
- Required. The ID of the advertiser the line item belongs to.lineItemId
- Required. The ID of the line item 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_AUDIO_CONTENT_TYPE
*TARGETING_TYPE_AUTHORIZED_SELLER_STATUS
*TARGETING_TYPE_BROWSER
*TARGETING_TYPE_BUSINESS_CHAIN
*TARGETING_TYPE_CARRIER_AND_ISP
*TARGETING_TYPE_CATEGORY
*TARGETING_TYPE_CHANNEL
*TARGETING_TYPE_CONTENT_DURATION
*TARGETING_TYPE_CONTENT_GENRE
*TARGETING_TYPE_CONTENT_INSTREAM_POSITION
*TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION
*TARGETING_TYPE_CONTENT_STREAM_TYPE
*TARGETING_TYPE_DAY_AND_TIME
*TARGETING_TYPE_DEVICE_MAKE_MODEL
*TARGETING_TYPE_DEVICE_TYPE
*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_KEYWORD
*TARGETING_TYPE_LANGUAGE
*TARGETING_TYPE_NATIVE_CONTENT_POSITION
*TARGETING_TYPE_NEGATIVE_KEYWORD_LIST
*TARGETING_TYPE_OMID
*TARGETING_TYPE_ON_SCREEN_POSITION
*TARGETING_TYPE_OPERATING_SYSTEM
*TARGETING_TYPE_PARENTAL_STATUS
*TARGETING_TYPE_POI
*TARGETING_TYPE_PROXIMITY_LOCATION_LIST
*TARGETING_TYPE_REGIONAL_LOCATION_LIST
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
*TARGETING_TYPE_SUB_EXCHANGE
*TARGETING_TYPE_THIRD_PARTY_VERIFIER
*TARGETING_TYPE_URL
*TARGETING_TYPE_USER_REWARDED_CONTENT
*TARGETING_TYPE_VIDEO_PLAYER_SIZE
*TARGETING_TYPE_VIEWABILITY
assignedTargetingOptionId
- Required. The ID of the assigned targeting option to delete.
sourcepub fn line_items_targeting_types_assigned_targeting_options_get(
&self,
advertiser_id: i64,
line_item_id: i64,
targeting_type: &str,
assigned_targeting_option_id: &str
) -> AdvertiserLineItemTargetingTypeAssignedTargetingOptionGetCall<'a, S>
pub fn line_items_targeting_types_assigned_targeting_options_get( &self, advertiser_id: i64, line_item_id: i64, targeting_type: &str, assigned_targeting_option_id: &str ) -> AdvertiserLineItemTargetingTypeAssignedTargetingOptionGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a single targeting option assigned to a line item.
§Arguments
advertiserId
- Required. The ID of the advertiser the line item belongs to.lineItemId
- Required. The ID of the line item 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_AUDIO_CONTENT_TYPE
*TARGETING_TYPE_AUTHORIZED_SELLER_STATUS
*TARGETING_TYPE_BROWSER
*TARGETING_TYPE_BUSINESS_CHAIN
*TARGETING_TYPE_CARRIER_AND_ISP
*TARGETING_TYPE_CATEGORY
*TARGETING_TYPE_CHANNEL
*TARGETING_TYPE_CONTENT_DURATION
*TARGETING_TYPE_CONTENT_GENRE
*TARGETING_TYPE_CONTENT_INSTREAM_POSITION
*TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION
*TARGETING_TYPE_CONTENT_STREAM_TYPE
*TARGETING_TYPE_DAY_AND_TIME
*TARGETING_TYPE_DEVICE_MAKE_MODEL
*TARGETING_TYPE_DEVICE_TYPE
*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_KEYWORD
*TARGETING_TYPE_LANGUAGE
*TARGETING_TYPE_NATIVE_CONTENT_POSITION
*TARGETING_TYPE_NEGATIVE_KEYWORD_LIST
*TARGETING_TYPE_OMID
*TARGETING_TYPE_ON_SCREEN_POSITION
*TARGETING_TYPE_OPERATING_SYSTEM
*TARGETING_TYPE_PARENTAL_STATUS
*TARGETING_TYPE_POI
*TARGETING_TYPE_PROXIMITY_LOCATION_LIST
*TARGETING_TYPE_REGIONAL_LOCATION_LIST
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
*TARGETING_TYPE_SUB_EXCHANGE
*TARGETING_TYPE_THIRD_PARTY_VERIFIER
*TARGETING_TYPE_URL
*TARGETING_TYPE_USER_REWARDED_CONTENT
*TARGETING_TYPE_VIDEO_PLAYER_SIZE
*TARGETING_TYPE_VIEWABILITY
*TARGETING_TYPE_YOUTUBE_CHANNEL
(only forLINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE
line items) *TARGETING_TYPE_YOUTUBE_VIDEO
(only forLINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE
line items)assignedTargetingOptionId
- Required. An identifier unique to the targeting type in this line item that identifies the assigned targeting option being requested.
sourcepub fn line_items_targeting_types_assigned_targeting_options_list(
&self,
advertiser_id: i64,
line_item_id: i64,
targeting_type: &str
) -> AdvertiserLineItemTargetingTypeAssignedTargetingOptionListCall<'a, S>
pub fn line_items_targeting_types_assigned_targeting_options_list( &self, advertiser_id: i64, line_item_id: i64, targeting_type: &str ) -> AdvertiserLineItemTargetingTypeAssignedTargetingOptionListCall<'a, S>
Create a builder to help you perform the following task:
Lists the targeting options assigned to a line item.
§Arguments
advertiserId
- Required. The ID of the advertiser the line item belongs to.lineItemId
- Required. The ID of the line item 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_AUDIO_CONTENT_TYPE
*TARGETING_TYPE_AUTHORIZED_SELLER_STATUS
*TARGETING_TYPE_BROWSER
*TARGETING_TYPE_BUSINESS_CHAIN
*TARGETING_TYPE_CARRIER_AND_ISP
*TARGETING_TYPE_CATEGORY
*TARGETING_TYPE_CHANNEL
*TARGETING_TYPE_CONTENT_DURATION
*TARGETING_TYPE_CONTENT_GENRE
*TARGETING_TYPE_CONTENT_INSTREAM_POSITION
*TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION
*TARGETING_TYPE_CONTENT_STREAM_TYPE
*TARGETING_TYPE_DAY_AND_TIME
*TARGETING_TYPE_DEVICE_MAKE_MODEL
*TARGETING_TYPE_DEVICE_TYPE
*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_KEYWORD
*TARGETING_TYPE_LANGUAGE
*TARGETING_TYPE_NATIVE_CONTENT_POSITION
*TARGETING_TYPE_NEGATIVE_KEYWORD_LIST
*TARGETING_TYPE_OMID
*TARGETING_TYPE_ON_SCREEN_POSITION
*TARGETING_TYPE_OPERATING_SYSTEM
*TARGETING_TYPE_PARENTAL_STATUS
*TARGETING_TYPE_POI
*TARGETING_TYPE_PROXIMITY_LOCATION_LIST
*TARGETING_TYPE_REGIONAL_LOCATION_LIST
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
*TARGETING_TYPE_SUB_EXCHANGE
*TARGETING_TYPE_THIRD_PARTY_VERIFIER
*TARGETING_TYPE_URL
*TARGETING_TYPE_USER_REWARDED_CONTENT
*TARGETING_TYPE_VIDEO_PLAYER_SIZE
*TARGETING_TYPE_VIEWABILITY
*TARGETING_TYPE_YOUTUBE_CHANNEL
(only forLINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE
line items) *TARGETING_TYPE_YOUTUBE_VIDEO
(only forLINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_VIDEO_SEQUENCE
line items)
sourcepub fn line_items_bulk_edit_line_item_assigned_targeting_options(
&self,
request: BulkEditLineItemAssignedTargetingOptionsRequest,
advertiser_id: i64,
line_item_id: i64
) -> AdvertiserLineItemBulkEditLineItemAssignedTargetingOptionCall<'a, S>
pub fn line_items_bulk_edit_line_item_assigned_targeting_options( &self, request: BulkEditLineItemAssignedTargetingOptionsRequest, advertiser_id: i64, line_item_id: i64 ) -> AdvertiserLineItemBulkEditLineItemAssignedTargetingOptionCall<'a, S>
Create a builder to help you perform the following task:
Bulk edits targeting options under a single line item. The operation will delete the assigned targeting options provided in BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditLineItemAssignedTargetingOptionsRequest.create_requests. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.patch * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the advertiser the line item belongs to.lineItemId
- Required. The ID of the line item the assigned targeting option will belong to.
sourcepub fn line_items_bulk_list_line_item_assigned_targeting_options(
&self,
advertiser_id: i64,
line_item_id: i64
) -> AdvertiserLineItemBulkListLineItemAssignedTargetingOptionCall<'a, S>
pub fn line_items_bulk_list_line_item_assigned_targeting_options( &self, advertiser_id: i64, line_item_id: i64 ) -> AdvertiserLineItemBulkListLineItemAssignedTargetingOptionCall<'a, S>
Create a builder to help you perform the following task:
Lists assigned targeting options of a line item across targeting types.
§Arguments
advertiserId
- Required. The ID of the advertiser the line item belongs to.lineItemId
- Required. The ID of the line item to list assigned targeting options for.
sourcepub fn line_items_create(
&self,
request: LineItem,
advertiser_id: i64
) -> AdvertiserLineItemCreateCall<'a, S>
pub fn line_items_create( &self, request: LineItem, advertiser_id: i64 ) -> AdvertiserLineItemCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a new line item. Returns the newly created line item if successful. YouTube & Partners line items cannot be created or updated using the API.
§Arguments
request
- No description provided.advertiserId
- Output only. The unique ID of the advertiser the line item belongs to.
sourcepub fn line_items_delete(
&self,
advertiser_id: i64,
line_item_id: i64
) -> AdvertiserLineItemDeleteCall<'a, S>
pub fn line_items_delete( &self, advertiser_id: i64, line_item_id: i64 ) -> AdvertiserLineItemDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes a line item. Returns error code NOT_FOUND
if the line item does not exist. The line item should be archived first, i.e. set entity_status to ENTITY_STATUS_ARCHIVED
, to be able to delete it. YouTube & Partners line items cannot be created or updated using the API.
§Arguments
advertiserId
- The ID of the advertiser this line item belongs to.lineItemId
- The ID of the line item to delete.
sourcepub fn line_items_generate_default(
&self,
request: GenerateDefaultLineItemRequest,
advertiser_id: i64
) -> AdvertiserLineItemGenerateDefaultCall<'a, S>
pub fn line_items_generate_default( &self, request: GenerateDefaultLineItemRequest, advertiser_id: i64 ) -> AdvertiserLineItemGenerateDefaultCall<'a, S>
Create a builder to help you perform the following task:
Creates a new line item with settings (including targeting) inherited from the insertion order and an ENTITY_STATUS_DRAFT
entity_status. Returns the newly created line item if successful. There are default values based on the three fields: * The insertion order’s insertion_order_type * The insertion order’s automation_type * The given line_item_type YouTube & Partners line items cannot be created or updated using the API.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the advertiser this line item belongs to.
sourcepub fn line_items_get(
&self,
advertiser_id: i64,
line_item_id: i64
) -> AdvertiserLineItemGetCall<'a, S>
pub fn line_items_get( &self, advertiser_id: i64, line_item_id: i64 ) -> AdvertiserLineItemGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a line item.
§Arguments
advertiserId
- Required. The ID of the advertiser this line item belongs to.lineItemId
- Required. The ID of the line item to fetch.
sourcepub fn line_items_list(
&self,
advertiser_id: i64
) -> AdvertiserLineItemListCall<'a, S>
pub fn line_items_list( &self, advertiser_id: i64 ) -> AdvertiserLineItemListCall<'a, S>
Create a builder to help you perform the following task:
Lists line items in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, line items with ENTITY_STATUS_ARCHIVED
will not be included in the results.
§Arguments
advertiserId
- Required. The ID of the advertiser to list line items for.
sourcepub fn line_items_patch(
&self,
request: LineItem,
advertiser_id: i64,
line_item_id: i64
) -> AdvertiserLineItemPatchCall<'a, S>
pub fn line_items_patch( &self, request: LineItem, advertiser_id: i64, line_item_id: i64 ) -> AdvertiserLineItemPatchCall<'a, S>
Create a builder to help you perform the following task:
Updates an existing line item. Returns the updated line item if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * BulkEditAssignedTargetingOptions * BulkUpdateLineItems * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API. This method regularly experiences high latency. We recommend increasing your default timeout to avoid errors.
§Arguments
request
- No description provided.advertiserId
- Output only. The unique ID of the advertiser the line item belongs to.lineItemId
- Output only. The unique ID of the line item. Assigned by the system.
sourcepub fn location_lists_assigned_locations_bulk_edit(
&self,
request: BulkEditAssignedLocationsRequest,
advertiser_id: i64,
location_list_id: i64
) -> AdvertiserLocationListAssignedLocationBulkEditCall<'a, S>
pub fn location_lists_assigned_locations_bulk_edit( &self, request: BulkEditAssignedLocationsRequest, advertiser_id: i64, location_list_id: i64 ) -> AdvertiserLocationListAssignedLocationBulkEditCall<'a, S>
Create a builder to help you perform the following task:
Bulk edits multiple assignments between locations and a single location list. The operation will delete the assigned locations provided in deletedAssignedLocations and then create the assigned locations provided in createdAssignedLocations.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the DV360 advertiser to which the location list belongs.locationListId
- Required. The ID of the location list to which these assignments are assigned.
sourcepub fn location_lists_assigned_locations_create(
&self,
request: AssignedLocation,
advertiser_id: i64,
location_list_id: i64
) -> AdvertiserLocationListAssignedLocationCreateCall<'a, S>
pub fn location_lists_assigned_locations_create( &self, request: AssignedLocation, advertiser_id: i64, location_list_id: i64 ) -> AdvertiserLocationListAssignedLocationCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates an assignment between a location and a location list.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the DV360 advertiser to which the location list belongs.locationListId
- Required. The ID of the location list for which the assignment will be created.
sourcepub fn location_lists_assigned_locations_delete(
&self,
advertiser_id: i64,
location_list_id: i64,
assigned_location_id: i64
) -> AdvertiserLocationListAssignedLocationDeleteCall<'a, S>
pub fn location_lists_assigned_locations_delete( &self, advertiser_id: i64, location_list_id: i64, assigned_location_id: i64 ) -> AdvertiserLocationListAssignedLocationDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes the assignment between a location and a location list.
§Arguments
advertiserId
- Required. The ID of the DV360 advertiser to which the location list belongs.locationListId
- Required. The ID of the location list to which this assignment is assigned.assignedLocationId
- Required. The ID of the assigned location to delete.
sourcepub fn location_lists_assigned_locations_list(
&self,
advertiser_id: i64,
location_list_id: i64
) -> AdvertiserLocationListAssignedLocationListCall<'a, S>
pub fn location_lists_assigned_locations_list( &self, advertiser_id: i64, location_list_id: i64 ) -> AdvertiserLocationListAssignedLocationListCall<'a, S>
Create a builder to help you perform the following task:
Lists locations assigned to a location list.
§Arguments
advertiserId
- Required. The ID of the DV360 advertiser to which the location list belongs.locationListId
- Required. The ID of the location list to which these assignments are assigned.
sourcepub fn location_lists_create(
&self,
request: LocationList,
advertiser_id: i64
) -> AdvertiserLocationListCreateCall<'a, S>
pub fn location_lists_create( &self, request: LocationList, advertiser_id: i64 ) -> AdvertiserLocationListCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a new location list. Returns the newly created location list if successful.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the DV360 advertiser to which the location list belongs.
sourcepub fn location_lists_get(
&self,
advertiser_id: i64,
location_list_id: i64
) -> AdvertiserLocationListGetCall<'a, S>
pub fn location_lists_get( &self, advertiser_id: i64, location_list_id: i64 ) -> AdvertiserLocationListGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a location list.
§Arguments
advertiserId
- Required. The ID of the DV360 advertiser to which the fetched location list belongs.locationListId
- Required. The ID of the location list to fetch.
sourcepub fn location_lists_list(
&self,
advertiser_id: i64
) -> AdvertiserLocationListListCall<'a, S>
pub fn location_lists_list( &self, advertiser_id: i64 ) -> AdvertiserLocationListListCall<'a, S>
Create a builder to help you perform the following task:
Lists location lists based on a given advertiser id.
§Arguments
advertiserId
- Required. The ID of the DV360 advertiser to which the fetched location lists belong.
sourcepub fn location_lists_patch(
&self,
request: LocationList,
advertiser_id: i64,
location_list_id: i64
) -> AdvertiserLocationListPatchCall<'a, S>
pub fn location_lists_patch( &self, request: LocationList, advertiser_id: i64, location_list_id: i64 ) -> AdvertiserLocationListPatchCall<'a, S>
Create a builder to help you perform the following task:
Updates a location list. Returns the updated location list if successful.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the DV360 advertiser to which the location lists belongs.locationListId
- Output only. The unique ID of the location list. Assigned by the system.
sourcepub fn manual_triggers_activate(
&self,
request: ActivateManualTriggerRequest,
advertiser_id: i64,
trigger_id: i64
) -> AdvertiserManualTriggerActivateCall<'a, S>
pub fn manual_triggers_activate( &self, request: ActivateManualTriggerRequest, advertiser_id: i64, trigger_id: i64 ) -> AdvertiserManualTriggerActivateCall<'a, S>
Create a builder to help you perform the following task:
Activates a manual trigger. Each activation of the manual trigger must be at least 5 minutes apart, otherwise an error will be returned. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our feature deprecation announcement for more information.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the advertiser that the manual trigger belongs.triggerId
- Required. The ID of the manual trigger to activate.
sourcepub fn manual_triggers_create(
&self,
request: ManualTrigger,
advertiser_id: i64
) -> AdvertiserManualTriggerCreateCall<'a, S>
pub fn manual_triggers_create( &self, request: ManualTrigger, advertiser_id: i64 ) -> AdvertiserManualTriggerCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a new manual trigger. Returns the newly created manual trigger if successful. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our feature deprecation announcement for more information.
§Arguments
request
- No description provided.advertiserId
- Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to.
sourcepub fn manual_triggers_deactivate(
&self,
request: DeactivateManualTriggerRequest,
advertiser_id: i64,
trigger_id: i64
) -> AdvertiserManualTriggerDeactivateCall<'a, S>
pub fn manual_triggers_deactivate( &self, request: DeactivateManualTriggerRequest, advertiser_id: i64, trigger_id: i64 ) -> AdvertiserManualTriggerDeactivateCall<'a, S>
Create a builder to help you perform the following task:
Deactivates a manual trigger. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our feature deprecation announcement for more information.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the advertiser that the manual trigger belongs.triggerId
- Required. The ID of the manual trigger to deactivate.
sourcepub fn manual_triggers_get(
&self,
advertiser_id: i64,
trigger_id: i64
) -> AdvertiserManualTriggerGetCall<'a, S>
pub fn manual_triggers_get( &self, advertiser_id: i64, trigger_id: i64 ) -> AdvertiserManualTriggerGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a manual trigger. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our feature deprecation announcement for more information.
§Arguments
advertiserId
- Required. The ID of the advertiser this manual trigger belongs to.triggerId
- Required. The ID of the manual trigger to fetch.
sourcepub fn manual_triggers_list(
&self,
advertiser_id: i64
) -> AdvertiserManualTriggerListCall<'a, S>
pub fn manual_triggers_list( &self, advertiser_id: i64 ) -> AdvertiserManualTriggerListCall<'a, S>
Create a builder to help you perform the following task:
Lists manual triggers that are accessible to the current user for a given advertiser ID. The order is defined by the order_by parameter. A single advertiser_id is required. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our feature deprecation announcement for more information.
§Arguments
advertiserId
- Required. The ID of the advertiser that the fetched manual triggers belong to.
sourcepub fn manual_triggers_patch(
&self,
request: ManualTrigger,
advertiser_id: i64,
trigger_id: i64
) -> AdvertiserManualTriggerPatchCall<'a, S>
pub fn manual_triggers_patch( &self, request: ManualTrigger, advertiser_id: i64, trigger_id: i64 ) -> AdvertiserManualTriggerPatchCall<'a, S>
Create a builder to help you perform the following task:
Updates a manual trigger. Returns the updated manual trigger if successful. Warning: Line Items using manual triggers no longer serve in Display & Video 360. This method will sunset on August 1, 2023. Read our feature deprecation announcement for more information.
§Arguments
request
- No description provided.advertiserId
- Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to.triggerId
- Output only. The unique ID of the manual trigger.
sourcepub fn negative_keyword_lists_negative_keywords_bulk_edit(
&self,
request: BulkEditNegativeKeywordsRequest,
advertiser_id: i64,
negative_keyword_list_id: i64
) -> AdvertiserNegativeKeywordListNegativeKeywordBulkEditCall<'a, S>
pub fn negative_keyword_lists_negative_keywords_bulk_edit( &self, request: BulkEditNegativeKeywordsRequest, advertiser_id: i64, negative_keyword_list_id: i64 ) -> AdvertiserNegativeKeywordListNegativeKeywordBulkEditCall<'a, S>
Create a builder to help you perform the following task:
Bulk edits negative keywords in a single negative keyword list. The operation will delete the negative keywords provided in BulkEditNegativeKeywordsRequest.deleted_negative_keywords and then create the negative keywords provided in BulkEditNegativeKeywordsRequest.created_negative_keywords. This operation is guaranteed to be atomic and will never result in a partial success or partial failure.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.negativeKeywordListId
- Required. The ID of the parent negative keyword list to which the negative keywords belong.
sourcepub fn negative_keyword_lists_negative_keywords_create(
&self,
request: NegativeKeyword,
advertiser_id: i64,
negative_keyword_list_id: i64
) -> AdvertiserNegativeKeywordListNegativeKeywordCreateCall<'a, S>
pub fn negative_keyword_lists_negative_keywords_create( &self, request: NegativeKeyword, advertiser_id: i64, negative_keyword_list_id: i64 ) -> AdvertiserNegativeKeywordListNegativeKeywordCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a negative keyword in a negative keyword list.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.negativeKeywordListId
- Required. The ID of the parent negative keyword list in which the negative keyword will be created.
sourcepub fn negative_keyword_lists_negative_keywords_delete(
&self,
advertiser_id: i64,
negative_keyword_list_id: i64,
keyword_value: &str
) -> AdvertiserNegativeKeywordListNegativeKeywordDeleteCall<'a, S>
pub fn negative_keyword_lists_negative_keywords_delete( &self, advertiser_id: i64, negative_keyword_list_id: i64, keyword_value: &str ) -> AdvertiserNegativeKeywordListNegativeKeywordDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes a negative keyword from a negative keyword list.
§Arguments
advertiserId
- Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.negativeKeywordListId
- Required. The ID of the parent negative keyword list to which the negative keyword belongs.keywordValue
- Required. The keyword value of the negative keyword to delete.
sourcepub fn negative_keyword_lists_negative_keywords_list(
&self,
advertiser_id: i64,
negative_keyword_list_id: i64
) -> AdvertiserNegativeKeywordListNegativeKeywordListCall<'a, S>
pub fn negative_keyword_lists_negative_keywords_list( &self, advertiser_id: i64, negative_keyword_list_id: i64 ) -> AdvertiserNegativeKeywordListNegativeKeywordListCall<'a, S>
Create a builder to help you perform the following task:
Lists negative keywords in a negative keyword list.
§Arguments
advertiserId
- Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.negativeKeywordListId
- Required. The ID of the parent negative keyword list to which the requested negative keywords belong.
sourcepub fn negative_keyword_lists_negative_keywords_replace(
&self,
request: ReplaceNegativeKeywordsRequest,
advertiser_id: i64,
negative_keyword_list_id: i64
) -> AdvertiserNegativeKeywordListNegativeKeywordReplaceCall<'a, S>
pub fn negative_keyword_lists_negative_keywords_replace( &self, request: ReplaceNegativeKeywordsRequest, advertiser_id: i64, negative_keyword_list_id: i64 ) -> AdvertiserNegativeKeywordListNegativeKeywordReplaceCall<'a, S>
Create a builder to help you perform the following task:
Replaces all negative keywords in a single negative keyword list. The operation will replace the keywords in a negative keyword list with keywords provided in ReplaceNegativeKeywordsRequest.new_negative_keywords.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the DV360 advertiser to which the parent negative keyword list belongs.negativeKeywordListId
- Required. The ID of the parent negative keyword list to which the negative keywords belong.
sourcepub fn negative_keyword_lists_create(
&self,
request: NegativeKeywordList,
advertiser_id: i64
) -> AdvertiserNegativeKeywordListCreateCall<'a, S>
pub fn negative_keyword_lists_create( &self, request: NegativeKeywordList, advertiser_id: i64 ) -> AdvertiserNegativeKeywordListCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a new negative keyword list. Returns the newly created negative keyword list if successful.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the DV360 advertiser to which the negative keyword list will belong.
sourcepub fn negative_keyword_lists_delete(
&self,
advertiser_id: i64,
negative_keyword_list_id: i64
) -> AdvertiserNegativeKeywordListDeleteCall<'a, S>
pub fn negative_keyword_lists_delete( &self, advertiser_id: i64, negative_keyword_list_id: i64 ) -> AdvertiserNegativeKeywordListDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes a negative keyword list given an advertiser ID and a negative keyword list ID.
§Arguments
advertiserId
- Required. The ID of the DV360 advertiser to which the negative keyword list belongs.negativeKeywordListId
- Required. The ID of the negative keyword list to delete.
sourcepub fn negative_keyword_lists_get(
&self,
advertiser_id: i64,
negative_keyword_list_id: i64
) -> AdvertiserNegativeKeywordListGetCall<'a, S>
pub fn negative_keyword_lists_get( &self, advertiser_id: i64, negative_keyword_list_id: i64 ) -> AdvertiserNegativeKeywordListGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a negative keyword list given an advertiser ID and a negative keyword list ID.
§Arguments
advertiserId
- Required. The ID of the DV360 advertiser to which the fetched negative keyword list belongs.negativeKeywordListId
- Required. The ID of the negative keyword list to fetch.
sourcepub fn negative_keyword_lists_list(
&self,
advertiser_id: i64
) -> AdvertiserNegativeKeywordListListCall<'a, S>
pub fn negative_keyword_lists_list( &self, advertiser_id: i64 ) -> AdvertiserNegativeKeywordListListCall<'a, S>
Create a builder to help you perform the following task:
Lists negative keyword lists based on a given advertiser id.
§Arguments
advertiserId
- Required. The ID of the DV360 advertiser to which the fetched negative keyword lists belong.
sourcepub fn negative_keyword_lists_patch(
&self,
request: NegativeKeywordList,
advertiser_id: i64,
negative_keyword_list_id: i64
) -> AdvertiserNegativeKeywordListPatchCall<'a, S>
pub fn negative_keyword_lists_patch( &self, request: NegativeKeywordList, advertiser_id: i64, negative_keyword_list_id: i64 ) -> AdvertiserNegativeKeywordListPatchCall<'a, S>
Create a builder to help you perform the following task:
Updates a negative keyword list. Returns the updated negative keyword list if successful.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the DV360 advertiser to which the negative keyword list belongs.negativeKeywordListId
- Output only. The unique ID of the negative keyword list. Assigned by the system.
sourcepub fn targeting_types_assigned_targeting_options_create(
&self,
request: AssignedTargetingOption,
advertiser_id: i64,
targeting_type: &str
) -> AdvertiserTargetingTypeAssignedTargetingOptionCreateCall<'a, S>
pub fn targeting_types_assigned_targeting_options_create( &self, request: AssignedTargetingOption, advertiser_id: i64, targeting_type: &str ) -> AdvertiserTargetingTypeAssignedTargetingOptionCreateCall<'a, S>
Create a builder to help you perform the following task:
Assigns a targeting option to an advertiser. Returns the assigned targeting option if successful.
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the advertiser.targetingType
- Required. Identifies the type of this assigned targeting option. Supported targeting types: *TARGETING_TYPE_CHANNEL
*TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION
*TARGETING_TYPE_OMID
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
sourcepub fn targeting_types_assigned_targeting_options_delete(
&self,
advertiser_id: i64,
targeting_type: &str,
assigned_targeting_option_id: &str
) -> AdvertiserTargetingTypeAssignedTargetingOptionDeleteCall<'a, S>
pub fn targeting_types_assigned_targeting_options_delete( &self, advertiser_id: i64, targeting_type: &str, assigned_targeting_option_id: &str ) -> AdvertiserTargetingTypeAssignedTargetingOptionDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes an assigned targeting option from an advertiser.
§Arguments
advertiserId
- Required. The ID of the advertiser.targetingType
- Required. Identifies the type of this assigned targeting option. Supported targeting types: *TARGETING_TYPE_CHANNEL
*TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION
*TARGETING_TYPE_OMID
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
assignedTargetingOptionId
- Required. The ID of the assigned targeting option to delete.
sourcepub fn targeting_types_assigned_targeting_options_get(
&self,
advertiser_id: i64,
targeting_type: &str,
assigned_targeting_option_id: &str
) -> AdvertiserTargetingTypeAssignedTargetingOptionGetCall<'a, S>
pub fn targeting_types_assigned_targeting_options_get( &self, advertiser_id: i64, targeting_type: &str, assigned_targeting_option_id: &str ) -> AdvertiserTargetingTypeAssignedTargetingOptionGetCall<'a, S>
Create a builder to help you perform the following task:
Gets a single targeting option assigned to an advertiser.
§Arguments
advertiserId
- Required. The ID of the advertiser.targetingType
- Required. Identifies the type of this assigned targeting option. Supported targeting types: *TARGETING_TYPE_CHANNEL
*TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION
*TARGETING_TYPE_OMID
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
*TARGETING_TYPE_YOUTUBE_VIDEO
*TARGETING_TYPE_YOUTUBE_CHANNEL
assignedTargetingOptionId
- Required. An identifier unique to the targeting type in this advertiser that identifies the assigned targeting option being requested.
sourcepub fn targeting_types_assigned_targeting_options_list(
&self,
advertiser_id: i64,
targeting_type: &str
) -> AdvertiserTargetingTypeAssignedTargetingOptionListCall<'a, S>
pub fn targeting_types_assigned_targeting_options_list( &self, advertiser_id: i64, targeting_type: &str ) -> AdvertiserTargetingTypeAssignedTargetingOptionListCall<'a, S>
Create a builder to help you perform the following task:
Lists the targeting options assigned to an advertiser.
§Arguments
advertiserId
- Required. The ID of the advertiser.targetingType
- Required. Identifies the type of assigned targeting options to list. Supported targeting types: *TARGETING_TYPE_CHANNEL
*TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION
*TARGETING_TYPE_OMID
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
*TARGETING_TYPE_YOUTUBE_VIDEO
*TARGETING_TYPE_YOUTUBE_CHANNEL
sourcepub fn audit(&self, advertiser_id: i64) -> AdvertiserAuditCall<'a, S>
pub fn audit(&self, advertiser_id: i64) -> AdvertiserAuditCall<'a, S>
Create a builder to help you perform the following task:
Audits an advertiser. Returns the counts of used entities per resource type under the advertiser provided. Used entities count towards their respective resource limit. See https://support.google.com/displayvideo/answer/6071450.
§Arguments
advertiserId
- Required. The ID of the advertiser to audit.
sourcepub fn bulk_edit_advertiser_assigned_targeting_options(
&self,
request: BulkEditAdvertiserAssignedTargetingOptionsRequest,
advertiser_id: i64
) -> AdvertiserBulkEditAdvertiserAssignedTargetingOptionCall<'a, S>
pub fn bulk_edit_advertiser_assigned_targeting_options( &self, request: BulkEditAdvertiserAssignedTargetingOptionsRequest, advertiser_id: i64 ) -> AdvertiserBulkEditAdvertiserAssignedTargetingOptionCall<'a, S>
Create a builder to help you perform the following task:
Bulk edits targeting options under a single advertiser. The operation will delete the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .
§Arguments
request
- No description provided.advertiserId
- Required. The ID of the advertiser.
sourcepub fn bulk_list_advertiser_assigned_targeting_options(
&self,
advertiser_id: i64
) -> AdvertiserBulkListAdvertiserAssignedTargetingOptionCall<'a, S>
pub fn bulk_list_advertiser_assigned_targeting_options( &self, advertiser_id: i64 ) -> AdvertiserBulkListAdvertiserAssignedTargetingOptionCall<'a, S>
Create a builder to help you perform the following task:
Lists assigned targeting options of an advertiser across targeting types.
§Arguments
advertiserId
- Required. The ID of the advertiser the line item belongs to.
sourcepub fn create(&self, request: Advertiser) -> AdvertiserCreateCall<'a, S>
pub fn create(&self, request: Advertiser) -> AdvertiserCreateCall<'a, S>
Create a builder to help you perform the following task:
Creates a new advertiser. Returns the newly created advertiser if successful. This method regularly experiences high latency. We recommend increasing your default timeout to avoid errors.
§Arguments
request
- No description provided.
sourcepub fn delete(&self, advertiser_id: i64) -> AdvertiserDeleteCall<'a, S>
pub fn delete(&self, advertiser_id: i64) -> AdvertiserDeleteCall<'a, S>
Create a builder to help you perform the following task:
Deletes an advertiser. Deleting an advertiser will delete all of its child resources, for example, campaigns, insertion orders and line items. A deleted advertiser cannot be recovered.
§Arguments
advertiserId
- The ID of the advertiser we need to delete.
sourcepub fn get(&self, advertiser_id: i64) -> AdvertiserGetCall<'a, S>
pub fn get(&self, advertiser_id: i64) -> AdvertiserGetCall<'a, S>
Create a builder to help you perform the following task:
Gets an advertiser.
§Arguments
advertiserId
- Required. The ID of the advertiser to fetch.
sourcepub fn list(&self) -> AdvertiserListCall<'a, S>
pub fn list(&self) -> AdvertiserListCall<'a, S>
Create a builder to help you perform the following task:
Lists advertisers that are accessible to the current user. The order is defined by the order_by parameter. A single partner_id is required. Cross-partner listing is not supported.
sourcepub fn patch(
&self,
request: Advertiser,
advertiser_id: i64
) -> AdvertiserPatchCall<'a, S>
pub fn patch( &self, request: Advertiser, advertiser_id: i64 ) -> AdvertiserPatchCall<'a, S>
Create a builder to help you perform the following task:
Updates an existing advertiser. Returns the updated advertiser if successful.
§Arguments
request
- No description provided.advertiserId
- Output only. The unique ID of the advertiser. Assigned by the system.