Class: Google::Apis::DisplayvideoV1::DisplayVideoService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::DisplayvideoV1::DisplayVideoService
- Defined in:
- generated/google/apis/displayvideo_v1/service.rb
Overview
Display & Video 360 API
Display & Video 360 API allows users to manage and create campaigns and reports.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#activate_manual_trigger(advertiser_id, trigger_id, activate_manual_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ManualTrigger
Activates a manual trigger.
-
#audit_advertiser(advertiser_id, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AuditAdvertiserResponse
Audits an advertiser.
-
#bulk_advertiser_channel_site_edit(advertiser_id, channel_id, bulk_edit_sites_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditSitesResponse
Bulk edits sites under a single channel.
-
#bulk_advertiser_line_item_list_line_item_assigned_targeting_options(advertiser_id, line_item_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkListLineItemAssignedTargetingOptionsResponse
Lists assigned targeting options of a line item across targeting types.
-
#bulk_advertiser_list_advertiser_assigned_targeting_options(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkListAdvertiserAssignedTargetingOptionsResponse
Lists assigned targeting options of an advertiser across targeting types.
-
#bulk_edit_advertiser_assigned_targeting_options(advertiser_id, bulk_edit_advertiser_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsResponse
Bulk edits targeting options under a single advertiser.
-
#bulk_edit_assigned_inventory_sources(inventory_source_group_id, bulk_edit_assigned_inventory_sources_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesResponse
Bulk edits multiple assignments between inventory sources and a single inventory source group.
-
#bulk_edit_assigned_locations(advertiser_id, location_list_id, bulk_edit_assigned_locations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsResponse
Bulk edits multiple assignments between locations and a single location list.
-
#bulk_edit_assigned_user_roles(user_id, bulk_edit_assigned_user_roles_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse
Bulk edits user roles for a user.
-
#bulk_edit_line_item_assigned_targeting_options(advertiser_id, line_item_id, bulk_edit_line_item_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditLineItemAssignedTargetingOptionsResponse
Bulk edits targeting options under a single line item.
-
#bulk_edit_negative_keywords(advertiser_id, negative_keyword_list_id, bulk_edit_negative_keywords_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsResponse
Bulk edits negative keywords in a single negative keyword list.
-
#bulk_edit_partner_assigned_targeting_options(partner_id, bulk_edit_partner_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse
Bulk edits targeting options under a single partner.
-
#bulk_partner_channel_site_edit(partner_id, channel_id, bulk_edit_sites_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditSitesResponse
Bulk edits sites under a single channel.
-
#create_advertiser(advertiser_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Advertiser
Creates a new advertiser.
-
#create_advertiser_campaign(advertiser_id, campaign_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Campaign
Creates a new campaign.
-
#create_advertiser_channel(advertiser_id, channel_object = nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Channel
Creates a new channel.
-
#create_advertiser_channel_site(advertiser_id, channel_id, site_object = nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Site
Creates a site in a channel.
-
#create_advertiser_creative(advertiser_id, creative_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Creative
Creates a new creative.
-
#create_advertiser_insertion_order(advertiser_id, insertion_order_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InsertionOrder
Creates a new insertion order.
-
#create_advertiser_line_item(advertiser_id, line_item_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::LineItem
Creates a new line item.
-
#create_advertiser_line_item_targeting_type_assigned_targeting_option(advertiser_id, line_item_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedTargetingOption
Assigns a targeting option to a line item.
-
#create_advertiser_location_list(advertiser_id, location_list_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::LocationList
Creates a new location list.
-
#create_advertiser_location_list_assigned_location(advertiser_id, location_list_id, assigned_location_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedLocation
Creates an assignment between a location and a location list.
-
#create_advertiser_manual_trigger(advertiser_id, manual_trigger_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ManualTrigger
Creates a new manual trigger.
-
#create_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::NegativeKeywordList
Creates a new negative keyword list.
-
#create_advertiser_negative_keyword_list_negative_keyword(advertiser_id, negative_keyword_list_id, negative_keyword_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::NegativeKeyword
Creates a negative keyword in a negative keyword list.
-
#create_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedTargetingOption
Assigns a targeting option to an advertiser.
-
#create_inventory_source_group(inventory_source_group_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InventorySourceGroup
Creates a new inventory source group.
-
#create_inventory_source_group_assigned_inventory_source(inventory_source_group_id, assigned_inventory_source_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedInventorySource
Creates an assignment between an inventory source and an inventory source group.
-
#create_partner_channel(partner_id, channel_object = nil, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Channel
Creates a new channel.
-
#create_partner_channel_site(partner_id, channel_id, site_object = nil, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Site
Creates a site in a channel.
-
#create_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedTargetingOption
Assigns a targeting option to a partner.
-
#create_sdfdownloadtask_sdf_download_task(create_sdf_download_task_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Operation
Creates an SDF Download Task.
-
#create_user(user_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::User
Creates a new user.
-
#deactivate_manual_trigger(advertiser_id, trigger_id, deactivate_manual_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ManualTrigger
Deactivates a manual trigger.
-
#delete_advertiser(advertiser_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes an advertiser.
-
#delete_advertiser_campaign(advertiser_id, campaign_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Permanently deletes a campaign.
-
#delete_advertiser_channel_site(advertiser_id, channel_id, url_or_app_id, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes a site from a channel.
-
#delete_advertiser_creative(advertiser_id, creative_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes a creative.
-
#delete_advertiser_insertion_order(advertiser_id, insertion_order_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes an insertion order.
-
#delete_advertiser_line_item(advertiser_id, line_item_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes a line item.
-
#delete_advertiser_line_item_targeting_type_assigned_targeting_option(advertiser_id, line_item_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes an assigned targeting option from a line item.
-
#delete_advertiser_location_list_assigned_location(advertiser_id, location_list_id, assigned_location_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes the assignment between a location and a location list.
-
#delete_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes a negative keyword list given an advertiser ID and a negative keyword list ID.
-
#delete_advertiser_negative_keyword_list_negative_keyword(advertiser_id, negative_keyword_list_id, keyword_value, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes a negative keyword from a negative keyword list.
-
#delete_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes an assigned targeting option from an advertiser.
-
#delete_inventory_source_group(inventory_source_group_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes an inventory source group.
-
#delete_inventory_source_group_assigned_inventory_source(inventory_source_group_id, assigned_inventory_source_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes the assignment between an inventory source and an inventory source group.
-
#delete_partner_channel_site(partner_id, channel_id, url_or_app_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes a site from a channel.
-
#delete_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes an assigned targeting option from a partner.
-
#delete_user(user_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes a user.
-
#download_medium(resource_name, fields: nil, quota_user: nil, download_dest: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::GoogleBytestreamMedia
Downloads media.
-
#get_advertiser(advertiser_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Advertiser
Gets an advertiser.
-
#get_advertiser_campaign(advertiser_id, campaign_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Campaign
Gets a campaign.
-
#get_advertiser_channel(advertiser_id, channel_id, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Channel
Gets a channel for a partner or advertiser.
-
#get_advertiser_creative(advertiser_id, creative_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Creative
Gets a creative.
-
#get_advertiser_insertion_order(advertiser_id, insertion_order_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InsertionOrder
Gets an insertion order.
-
#get_advertiser_line_item(advertiser_id, line_item_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::LineItem
Gets a line item.
-
#get_advertiser_line_item_targeting_type_assigned_targeting_option(advertiser_id, line_item_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedTargetingOption
Gets a single targeting option assigned to a line item.
-
#get_advertiser_location_list(advertiser_id, location_list_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::LocationList
Gets a location list.
-
#get_advertiser_manual_trigger(advertiser_id, trigger_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ManualTrigger
Gets a manual trigger.
-
#get_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::NegativeKeywordList
Gets a negative keyword list given an advertiser ID and a negative keyword list ID.
-
#get_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedTargetingOption
Gets a single targeting option assigned to an advertiser.
-
#get_combined_audience(combined_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::CombinedAudience
Gets a combined audience.
-
#get_custom_bidding_algorithm(custom_bidding_algorithm_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm
Gets a custom bidding algorithm.
-
#get_custom_list(custom_list_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::CustomList
Gets a custom list.
-
#get_first_and_third_party_audience(first_and_third_party_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience
Gets a first and third party audience.
-
#get_floodlight_group(floodlight_group_id, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::FloodlightGroup
Gets a Floodlight group.
-
#get_google_audience(google_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::GoogleAudience
Gets a Google audience.
-
#get_inventory_source(inventory_source_id, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InventorySource
Gets an inventory source.
-
#get_inventory_source_group(inventory_source_group_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InventorySourceGroup
Gets an inventory source group.
-
#get_partner(partner_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Partner
Gets a partner.
-
#get_partner_channel(partner_id, channel_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Channel
Gets a channel for a partner or advertiser.
-
#get_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedTargetingOption
Gets a single targeting option assigned to a partner.
-
#get_sdfdownloadtask_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Operation
Gets the latest state of an asynchronous SDF download task operation.
-
#get_targeting_type_targeting_option(targeting_type, targeting_option_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::TargetingOption
Gets a single targeting option.
-
#get_user(user_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::User
Gets a user.
-
#initialize ⇒ DisplayVideoService
constructor
A new instance of DisplayVideoService.
-
#list_advertiser_campaigns(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListCampaignsResponse
Lists campaigns in an advertiser.
-
#list_advertiser_channel_sites(advertiser_id, channel_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListSitesResponse
Lists sites in a channel.
-
#list_advertiser_channels(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListChannelsResponse
Lists channels for a partner or advertiser.
-
#list_advertiser_creatives(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListCreativesResponse
Lists creatives in an advertiser.
-
#list_advertiser_insertion_orders(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListInsertionOrdersResponse
Lists insertion orders in an advertiser.
-
#list_advertiser_line_item_targeting_type_assigned_targeting_options(advertiser_id, line_item_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListLineItemAssignedTargetingOptionsResponse
Lists the targeting options assigned to a line item.
-
#list_advertiser_line_items(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListLineItemsResponse
Lists line items in an advertiser.
-
#list_advertiser_location_list_assigned_locations(advertiser_id, location_list_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListAssignedLocationsResponse
Lists locations assigned to a location list.
-
#list_advertiser_location_lists(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListLocationListsResponse
Lists location lists based on a given advertiser id.
-
#list_advertiser_manual_triggers(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListManualTriggersResponse
Lists manual triggers that are accessible to the current user for a given advertiser ID.
-
#list_advertiser_negative_keyword_list_negative_keywords(advertiser_id, negative_keyword_list_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListNegativeKeywordsResponse
Lists negative keywords in a negative keyword list.
-
#list_advertiser_negative_keyword_lists(advertiser_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse
Lists negative keyword lists based on a given advertiser id.
-
#list_advertiser_targeting_type_assigned_targeting_options(advertiser_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListAdvertiserAssignedTargetingOptionsResponse
Lists the targeting options assigned to an advertiser.
-
#list_advertisers(filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListAdvertisersResponse
Lists advertisers that are accessible to the current user.
-
#list_combined_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse
Lists combined audiences.
-
#list_custom_bidding_algorithms(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse
Lists custom bidding algorithms that are accessible to the current user and can be used in bidding stratgies.
-
#list_custom_lists(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListCustomListsResponse
Lists custom lists.
-
#list_first_and_third_party_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse
Lists first and third party audiences.
-
#list_google_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse
Lists Google audiences.
-
#list_inventory_source_group_assigned_inventory_sources(inventory_source_group_id, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListAssignedInventorySourcesResponse
Lists inventory sources assigned to an inventory source group.
-
#list_inventory_source_groups(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse
Lists inventory source groups that are accessible to the current user.
-
#list_inventory_sources(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListInventorySourcesResponse
Lists inventory sources that are accessible to the current user.
-
#list_partner_channel_sites(partner_id, channel_id, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListSitesResponse
Lists sites in a channel.
-
#list_partner_channels(partner_id, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListChannelsResponse
Lists channels for a partner or advertiser.
-
#list_partner_targeting_type_assigned_targeting_options(partner_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse
Lists the targeting options assigned to a partner.
-
#list_partners(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListPartnersResponse
Lists partners that are accessible to the current user.
-
#list_targeting_type_targeting_options(targeting_type, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListTargetingOptionsResponse
Lists targeting options of a given type.
-
#list_users(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListUsersResponse
Lists users that are accessible to the current user.
-
#patch_advertiser(advertiser_id, advertiser_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Advertiser
Updates an existing advertiser.
-
#patch_advertiser_campaign(advertiser_id, campaign_id, campaign_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Campaign
Updates an existing campaign.
-
#patch_advertiser_channel(advertiser_id, channel_id, channel_object = nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Channel
Updates a channel.
-
#patch_advertiser_creative(advertiser_id, creative_id, creative_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Creative
Updates an existing creative.
-
#patch_advertiser_insertion_order(advertiser_id, insertion_order_id, insertion_order_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InsertionOrder
Updates an existing insertion order.
-
#patch_advertiser_line_item(advertiser_id, line_item_id, line_item_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::LineItem
Updates an existing line item.
-
#patch_advertiser_location_list(advertiser_id, location_list_id, location_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::LocationList
Updates a location list.
-
#patch_advertiser_manual_trigger(advertiser_id, trigger_id, manual_trigger_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ManualTrigger
Updates a manual trigger.
-
#patch_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, negative_keyword_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::NegativeKeywordList
Updates a negative keyword list.
-
#patch_floodlight_group(floodlight_group_id, floodlight_group_object = nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::FloodlightGroup
Updates an existing Floodlight group.
-
#patch_inventory_source_group(inventory_source_group_id, inventory_source_group_object = nil, advertiser_id: nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InventorySourceGroup
Updates an inventory source group.
-
#patch_partner_channel(partner_id, channel_id, channel_object = nil, advertiser_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Channel
Updates a channel.
-
#patch_user(user_id, user_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::User
Updates an existing user.
-
#search_targeting_options(targeting_type, search_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::SearchTargetingOptionsResponse
Searches for targeting options of a given type based on the given search terms.
-
#upload_advertiser_asset(advertiser_id, create_asset_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::CreateAssetResponse
Uploads an asset.
Constructor Details
#initialize ⇒ DisplayVideoService
Returns a new instance of DisplayVideoService.
46 47 48 49 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 46 def initialize super('https://displayvideo.googleapis.com/', '') @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns 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.
39 40 41 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 39 def key @key end |
#quota_user ⇒ String
Returns 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.
44 45 46 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 44 def quota_user @quota_user end |
Instance Method Details
#activate_manual_trigger(advertiser_id, trigger_id, activate_manual_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ManualTrigger
Activates a manual trigger. Each activation of the manual trigger must be at least 5 minutes apart, otherwise an error will be returned.
2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2265 def activate_manual_trigger(advertiser_id, trigger_id, activate_manual_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}:activate', ) command.request_representation = Google::Apis::DisplayvideoV1::ActivateManualTriggerRequest::Representation command.request_object = activate_manual_trigger_request_object command.response_representation = Google::Apis::DisplayvideoV1::ManualTrigger::Representation command.response_class = Google::Apis::DisplayvideoV1::ManualTrigger command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['triggerId'] = trigger_id unless trigger_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#audit_advertiser(advertiser_id, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AuditAdvertiserResponse
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.
79 80 81 82 83 84 85 86 87 88 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 79 def audit_advertiser(advertiser_id, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}:audit', ) command.response_representation = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['readMask'] = read_mask unless read_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_advertiser_channel_site_edit(advertiser_id, channel_id, bulk_edit_sites_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditSitesResponse
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.
818 819 820 821 822 823 824 825 826 827 828 829 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 818 def bulk_advertiser_channel_site_edit(advertiser_id, channel_id, bulk_edit_sites_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit', ) command.request_representation = Google::Apis::DisplayvideoV1::BulkEditSitesRequest::Representation command.request_object = bulk_edit_sites_request_object command.response_representation = Google::Apis::DisplayvideoV1::BulkEditSitesResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::BulkEditSitesResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['channelId'] = channel_id unless channel_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_advertiser_line_item_list_line_item_assigned_targeting_options(advertiser_id, line_item_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkListLineItemAssignedTargetingOptionsResponse
Lists assigned targeting options of a line item across targeting types.
1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1492 def (advertiser_id, line_item_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}:bulkListLineItemAssignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV1::BulkListLineItemAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::BulkListLineItemAssignedTargetingOptionsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['lineItemId'] = line_item_id unless line_item_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_advertiser_list_advertiser_assigned_targeting_options(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkListAdvertiserAssignedTargetingOptionsResponse
Lists assigned targeting options of an advertiser across targeting types.
169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 169 def (advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}:bulkListAdvertiserAssignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV1::BulkListAdvertiserAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::BulkListAdvertiserAssignedTargetingOptionsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_edit_advertiser_assigned_targeting_options(advertiser_id, bulk_edit_advertiser_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsResponse
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 .
115 116 117 118 119 120 121 122 123 124 125 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 115 def (advertiser_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}:bulkEditAdvertiserAssignedTargetingOptions', ) command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::BulkEditAdvertiserAssignedTargetingOptionsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_edit_assigned_inventory_sources(inventory_source_group_id, bulk_edit_assigned_inventory_sources_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesResponse
Bulk edits multiple assignments between inventory sources and a single inventory source group. The operation will delete the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest. deleted_assigned_inventory_sources and then create the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest. created_assigned_inventory_sources.
3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3834 def bulk_edit_assigned_inventory_sources(inventory_source_group_id, bulk_edit_assigned_inventory_sources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit', ) command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesRequest::Representation command.request_object = bulk_edit_assigned_inventory_sources_request_object command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::BulkEditAssignedInventorySourcesResponse command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_edit_assigned_locations(advertiser_id, location_list_id, bulk_edit_assigned_locations_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsResponse
Bulk edits multiple assignments between locations and a single location list. The operation will delete the assigned locations provided in BulkEditAssignedLocationsRequest.deleted_assigned_locations and then create the assigned locations provided in BulkEditAssignedLocationsRequest. created_assigned_locations.
2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2098 def bulk_edit_assigned_locations(advertiser_id, location_list_id, bulk_edit_assigned_locations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit', ) command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsRequest::Representation command.request_object = bulk_edit_assigned_locations_request_object command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::BulkEditAssignedLocationsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['locationListId'] = location_list_id unless location_list_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_edit_assigned_user_roles(user_id, bulk_edit_assigned_user_roles_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse
Bulk edits user roles for a user. The operation will delete the assigned user roles provided in BulkEditAssignedUserRolesRequest.deletedAssignedUserRoles and then assign the user roles provided in BulkEditAssignedUserRolesRequest. createdAssignedUserRoles.
5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 5002 def bulk_edit_assigned_user_roles(user_id, bulk_edit_assigned_user_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/users/{+userId}:bulkEditAssignedUserRoles', ) command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest::Representation command.request_object = bulk_edit_assigned_user_roles_request_object command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse command.params['userId'] = user_id unless user_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_edit_line_item_assigned_targeting_options(advertiser_id, line_item_id, bulk_edit_line_item_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditLineItemAssignedTargetingOptionsResponse
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 .
1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1430 def (advertiser_id, line_item_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}:bulkEditLineItemAssignedTargetingOptions', ) command.request_representation = Google::Apis::DisplayvideoV1::BulkEditLineItemAssignedTargetingOptionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DisplayvideoV1::BulkEditLineItemAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::BulkEditLineItemAssignedTargetingOptionsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['lineItemId'] = line_item_id unless line_item_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_edit_negative_keywords(advertiser_id, negative_keyword_list_id, bulk_edit_negative_keywords_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsResponse
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.
2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2698 def bulk_edit_negative_keywords(advertiser_id, negative_keyword_list_id, bulk_edit_negative_keywords_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:bulkEdit', ) command.request_representation = Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsRequest::Representation command.request_object = bulk_edit_negative_keywords_request_object command.response_representation = Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_edit_partner_assigned_targeting_options(partner_id, bulk_edit_partner_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse
Bulk edits targeting options under a single partner. The operation will delete the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.createRequests .
4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4161 def (partner_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/partners/{+partnerId}:bulkEditPartnerAssignedTargetingOptions', ) command.request_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse command.params['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#bulk_partner_channel_site_edit(partner_id, channel_id, bulk_edit_sites_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::BulkEditSitesResponse
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.
4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4453 def bulk_partner_channel_site_edit(partner_id, channel_id, bulk_edit_sites_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/partners/{partnerId}/channels/{+channelId}/sites:bulkEdit', ) command.request_representation = Google::Apis::DisplayvideoV1::BulkEditSitesRequest::Representation command.request_object = bulk_edit_sites_request_object command.response_representation = Google::Apis::DisplayvideoV1::BulkEditSitesResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::BulkEditSitesResponse command.params['partnerId'] = partner_id unless partner_id.nil? command.params['channelId'] = channel_id unless channel_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser(advertiser_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Advertiser
Creates a new advertiser. Returns the newly created advertiser if successful. This method can take up to 180 seconds to complete.
203 204 205 206 207 208 209 210 211 212 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 203 def create_advertiser(advertiser_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers', ) command.request_representation = Google::Apis::DisplayvideoV1::Advertiser::Representation command.request_object = advertiser_object command.response_representation = Google::Apis::DisplayvideoV1::Advertiser::Representation command.response_class = Google::Apis::DisplayvideoV1::Advertiser command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser_campaign(advertiser_id, campaign_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Campaign
Creates a new campaign. Returns the newly created campaign if successful.
437 438 439 440 441 442 443 444 445 446 447 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 437 def create_advertiser_campaign(advertiser_id, campaign_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/campaigns', ) command.request_representation = Google::Apis::DisplayvideoV1::Campaign::Representation command.request_object = campaign_object command.response_representation = Google::Apis::DisplayvideoV1::Campaign::Representation command.response_class = Google::Apis::DisplayvideoV1::Campaign command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser_channel(advertiser_id, channel_object = nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Channel
Creates a new channel. Returns the newly created channel if successful.
644 645 646 647 648 649 650 651 652 653 654 655 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 644 def create_advertiser_channel(advertiser_id, channel_object = nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/channels', ) command.request_representation = Google::Apis::DisplayvideoV1::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::DisplayvideoV1::Channel::Representation command.response_class = Google::Apis::DisplayvideoV1::Channel command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser_channel_site(advertiser_id, channel_id, site_object = nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Site
Creates a site in a channel.
856 857 858 859 860 861 862 863 864 865 866 867 868 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 856 def create_advertiser_channel_site(advertiser_id, channel_id, site_object = nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites', ) command.request_representation = Google::Apis::DisplayvideoV1::Site::Representation command.request_object = site_object command.response_representation = Google::Apis::DisplayvideoV1::Site::Representation command.response_class = Google::Apis::DisplayvideoV1::Site command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['channelId'] = channel_id unless channel_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser_creative(advertiser_id, creative_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Creative
Creates a new creative. Returns the newly created creative if successful.
990 991 992 993 994 995 996 997 998 999 1000 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 990 def create_advertiser_creative(advertiser_id, creative_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/creatives', ) command.request_representation = Google::Apis::DisplayvideoV1::Creative::Representation command.request_object = creative_object command.response_representation = Google::Apis::DisplayvideoV1::Creative::Representation command.response_class = Google::Apis::DisplayvideoV1::Creative command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser_insertion_order(advertiser_id, insertion_order_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InsertionOrder
Creates a new insertion order. Returns the newly created insertion order if successful.
1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1211 def create_advertiser_insertion_order(advertiser_id, insertion_order_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/insertionOrders', ) command.request_representation = Google::Apis::DisplayvideoV1::InsertionOrder::Representation command.request_object = insertion_order_object command.response_representation = Google::Apis::DisplayvideoV1::InsertionOrder::Representation command.response_class = Google::Apis::DisplayvideoV1::InsertionOrder command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser_line_item(advertiser_id, line_item_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::LineItem
Creates a new line item. Returns the newly created line item if successful.
1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1528 def create_advertiser_line_item(advertiser_id, line_item_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/lineItems', ) command.request_representation = Google::Apis::DisplayvideoV1::LineItem::Representation command.request_object = line_item_object command.response_representation = Google::Apis::DisplayvideoV1::LineItem::Representation command.response_class = Google::Apis::DisplayvideoV1::LineItem command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser_line_item_targeting_type_assigned_targeting_option(advertiser_id, line_item_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedTargetingOption
Assigns a targeting option to a line item. Returns the assigned targeting option if successful.
1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1749 def create_advertiser_line_item_targeting_type_assigned_targeting_option(advertiser_id, line_item_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.request_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation command.request_object = assigned_targeting_option_object command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['lineItemId'] = line_item_id unless line_item_id.nil? command.params['targetingType'] = targeting_type unless targeting_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser_location_list(advertiser_id, location_list_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::LocationList
Creates a new location list. Returns the newly created location list if successful.
1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1929 def create_advertiser_location_list(advertiser_id, location_list_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/locationLists', ) command.request_representation = Google::Apis::DisplayvideoV1::LocationList::Representation command.request_object = location_list_object command.response_representation = Google::Apis::DisplayvideoV1::LocationList::Representation command.response_class = Google::Apis::DisplayvideoV1::LocationList command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser_location_list_assigned_location(advertiser_id, location_list_id, assigned_location_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedLocation
Creates an assignment between a location and a location list.
2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2134 def create_advertiser_location_list_assigned_location(advertiser_id, location_list_id, assigned_location_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations', ) command.request_representation = Google::Apis::DisplayvideoV1::AssignedLocation::Representation command.request_object = assigned_location_object command.response_representation = Google::Apis::DisplayvideoV1::AssignedLocation::Representation command.response_class = Google::Apis::DisplayvideoV1::AssignedLocation command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['locationListId'] = location_list_id unless location_list_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser_manual_trigger(advertiser_id, manual_trigger_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ManualTrigger
Creates a new manual trigger. Returns the newly created manual trigger if successful.
2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2301 def create_advertiser_manual_trigger(advertiser_id, manual_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/manualTriggers', ) command.request_representation = Google::Apis::DisplayvideoV1::ManualTrigger::Representation command.request_object = manual_trigger_object command.response_representation = Google::Apis::DisplayvideoV1::ManualTrigger::Representation command.response_class = Google::Apis::DisplayvideoV1::ManualTrigger command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::NegativeKeywordList
Creates a new negative keyword list. Returns the newly created negative keyword list if successful.
2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2503 def create_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/negativeKeywordLists', ) command.request_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation command.request_object = negative_keyword_list_object command.response_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation command.response_class = Google::Apis::DisplayvideoV1::NegativeKeywordList command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser_negative_keyword_list_negative_keyword(advertiser_id, negative_keyword_list_id, negative_keyword_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::NegativeKeyword
Creates a negative keyword in a negative keyword list.
2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2736 def create_advertiser_negative_keyword_list_negative_keyword(advertiser_id, negative_keyword_list_id, negative_keyword_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords', ) command.request_representation = Google::Apis::DisplayvideoV1::NegativeKeyword::Representation command.request_object = negative_keyword_object command.response_representation = Google::Apis::DisplayvideoV1::NegativeKeyword::Representation command.response_class = Google::Apis::DisplayvideoV1::NegativeKeyword command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedTargetingOption
Assigns a targeting option to an advertiser. Returns the assigned targeting option if successful.
2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2874 def create_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.request_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation command.request_object = assigned_targeting_option_object command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['targetingType'] = targeting_type unless targeting_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_inventory_source_group(inventory_source_group_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InventorySourceGroup
Creates a new inventory source group. Returns the newly created inventory source group if successful.
3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3610 def create_inventory_source_group(inventory_source_group_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/inventorySourceGroups', ) command.request_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation command.request_object = inventory_source_group_object command.response_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation command.response_class = Google::Apis::DisplayvideoV1::InventorySourceGroup command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_inventory_source_group_assigned_inventory_source(inventory_source_group_id, assigned_inventory_source_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedInventorySource
Creates an assignment between an inventory source and an inventory source group.
3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3875 def create_inventory_source_group_assigned_inventory_source(inventory_source_group_id, assigned_inventory_source_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources', ) command.request_representation = Google::Apis::DisplayvideoV1::AssignedInventorySource::Representation command.request_object = assigned_inventory_source_object command.response_representation = Google::Apis::DisplayvideoV1::AssignedInventorySource::Representation command.response_class = Google::Apis::DisplayvideoV1::AssignedInventorySource command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_partner_channel(partner_id, channel_object = nil, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Channel
Creates a new channel. Returns the newly created channel if successful.
4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4279 def create_partner_channel(partner_id, channel_object = nil, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/partners/{+partnerId}/channels', ) command.request_representation = Google::Apis::DisplayvideoV1::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::DisplayvideoV1::Channel::Representation command.response_class = Google::Apis::DisplayvideoV1::Channel command.params['partnerId'] = partner_id unless partner_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_partner_channel_site(partner_id, channel_id, site_object = nil, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Site
Creates a site in a channel.
4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4491 def create_partner_channel_site(partner_id, channel_id, site_object = nil, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/partners/{partnerId}/channels/{+channelId}/sites', ) command.request_representation = Google::Apis::DisplayvideoV1::Site::Representation command.request_object = site_object command.response_representation = Google::Apis::DisplayvideoV1::Site::Representation command.response_class = Google::Apis::DisplayvideoV1::Site command.params['partnerId'] = partner_id unless partner_id.nil? command.params['channelId'] = channel_id unless channel_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedTargetingOption
Assigns a targeting option to a partner. Returns the assigned targeting option if successful.
4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4629 def create_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.request_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation command.request_object = assigned_targeting_option_object command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption command.params['partnerId'] = partner_id unless partner_id.nil? command.params['targetingType'] = targeting_type unless targeting_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_sdfdownloadtask_sdf_download_task(create_sdf_download_task_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Operation
Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a long-running, asynchronous operation. The metadata type of this operation is SdfDownloadTaskMetadata. If the request is successful, the response type of the operation is SdfDownloadTask. The response will not include the download files, which must be retrieved with media.download. The state of operation can be retrieved with sdfdownloadtask.operations.get. Any errors can be found in the error.message. Note that error.details is expected to be empty.
4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4802 def create_sdfdownloadtask_sdf_download_task(create_sdf_download_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/sdfdownloadtasks', ) command.request_representation = Google::Apis::DisplayvideoV1::CreateSdfDownloadTaskRequest::Representation command.request_object = create_sdf_download_task_request_object command.response_representation = Google::Apis::DisplayvideoV1::Operation::Representation command.response_class = Google::Apis::DisplayvideoV1::Operation command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_user(user_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::User
Creates a new user. Returns the newly created user if successful.
5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 5033 def create_user(user_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/users', ) command.request_representation = Google::Apis::DisplayvideoV1::User::Representation command.request_object = user_object command.response_representation = Google::Apis::DisplayvideoV1::User::Representation command.response_class = Google::Apis::DisplayvideoV1::User command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#deactivate_manual_trigger(advertiser_id, trigger_id, deactivate_manual_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ManualTrigger
Deactivates a manual trigger.
2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2336 def deactivate_manual_trigger(advertiser_id, trigger_id, deactivate_manual_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}:deactivate', ) command.request_representation = Google::Apis::DisplayvideoV1::DeactivateManualTriggerRequest::Representation command.request_object = deactivate_manual_trigger_request_object command.response_representation = Google::Apis::DisplayvideoV1::ManualTrigger::Representation command.response_class = Google::Apis::DisplayvideoV1::ManualTrigger command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['triggerId'] = trigger_id unless trigger_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_advertiser(advertiser_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
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.
236 237 238 239 240 241 242 243 244 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 236 def delete_advertiser(advertiser_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/advertisers/{+advertiserId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_advertiser_campaign(advertiser_id, campaign_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
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.
473 474 475 476 477 478 479 480 481 482 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 473 def delete_advertiser_campaign(advertiser_id, campaign_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/advertisers/{+advertiserId}/campaigns/{+campaignId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['campaignId'] = campaign_id unless campaign_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_advertiser_channel_site(advertiser_id, channel_id, url_or_app_id, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes a site from a channel.
896 897 898 899 900 901 902 903 904 905 906 907 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 896 def delete_advertiser_channel_site(advertiser_id, channel_id, url_or_app_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/advertisers/{advertiserId}/channels/{+channelId}/sites/{+urlOrAppId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['channelId'] = channel_id unless channel_id.nil? command.params['urlOrAppId'] = url_or_app_id unless url_or_app_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_advertiser_creative(advertiser_id, creative_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
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.
1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1026 def delete_advertiser_creative(advertiser_id, creative_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/advertisers/{+advertiserId}/creatives/{+creativeId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['creativeId'] = creative_id unless creative_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_advertiser_insertion_order(advertiser_id, insertion_order_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
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.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1247 def delete_advertiser_insertion_order(advertiser_id, insertion_order_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_advertiser_line_item(advertiser_id, line_item_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
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.
1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1564 def delete_advertiser_line_item(advertiser_id, line_item_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['lineItemId'] = line_item_id unless line_item_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_advertiser_line_item_targeting_type_assigned_targeting_option(advertiser_id, line_item_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes an assigned targeting option from a line item.
1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1789 def delete_advertiser_line_item_targeting_type_assigned_targeting_option(advertiser_id, line_item_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['lineItemId'] = line_item_id unless line_item_id.nil? command.params['targetingType'] = targeting_type unless targeting_type.nil? command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_advertiser_location_list_assigned_location(advertiser_id, location_list_id, assigned_location_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes the assignment between a location and a location list.
2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2171 def delete_advertiser_location_list_assigned_location(advertiser_id, location_list_id, assigned_location_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{+assignedLocationId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['locationListId'] = location_list_id unless location_list_id.nil? command.params['assignedLocationId'] = assigned_location_id unless assigned_location_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes a negative keyword list given an advertiser ID and a negative keyword list ID.
2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2539 def delete_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_advertiser_negative_keyword_list_negative_keyword(advertiser_id, negative_keyword_list_id, keyword_value, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes a negative keyword from a negative keyword list.
2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2775 def delete_advertiser_negative_keyword_list_negative_keyword(advertiser_id, negative_keyword_list_id, keyword_value, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords/{+keywordValue}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil? command.params['keywordValue'] = keyword_value unless keyword_value.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes an assigned targeting option from an advertiser.
2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2914 def delete_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['targetingType'] = targeting_type unless targeting_type.nil? command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_inventory_source_group(inventory_source_group_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes an inventory source group.
3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3649 def delete_inventory_source_group(inventory_source_group_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/inventorySourceGroups/{+inventorySourceGroupId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_inventory_source_group_assigned_inventory_source(inventory_source_group_id, assigned_inventory_source_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes the assignment between an inventory source and an inventory source group.
3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3919 def delete_inventory_source_group_assigned_inventory_source(inventory_source_group_id, assigned_inventory_source_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources/{+assignedInventorySourceId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil? command.params['assignedInventorySourceId'] = assigned_inventory_source_id unless assigned_inventory_source_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_partner_channel_site(partner_id, channel_id, url_or_app_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes a site from a channel.
4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4531 def delete_partner_channel_site(partner_id, channel_id, url_or_app_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/partners/{partnerId}/channels/{+channelId}/sites/{+urlOrAppId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['partnerId'] = partner_id unless partner_id.nil? command.params['channelId'] = channel_id unless channel_id.nil? command.params['urlOrAppId'] = url_or_app_id unless url_or_app_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes an assigned targeting option from a partner.
4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4667 def delete_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['partnerId'] = partner_id unless partner_id.nil? command.params['targetingType'] = targeting_type unless targeting_type.nil? command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_user(user_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Empty
Deletes a user.
5064 5065 5066 5067 5068 5069 5070 5071 5072 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 5064 def delete_user(user_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/users/{+userId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation command.response_class = Google::Apis::DisplayvideoV1::Empty command.params['userId'] = user_id unless user_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#download_medium(resource_name, fields: nil, quota_user: nil, download_dest: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::GoogleBytestreamMedia
Downloads media. Download is supported on the URI /download/
resource_name=
?alt=media.
**Note: Download requests will not be successful without
including alt=media
query string.
4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4121 def download_medium(resource_name, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block) if download_dest.nil? command = make_simple_command(:get, 'download/{+resourceName}', ) else command = make_download_command(:get, 'download/{+resourceName}', ) command.download_dest = download_dest end command.response_representation = Google::Apis::DisplayvideoV1::GoogleBytestreamMedia::Representation command.response_class = Google::Apis::DisplayvideoV1::GoogleBytestreamMedia command.params['resourceName'] = resource_name unless resource_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_advertiser(advertiser_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Advertiser
Gets an advertiser.
266 267 268 269 270 271 272 273 274 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 266 def get_advertiser(advertiser_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Advertiser::Representation command.response_class = Google::Apis::DisplayvideoV1::Advertiser command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_advertiser_campaign(advertiser_id, campaign_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Campaign
Gets a campaign.
506 507 508 509 510 511 512 513 514 515 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 506 def get_advertiser_campaign(advertiser_id, campaign_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/campaigns/{+campaignId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Campaign::Representation command.response_class = Google::Apis::DisplayvideoV1::Campaign command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['campaignId'] = campaign_id unless campaign_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_advertiser_channel(advertiser_id, channel_id, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Channel
Gets a channel for a partner or advertiser.
681 682 683 684 685 686 687 688 689 690 691 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 681 def get_advertiser_channel(advertiser_id, channel_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/channels/{+channelId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Channel::Representation command.response_class = Google::Apis::DisplayvideoV1::Channel command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['channelId'] = channel_id unless channel_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_advertiser_creative(advertiser_id, creative_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Creative
Gets a creative.
1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1059 def get_advertiser_creative(advertiser_id, creative_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/creatives/{+creativeId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Creative::Representation command.response_class = Google::Apis::DisplayvideoV1::Creative command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['creativeId'] = creative_id unless creative_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_advertiser_insertion_order(advertiser_id, insertion_order_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InsertionOrder
Gets an insertion order. Returns error code NOT_FOUND
if the insertion order
does not exist.
1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1281 def get_advertiser_insertion_order(advertiser_id, insertion_order_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}', ) command.response_representation = Google::Apis::DisplayvideoV1::InsertionOrder::Representation command.response_class = Google::Apis::DisplayvideoV1::InsertionOrder command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_advertiser_line_item(advertiser_id, line_item_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::LineItem
Gets a line item.
1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1597 def get_advertiser_line_item(advertiser_id, line_item_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}', ) command.response_representation = Google::Apis::DisplayvideoV1::LineItem::Representation command.response_class = Google::Apis::DisplayvideoV1::LineItem command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['lineItemId'] = line_item_id unless line_item_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_advertiser_line_item_targeting_type_assigned_targeting_option(advertiser_id, line_item_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedTargetingOption
Gets a single targeting option assigned to a line item.
1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1829 def get_advertiser_line_item_targeting_type_assigned_targeting_option(advertiser_id, line_item_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['lineItemId'] = line_item_id unless line_item_id.nil? command.params['targetingType'] = targeting_type unless targeting_type.nil? command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_advertiser_location_list(advertiser_id, location_list_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::LocationList
Gets a location list.
1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1964 def get_advertiser_location_list(advertiser_id, location_list_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/locationLists/{+locationListId}', ) command.response_representation = Google::Apis::DisplayvideoV1::LocationList::Representation command.response_class = Google::Apis::DisplayvideoV1::LocationList command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['locationListId'] = location_list_id unless location_list_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_advertiser_manual_trigger(advertiser_id, trigger_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ManualTrigger
Gets a manual trigger.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2371 def get_advertiser_manual_trigger(advertiser_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}', ) command.response_representation = Google::Apis::DisplayvideoV1::ManualTrigger::Representation command.response_class = Google::Apis::DisplayvideoV1::ManualTrigger command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['triggerId'] = trigger_id unless trigger_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::NegativeKeywordList
Gets a negative keyword list given an advertiser ID and a negative keyword list ID.
2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2574 def get_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}', ) command.response_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation command.response_class = Google::Apis::DisplayvideoV1::NegativeKeywordList command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedTargetingOption
Gets a single targeting option assigned to an advertiser.
2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2954 def get_advertiser_targeting_type_assigned_targeting_option(advertiser_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['targetingType'] = targeting_type unless targeting_type.nil? command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_combined_audience(combined_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::CombinedAudience
Gets a combined audience.
3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3052 def get_combined_audience(combined_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/combinedAudiences/{+combinedAudienceId}', ) command.response_representation = Google::Apis::DisplayvideoV1::CombinedAudience::Representation command.response_class = Google::Apis::DisplayvideoV1::CombinedAudience command.params['combinedAudienceId'] = combined_audience_id unless combined_audience_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_custom_bidding_algorithm(custom_bidding_algorithm_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm
Gets a custom bidding algorithm.
3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3147 def get_custom_bidding_algorithm(custom_bidding_algorithm_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}', ) command.response_representation = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm::Representation command.response_class = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm command.params['customBiddingAlgorithmId'] = custom_bidding_algorithm_id unless custom_bidding_algorithm_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_custom_list(custom_list_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::CustomList
Gets a custom list.
3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3249 def get_custom_list(custom_list_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/customLists/{+customListId}', ) command.response_representation = Google::Apis::DisplayvideoV1::CustomList::Representation command.response_class = Google::Apis::DisplayvideoV1::CustomList command.params['customListId'] = custom_list_id unless custom_list_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_first_and_third_party_audience(first_and_third_party_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience
Gets a first and third party audience.
3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3341 def get_first_and_third_party_audience(first_and_third_party_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}', ) command.response_representation = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience::Representation command.response_class = Google::Apis::DisplayvideoV1::FirstAndThirdPartyAudience command.params['firstAndThirdPartyAudienceId'] = first_and_third_party_audience_id unless first_and_third_party_audience_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_floodlight_group(floodlight_group_id, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::FloodlightGroup
Gets a Floodlight group.
3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3437 def get_floodlight_group(floodlight_group_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/floodlightGroups/{+floodlightGroupId}', ) command.response_representation = Google::Apis::DisplayvideoV1::FloodlightGroup::Representation command.response_class = Google::Apis::DisplayvideoV1::FloodlightGroup command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_google_audience(google_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::GoogleAudience
Gets a Google audience.
3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3512 def get_google_audience(google_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/googleAudiences/{+googleAudienceId}', ) command.response_representation = Google::Apis::DisplayvideoV1::GoogleAudience::Representation command.response_class = Google::Apis::DisplayvideoV1::GoogleAudience command.params['googleAudienceId'] = google_audience_id unless google_audience_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_inventory_source(inventory_source_id, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InventorySource
Gets an inventory source.
4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4021 def get_inventory_source(inventory_source_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/inventorySources/{+inventorySourceId}', ) command.response_representation = Google::Apis::DisplayvideoV1::InventorySource::Representation command.response_class = Google::Apis::DisplayvideoV1::InventorySource command.params['inventorySourceId'] = inventory_source_id unless inventory_source_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_inventory_source_group(inventory_source_group_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InventorySourceGroup
Gets an inventory source group.
3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3688 def get_inventory_source_group(inventory_source_group_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/inventorySourceGroups/{+inventorySourceGroupId}', ) command.response_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation command.response_class = Google::Apis::DisplayvideoV1::InventorySourceGroup command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_partner(partner_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Partner
Gets a partner.
4193 4194 4195 4196 4197 4198 4199 4200 4201 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4193 def get_partner(partner_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/partners/{+partnerId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Partner::Representation command.response_class = Google::Apis::DisplayvideoV1::Partner command.params['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_partner_channel(partner_id, channel_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Channel
Gets a channel for a partner or advertiser.
4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4316 def get_partner_channel(partner_id, channel_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/partners/{+partnerId}/channels/{+channelId}', ) command.response_representation = Google::Apis::DisplayvideoV1::Channel::Representation command.response_class = Google::Apis::DisplayvideoV1::Channel command.params['partnerId'] = partner_id unless partner_id.nil? command.params['channelId'] = channel_id unless channel_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::AssignedTargetingOption
Gets a single targeting option assigned to a partner.
4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4705 def get_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption command.params['partnerId'] = partner_id unless partner_id.nil? command.params['targetingType'] = targeting_type unless targeting_type.nil? command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_sdfdownloadtask_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Operation
Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.
4834 4835 4836 4837 4838 4839 4840 4841 4842 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4834 def get_sdfdownloadtask_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::DisplayvideoV1::Operation::Representation command.response_class = Google::Apis::DisplayvideoV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_targeting_type_targeting_option(targeting_type, targeting_option_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::TargetingOption
Gets a single targeting option.
4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4868 def get_targeting_type_targeting_option(targeting_type, targeting_option_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/targetingTypes/{+targetingType}/targetingOptions/{+targetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV1::TargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV1::TargetingOption command.params['targetingType'] = targeting_type unless targeting_type.nil? command.params['targetingOptionId'] = targeting_option_id unless targeting_option_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_user(user_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::User
Gets a user.
5094 5095 5096 5097 5098 5099 5100 5101 5102 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 5094 def get_user(user_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/users/{+userId}', ) command.response_representation = Google::Apis::DisplayvideoV1::User::Representation command.response_class = Google::Apis::DisplayvideoV1::User command.params['userId'] = user_id unless user_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertiser_campaigns(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListCampaignsResponse
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.
568 569 570 571 572 573 574 575 576 577 578 579 580 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 568 def list_advertiser_campaigns(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/campaigns', ) command.response_representation = Google::Apis::DisplayvideoV1::ListCampaignsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListCampaignsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertiser_channel_sites(advertiser_id, channel_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListSitesResponse
Lists sites in a channel.
953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 953 def list_advertiser_channel_sites(advertiser_id, channel_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/channels/{+channelId}/sites', ) command.response_representation = Google::Apis::DisplayvideoV1::ListSitesResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListSitesResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['channelId'] = channel_id unless channel_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertiser_channels(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListChannelsResponse
Lists channels for a partner or advertiser.
736 737 738 739 740 741 742 743 744 745 746 747 748 749 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 736 def list_advertiser_channels(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/channels', ) command.response_representation = Google::Apis::DisplayvideoV1::ListChannelsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListChannelsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertiser_creatives(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListCreativesResponse
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.
1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1136 def list_advertiser_creatives(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/creatives', ) command.response_representation = Google::Apis::DisplayvideoV1::ListCreativesResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListCreativesResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertiser_insertion_orders(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListInsertionOrdersResponse
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.
1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1349 def list_advertiser_insertion_orders(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/insertionOrders', ) command.response_representation = Google::Apis::DisplayvideoV1::ListInsertionOrdersResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListInsertionOrdersResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertiser_line_item_targeting_type_assigned_targeting_options(advertiser_id, line_item_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListLineItemAssignedTargetingOptionsResponse
Lists the targeting options assigned to a line item.
1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1891 def (advertiser_id, line_item_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV1::ListLineItemAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListLineItemAssignedTargetingOptionsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['lineItemId'] = line_item_id unless line_item_id.nil? command.params['targetingType'] = targeting_type unless targeting_type.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertiser_line_items(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListLineItemsResponse
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.
1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1670 def list_advertiser_line_items(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/lineItems', ) command.response_representation = Google::Apis::DisplayvideoV1::ListLineItemsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListLineItemsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertiser_location_list_assigned_locations(advertiser_id, location_list_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListAssignedLocationsResponse
Lists locations assigned to a location list.
2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2226 def list_advertiser_location_list_assigned_locations(advertiser_id, location_list_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations', ) command.response_representation = Google::Apis::DisplayvideoV1::ListAssignedLocationsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListAssignedLocationsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['locationListId'] = location_list_id unless location_list_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertiser_location_lists(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListLocationListsResponse
Lists location lists based on a given advertiser id.
2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2018 def list_advertiser_location_lists(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/locationLists', ) command.response_representation = Google::Apis::DisplayvideoV1::ListLocationListsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListLocationListsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertiser_manual_triggers(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListManualTriggersResponse
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.
2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2426 def list_advertiser_manual_triggers(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/manualTriggers', ) command.response_representation = Google::Apis::DisplayvideoV1::ListManualTriggersResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListManualTriggersResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertiser_negative_keyword_list_negative_keywords(advertiser_id, negative_keyword_list_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListNegativeKeywordsResponse
Lists negative keywords in a negative keyword list.
2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2832 def list_advertiser_negative_keyword_list_negative_keywords(advertiser_id, negative_keyword_list_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords', ) command.response_representation = Google::Apis::DisplayvideoV1::ListNegativeKeywordsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListNegativeKeywordsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertiser_negative_keyword_lists(advertiser_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse
Lists negative keyword lists based on a given advertiser id.
2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2614 def list_advertiser_negative_keyword_lists(advertiser_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/negativeKeywordLists', ) command.response_representation = Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListNegativeKeywordListsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertiser_targeting_type_assigned_targeting_options(advertiser_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListAdvertiserAssignedTargetingOptionsResponse
Lists the targeting options assigned to an advertiser.
3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3013 def (advertiser_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV1::ListAdvertiserAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListAdvertiserAssignedTargetingOptionsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['targetingType'] = targeting_type unless targeting_type.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_advertisers(filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListAdvertisersResponse
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.
321 322 323 324 325 326 327 328 329 330 331 332 333 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 321 def list_advertisers(filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/advertisers', ) command.response_representation = Google::Apis::DisplayvideoV1::ListAdvertisersResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListAdvertisersResponse command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_combined_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse
Lists combined audiences. The order is defined by the order_by parameter.
3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3108 def list_combined_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/combinedAudiences', ) command.response_representation = Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListCombinedAudiencesResponse command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_custom_bidding_algorithms(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse
Lists custom bidding algorithms that are accessible to the current user and can be used in bidding stratgies. The order is defined by the order_by parameter.
3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3212 def list_custom_bidding_algorithms(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/customBiddingAlgorithms', ) command.response_representation = Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_custom_lists(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListCustomListsResponse
Lists custom lists. The order is defined by the order_by parameter.
3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3301 def list_custom_lists(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/customLists', ) command.response_representation = Google::Apis::DisplayvideoV1::ListCustomListsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListCustomListsResponse command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_first_and_third_party_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse
Lists first and third party audiences. The order is defined by the order_by parameter.
3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3400 def list_first_and_third_party_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/firstAndThirdPartyAudiences', ) command.response_representation = Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListFirstAndThirdPartyAudiencesResponse command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_google_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse
Lists Google audiences. The order is defined by the order_by parameter.
3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3568 def list_google_audiences(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/googleAudiences', ) command.response_representation = Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListGoogleAudiencesResponse command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_inventory_source_group_assigned_inventory_sources(inventory_source_group_id, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListAssignedInventorySourcesResponse
Lists inventory sources assigned to an inventory source group.
3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3982 def list_inventory_source_group_assigned_inventory_sources(inventory_source_group_id, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources', ) command.response_representation = Google::Apis::DisplayvideoV1::ListAssignedInventorySourcesResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListAssignedInventorySourcesResponse command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_inventory_source_groups(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse
Lists inventory source groups that are accessible to the current user. The order is defined by the order_by parameter.
3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3746 def list_inventory_source_groups(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/inventorySourceGroups', ) command.response_representation = Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListInventorySourceGroupsResponse command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_inventory_sources(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListInventorySourcesResponse
Lists inventory sources that are accessible to the current user. The order is
defined by the order_by parameter. If a filter by entity_status is not
specified, inventory sources with entity status ENTITY_STATUS_ARCHIVED
will
not be included in the results.
4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4082 def list_inventory_sources(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/inventorySources', ) command.response_representation = Google::Apis::DisplayvideoV1::ListInventorySourcesResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListInventorySourcesResponse command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_partner_channel_sites(partner_id, channel_id, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListSitesResponse
Lists sites in a channel.
4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4588 def list_partner_channel_sites(partner_id, channel_id, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/partners/{+partnerId}/channels/{+channelId}/sites', ) command.response_representation = Google::Apis::DisplayvideoV1::ListSitesResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListSitesResponse command.params['partnerId'] = partner_id unless partner_id.nil? command.params['channelId'] = channel_id unless channel_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_partner_channels(partner_id, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListChannelsResponse
Lists channels for a partner or advertiser.
4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4371 def list_partner_channels(partner_id, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/partners/{+partnerId}/channels', ) command.response_representation = Google::Apis::DisplayvideoV1::ListChannelsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListChannelsResponse command.params['partnerId'] = partner_id unless partner_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_partner_targeting_type_assigned_targeting_options(partner_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse
Lists the targeting options assigned to a partner.
4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4762 def (partner_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse command.params['partnerId'] = partner_id unless partner_id.nil? command.params['targetingType'] = targeting_type unless targeting_type.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_partners(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListPartnersResponse
Lists partners that are accessible to the current user. The order is defined by the order_by parameter.
4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4243 def list_partners(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/partners', ) command.response_representation = Google::Apis::DisplayvideoV1::ListPartnersResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListPartnersResponse command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_targeting_type_targeting_options(targeting_type, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListTargetingOptionsResponse
Lists targeting options of a given type.
4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4929 def (targeting_type, advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/targetingTypes/{+targetingType}/targetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV1::ListTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListTargetingOptionsResponse command.params['targetingType'] = targeting_type unless targeting_type.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_users(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ListUsersResponse
Lists users that are accessible to the current user. If two users have user roles on the same partner or advertiser, they can access each other.
5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 5158 def list_users(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/users', ) command.response_representation = Google::Apis::DisplayvideoV1::ListUsersResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::ListUsersResponse command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_advertiser(advertiser_id, advertiser_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Advertiser
Updates an existing advertiser. Returns the updated advertiser if successful.
358 359 360 361 362 363 364 365 366 367 368 369 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 358 def patch_advertiser(advertiser_id, advertiser_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}', ) command.request_representation = Google::Apis::DisplayvideoV1::Advertiser::Representation command.request_object = advertiser_object command.response_representation = Google::Apis::DisplayvideoV1::Advertiser::Representation command.response_class = Google::Apis::DisplayvideoV1::Advertiser command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_advertiser_campaign(advertiser_id, campaign_id, campaign_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Campaign
Updates an existing campaign. Returns the updated campaign if successful.
607 608 609 610 611 612 613 614 615 616 617 618 619 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 607 def patch_advertiser_campaign(advertiser_id, campaign_id, campaign_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/campaigns/{+campaignId}', ) command.request_representation = Google::Apis::DisplayvideoV1::Campaign::Representation command.request_object = campaign_object command.response_representation = Google::Apis::DisplayvideoV1::Campaign::Representation command.response_class = Google::Apis::DisplayvideoV1::Campaign command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['campaignId'] = campaign_id unless campaign_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_advertiser_channel(advertiser_id, channel_id, channel_object = nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Channel
Updates a channel. Returns the updated channel if successful.
778 779 780 781 782 783 784 785 786 787 788 789 790 791 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 778 def patch_advertiser_channel(advertiser_id, channel_id, channel_object = nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/channels/{channelId}', ) command.request_representation = Google::Apis::DisplayvideoV1::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::DisplayvideoV1::Channel::Representation command.response_class = Google::Apis::DisplayvideoV1::Channel command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['channelId'] = channel_id unless channel_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_advertiser_creative(advertiser_id, creative_id, creative_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Creative
Updates an existing creative. Returns the updated creative if successful.
1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1175 def patch_advertiser_creative(advertiser_id, creative_id, creative_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/creatives/{+creativeId}', ) command.request_representation = Google::Apis::DisplayvideoV1::Creative::Representation command.request_object = creative_object command.response_representation = Google::Apis::DisplayvideoV1::Creative::Representation command.response_class = Google::Apis::DisplayvideoV1::Creative command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['creativeId'] = creative_id unless creative_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_advertiser_insertion_order(advertiser_id, insertion_order_id, insertion_order_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InsertionOrder
Updates an existing insertion order. Returns the updated insertion order if successful.
1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1389 def patch_advertiser_insertion_order(advertiser_id, insertion_order_id, insertion_order_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}', ) command.request_representation = Google::Apis::DisplayvideoV1::InsertionOrder::Representation command.request_object = insertion_order_object command.response_representation = Google::Apis::DisplayvideoV1::InsertionOrder::Representation command.response_class = Google::Apis::DisplayvideoV1::InsertionOrder command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_advertiser_line_item(advertiser_id, line_item_id, line_item_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::LineItem
Updates an existing line item. Returns the updated line item if successful.
1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 1709 def patch_advertiser_line_item(advertiser_id, line_item_id, line_item_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/lineItems/{+lineItemId}', ) command.request_representation = Google::Apis::DisplayvideoV1::LineItem::Representation command.request_object = line_item_object command.response_representation = Google::Apis::DisplayvideoV1::LineItem::Representation command.response_class = Google::Apis::DisplayvideoV1::LineItem command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['lineItemId'] = line_item_id unless line_item_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_advertiser_location_list(advertiser_id, location_list_id, location_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::LocationList
Updates a location list. Returns the updated location list if successful.
2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2057 def patch_advertiser_location_list(advertiser_id, location_list_id, location_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/locationLists/{locationListId}', ) command.request_representation = Google::Apis::DisplayvideoV1::LocationList::Representation command.request_object = location_list_object command.response_representation = Google::Apis::DisplayvideoV1::LocationList::Representation command.response_class = Google::Apis::DisplayvideoV1::LocationList command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['locationListId'] = location_list_id unless location_list_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_advertiser_manual_trigger(advertiser_id, trigger_id, manual_trigger_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::ManualTrigger
Updates a manual trigger. Returns the updated manual trigger if successful.
2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2466 def patch_advertiser_manual_trigger(advertiser_id, trigger_id, manual_trigger_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/manualTriggers/{+triggerId}', ) command.request_representation = Google::Apis::DisplayvideoV1::ManualTrigger::Representation command.request_object = manual_trigger_object command.response_representation = Google::Apis::DisplayvideoV1::ManualTrigger::Representation command.response_class = Google::Apis::DisplayvideoV1::ManualTrigger command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['triggerId'] = trigger_id unless trigger_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, negative_keyword_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::NegativeKeywordList
Updates a negative keyword list. Returns the updated negative keyword list if successful.
2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 2654 def patch_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, negative_keyword_list_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/advertisers/{+advertiserId}/negativeKeywordLists/{negativeKeywordListId}', ) command.request_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation command.request_object = negative_keyword_list_object command.response_representation = Google::Apis::DisplayvideoV1::NegativeKeywordList::Representation command.response_class = Google::Apis::DisplayvideoV1::NegativeKeywordList command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['negativeKeywordListId'] = negative_keyword_list_id unless negative_keyword_list_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_floodlight_group(floodlight_group_id, floodlight_group_object = nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::FloodlightGroup
Updates an existing Floodlight group. Returns the updated Floodlight group if successful.
3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3474 def patch_floodlight_group(floodlight_group_id, floodlight_group_object = nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/floodlightGroups/{floodlightGroupId}', ) command.request_representation = Google::Apis::DisplayvideoV1::FloodlightGroup::Representation command.request_object = floodlight_group_object command.response_representation = Google::Apis::DisplayvideoV1::FloodlightGroup::Representation command.response_class = Google::Apis::DisplayvideoV1::FloodlightGroup command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_inventory_source_group(inventory_source_group_id, inventory_source_group_object = nil, advertiser_id: nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::InventorySourceGroup
Updates an inventory source group. Returns the updated inventory source group if successful.
3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 3792 def patch_inventory_source_group(inventory_source_group_id, inventory_source_group_object = nil, advertiser_id: nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/inventorySourceGroups/{inventorySourceGroupId}', ) command.request_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation command.request_object = inventory_source_group_object command.response_representation = Google::Apis::DisplayvideoV1::InventorySourceGroup::Representation command.response_class = Google::Apis::DisplayvideoV1::InventorySourceGroup command.params['inventorySourceGroupId'] = inventory_source_group_id unless inventory_source_group_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['partnerId'] = partner_id unless partner_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_partner_channel(partner_id, channel_id, channel_object = nil, advertiser_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::Channel
Updates a channel. Returns the updated channel if successful.
4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4413 def patch_partner_channel(partner_id, channel_id, channel_object = nil, advertiser_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/partners/{+partnerId}/channels/{channelId}', ) command.request_representation = Google::Apis::DisplayvideoV1::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::DisplayvideoV1::Channel::Representation command.response_class = Google::Apis::DisplayvideoV1::Channel command.params['partnerId'] = partner_id unless partner_id.nil? command.params['channelId'] = channel_id unless channel_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_user(user_id, user_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::User
Updates an existing user. Returns the updated user if successful.
5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 5194 def patch_user(user_id, user_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/users/{+userId}', ) command.request_representation = Google::Apis::DisplayvideoV1::User::Representation command.request_object = user_object command.response_representation = Google::Apis::DisplayvideoV1::User::Representation command.response_class = Google::Apis::DisplayvideoV1::User command.params['userId'] = user_id unless user_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#search_targeting_options(targeting_type, search_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::SearchTargetingOptionsResponse
Searches for targeting options of a given type based on the given search terms.
4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 4966 def (targeting_type, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/targetingTypes/{+targetingType}/targetingOptions:search', ) command.request_representation = Google::Apis::DisplayvideoV1::SearchTargetingOptionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DisplayvideoV1::SearchTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::SearchTargetingOptionsResponse command.params['targetingType'] = targeting_type unless targeting_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#upload_advertiser_asset(advertiser_id, create_asset_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV1::CreateAssetResponse
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.
398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 |
# File 'generated/google/apis/displayvideo_v1/service.rb', line 398 def upload_advertiser_asset(advertiser_id, create_asset_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/assets', ) else command = make_upload_command(:post, 'v1/advertisers/{+advertiserId}/assets', ) command.upload_source = upload_source command.upload_content_type = content_type end command.request_representation = Google::Apis::DisplayvideoV1::CreateAssetRequest::Representation command.request_object = create_asset_request_object command.response_representation = Google::Apis::DisplayvideoV1::CreateAssetResponse::Representation command.response_class = Google::Apis::DisplayvideoV1::CreateAssetResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |