Class: Google::Apis::DisplayvideoV3::DisplayVideoService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::DisplayvideoV3::DisplayVideoService
- Defined in:
- lib/google/apis/displayvideo_v3/service.rb
Overview
Display & Video 360 API
Display & Video 360 API allows users to automate complex Display & Video 360 workflows, such as creating insertion orders and setting targeting options for individual line items.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://displayvideo.$UNIVERSE_DOMAIN$/"
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
-
#audit_advertiser(advertiser_id, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::AuditAdvertiserResponse
Audits an advertiser.
-
#bulk_advertiser_ad_group_list_ad_group_assigned_targeting_options(advertiser_id, ad_group_ids: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::BulkListAdGroupAssignedTargetingOptionsResponse
Lists assigned targeting options for multiple ad groups across targeting types.
-
#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::DisplayvideoV3::BulkEditSitesResponse
Bulk edits sites under a single channel.
-
#bulk_advertiser_line_item_list_assigned_targeting_options(advertiser_id, filter: nil, line_item_ids: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::BulkListAssignedTargetingOptionsResponse
Lists assigned targeting options for multiple line items across targeting types.
-
#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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::BulkEditAssignedUserRolesResponse
Bulk edits user roles for a user.
-
#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::DisplayvideoV3::BulkEditNegativeKeywordsResponse
Bulk edits negative keywords in a single negative keyword list.
-
#bulk_line_item_edit_assigned_targeting_options(advertiser_id, bulk_edit_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::BulkEditAssignedTargetingOptionsResponse
Bulk edits targeting options under multiple line items.
-
#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::DisplayvideoV3::BulkEditSitesResponse
Bulk edits sites under a single channel.
-
#bulk_update_line_items(advertiser_id, bulk_update_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::BulkUpdateLineItemsResponse
Updates multiple line items.
-
#create_advertiser(advertiser_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::Advertiser
Creates a new advertiser.
-
#create_advertiser_campaign(advertiser_id, campaign_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::InsertionOrder
Creates a new insertion order.
-
#create_advertiser_insertion_order_targeting_type_assigned_targeting_option(advertiser_id, insertion_order_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::AssignedTargetingOption
Assigns a targeting option to an insertion order.
-
#create_advertiser_line_item(advertiser_id, line_item_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::AssignedLocation
Creates an assignment between a location and a location list.
-
#create_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::AssignedTargetingOption
Assigns a targeting option to an advertiser.
-
#create_custom_bidding_algorithm(custom_bidding_algorithm_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingAlgorithm
Creates a new custom bidding algorithm.
-
#create_custom_bidding_algorithm_rule(custom_bidding_algorithm_id, custom_bidding_algorithm_rules_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRules
Creates a new rules resource.
-
#create_custom_bidding_algorithm_script(custom_bidding_algorithm_id, custom_bidding_script_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingScript
Creates a new custom bidding script.
-
#create_first_and_third_party_audience(first_and_third_party_audience_object = nil, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::FirstAndThirdPartyAudience
Creates a FirstAndThirdPartyAudience.
-
#create_guaranteed_order(guaranteed_order_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::GuaranteedOrder
Creates a new guaranteed order.
-
#create_inventory_source(inventory_source_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::InventorySource
Creates a new inventory source.
-
#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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::Operation
Creates an SDF Download Task.
-
#create_user(user_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::User
Creates a new user.
-
#delete_advertiser(advertiser_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::Empty
Deletes an advertiser.
-
#delete_advertiser_campaign(advertiser_id, campaign_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::Empty
Deletes a creative.
-
#delete_advertiser_insertion_order(advertiser_id, insertion_order_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::Empty
Deletes an insertion order.
-
#delete_advertiser_insertion_order_targeting_type_assigned_targeting_option(advertiser_id, insertion_order_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::Empty
Deletes an assigned targeting option from an insertion order.
-
#delete_advertiser_line_item(advertiser_id, line_item_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::Empty
Deletes an assigned targeting option from a partner.
-
#delete_user(user_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::Empty
Deletes a user.
-
#download_medium(resource_name, fields: nil, quota_user: nil, download_dest: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::GoogleBytestreamMedia
Downloads media.
-
#duplicate_line_item(advertiser_id, line_item_id, duplicate_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::DuplicateLineItemResponse
Duplicates a line item.
-
#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::DisplayvideoV3::BulkEditAdvertiserAssignedTargetingOptionsResponse
Edits targeting options under a single advertiser.
-
#edit_first_and_third_party_audience_customer_match_members(first_and_third_party_audience_id, edit_customer_match_members_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::EditCustomerMatchMembersResponse
Updates the member list of a Customer Match audience.
-
#edit_guaranteed_order_read_accessors(guaranteed_order_id, edit_guaranteed_order_read_accessors_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::EditGuaranteedOrderReadAccessorsResponse
Edits read advertisers of a guaranteed order.
-
#edit_inventory_source_read_write_accessors(inventory_source_id, edit_inventory_source_read_write_accessors_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::InventorySourceAccessors
Edits read/write accessors of an inventory source.
-
#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::DisplayvideoV3::BulkEditPartnerAssignedTargetingOptionsResponse
Edits targeting options under a single partner.
-
#generate_default_line_item(advertiser_id, generate_default_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::LineItem
Creates a new line item with settings (including targeting) inherited from the insertion order and an
ENTITY_STATUS_DRAFT
entity_status. -
#get_advertiser(advertiser_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::Advertiser
Gets an advertiser.
-
#get_advertiser_ad_group(advertiser_id, ad_group_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::AdGroup
Gets an ad group.
-
#get_advertiser_ad_group_ad(advertiser_id, ad_group_ad_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::AdGroupAd
Gets an ad group ad.
-
#get_advertiser_ad_group_targeting_type_assigned_targeting_option(advertiser_id, ad_group_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::AssignedTargetingOption
Gets a single targeting option assigned to an ad group.
-
#get_advertiser_campaign(advertiser_id, campaign_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::Campaign
Gets a campaign.
-
#get_advertiser_campaign_targeting_type_assigned_targeting_option(advertiser_id, campaign_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::AssignedTargetingOption
Gets a single targeting option assigned to a campaign.
-
#get_advertiser_channel(advertiser_id, channel_id, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Creative
Gets a creative.
-
#get_advertiser_insertion_order(advertiser_id, insertion_order_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::InsertionOrder
Gets an insertion order.
-
#get_advertiser_insertion_order_targeting_type_assigned_targeting_option(advertiser_id, insertion_order_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::AssignedTargetingOption
Gets a single targeting option assigned to an insertion order.
-
#get_advertiser_line_item(advertiser_id, line_item_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::LocationList
Gets a location list.
-
#get_advertiser_negative_keyword_list(advertiser_id, negative_keyword_list_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::CustomBiddingAlgorithm
Gets a custom bidding algorithm.
-
#get_custom_bidding_algorithm_rule(custom_bidding_algorithm_id, custom_bidding_algorithm_rules_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRules
Retrieves a rules resource.
-
#get_custom_bidding_algorithm_script(custom_bidding_algorithm_id, custom_bidding_script_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingScript
Gets a custom bidding script.
-
#get_custom_list(custom_list_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::FloodlightGroup
Gets a Floodlight group.
-
#get_floodlight_group_floodlight_activity(floodlight_group_id, floodlight_activity_id, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::FloodlightActivity
Gets a Floodlight activity.
-
#get_google_audience(google_audience_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::GoogleAudience
Gets a Google audience.
-
#get_guaranteed_order(guaranteed_order_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::GuaranteedOrder
Gets a guaranteed order.
-
#get_inventory_source(inventory_source_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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::DisplayvideoV3::InventorySourceGroup
Gets an inventory source group.
-
#get_partner(partner_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::TargetingOption
Gets a single targeting option.
-
#get_user(user_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::User
Gets a user.
-
#initialize ⇒ DisplayVideoService
constructor
A new instance of DisplayVideoService.
-
#list_advertiser_ad_group_ads(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ListAdGroupAdsResponse
Lists ad group ads.
-
#list_advertiser_ad_group_targeting_type_assigned_targeting_options(advertiser_id, ad_group_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::DisplayvideoV3::ListAdGroupAssignedTargetingOptionsResponse
Lists the targeting options assigned to an ad group.
-
#list_advertiser_ad_groups(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ListAdGroupsResponse
Lists ad groups.
-
#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::DisplayvideoV3::BulkListAdvertiserAssignedTargetingOptionsResponse
Lists assigned targeting options of an advertiser across targeting types.
-
#list_advertiser_campaign_assigned_targeting_options(advertiser_id, campaign_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::BulkListCampaignAssignedTargetingOptionsResponse
Lists assigned targeting options of a campaign across targeting types.
-
#list_advertiser_campaign_targeting_type_assigned_targeting_options(advertiser_id, campaign_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::DisplayvideoV3::ListCampaignAssignedTargetingOptionsResponse
Lists the targeting options assigned to a campaign for a specified targeting type.
-
#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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::ListCreativesResponse
Lists creatives in an advertiser.
-
#list_advertiser_insertion_order_assigned_targeting_options(advertiser_id, insertion_order_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::BulkListInsertionOrderAssignedTargetingOptionsResponse
Lists assigned targeting options of an insertion order across targeting types.
-
#list_advertiser_insertion_order_targeting_type_assigned_targeting_options(advertiser_id, insertion_order_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::DisplayvideoV3::ListInsertionOrderAssignedTargetingOptionsResponse
Lists the targeting options assigned to an insertion order.
-
#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::DisplayvideoV3::ListInsertionOrdersResponse
Lists insertion orders in an advertiser.
-
#list_advertiser_invoices(advertiser_id, issue_month: nil, loi_sapin_invoice_type: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ListInvoicesResponse
Lists invoices posted for an advertiser in a given month.
-
#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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::ListLocationListsResponse
Lists location lists based on 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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::ListCombinedAudiencesResponse
Lists combined audiences.
-
#list_custom_bidding_algorithm_rules(custom_bidding_algorithm_id, advertiser_id: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ListCustomBiddingAlgorithmRulesResponse
Lists rules resources that belong to the given algorithm.
-
#list_custom_bidding_algorithm_scripts(custom_bidding_algorithm_id, advertiser_id: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ListCustomBiddingScriptsResponse
Lists custom bidding scripts that belong to the given algorithm.
-
#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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::ListFirstAndThirdPartyAudiencesResponse
Lists first and third party audiences.
-
#list_floodlight_group_floodlight_activities(floodlight_group_id, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ListFloodlightActivitiesResponse
Lists Floodlight activities in a Floodlight group.
-
#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::DisplayvideoV3::ListGoogleAudiencesResponse
Lists Google audiences.
-
#list_guaranteed_orders(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::DisplayvideoV3::ListGuaranteedOrdersResponse
Lists guaranteed orders that are accessible to the current user.
-
#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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::ListUsersResponse
Lists users that are accessible to the current user.
-
#lookup_advertiser_invoice_invoice_currency(advertiser_id, invoice_month: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::LookupInvoiceCurrencyResponse
Retrieves the invoice currency used by an advertiser in a given month.
-
#patch_advertiser(advertiser_id, advertiser_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::LocationList
Updates a location list.
-
#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::DisplayvideoV3::NegativeKeywordList
Updates a negative keyword list.
-
#patch_custom_bidding_algorithm(custom_bidding_algorithm_id, custom_bidding_algorithm_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingAlgorithm
Updates an existing custom bidding algorithm.
-
#patch_first_and_third_party_audience(first_and_third_party_audience_id, first_and_third_party_audience_object = nil, advertiser_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::FirstAndThirdPartyAudience
Updates an existing FirstAndThirdPartyAudience.
-
#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::DisplayvideoV3::FloodlightGroup
Updates an existing Floodlight group.
-
#patch_guaranteed_order(guaranteed_order_id, guaranteed_order_object = nil, advertiser_id: nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::GuaranteedOrder
Updates an existing guaranteed order.
-
#patch_inventory_source(inventory_source_id, inventory_source_object = nil, advertiser_id: nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::InventorySource
Updates an existing inventory source.
-
#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::DisplayvideoV3::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::DisplayvideoV3::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::DisplayvideoV3::User
Updates an existing user.
-
#replace_advertiser_channel_site(advertiser_id, channel_id, replace_sites_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ReplaceSitesResponse
Replaces all of the sites under a single channel.
-
#replace_negative_keywords(advertiser_id, negative_keyword_list_id, replace_negative_keywords_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ReplaceNegativeKeywordsResponse
Replaces all negative keywords in a single negative keyword list.
-
#replace_partner_channel_site(partner_id, channel_id, replace_sites_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ReplaceSitesResponse
Replaces all of the sites under a single channel.
-
#search_targeting_options(targeting_type, search_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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::DisplayvideoV3::CreateAssetResponse
Uploads an asset.
-
#upload_custom_bidding_algorithm_rules(custom_bidding_algorithm_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRulesRef
Creates a rules reference object for an AlgorithmRules file.
-
#upload_custom_bidding_algorithm_script(custom_bidding_algorithm_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingScriptRef
Creates a custom bidding script reference object for a script file.
-
#upload_medium(resource_name, google_bytestream_media_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::GoogleBytestreamMedia
Uploads media.
Constructor Details
#initialize ⇒ DisplayVideoService
Returns a new instance of DisplayVideoService.
49 50 51 52 53 54 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 49 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-displayvideo_v3', client_version: Google::Apis::DisplayvideoV3::GEM_VERSION) @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.
42 43 44 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 42 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.
47 48 49 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 47 def quota_user @quota_user end |
Instance Method Details
#audit_advertiser(advertiser_id, read_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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.
84 85 86 87 88 89 90 91 92 93 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 84 def audit_advertiser(advertiser_id, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}:audit', ) command.response_representation = Google::Apis::DisplayvideoV3::AuditAdvertiserResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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_ad_group_list_ad_group_assigned_targeting_options(advertiser_id, ad_group_ids: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::BulkListAdGroupAssignedTargetingOptionsResponse
Lists assigned targeting options for multiple ad groups across targeting types. Inherited assigned targeting options are not included.
530 531 532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 530 def (advertiser_id, ad_group_ids: 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, 'v3/advertisers/{+advertiserId}/adGroups:bulkListAdGroupAssignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV3::BulkListAdGroupAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::BulkListAdGroupAssignedTargetingOptionsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['adGroupIds'] = ad_group_ids unless ad_group_ids.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_channel_site_edit(advertiser_id, channel_id, bulk_edit_sites_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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.
1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1414 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, 'v3/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit', ) command.request_representation = Google::Apis::DisplayvideoV3::BulkEditSitesRequest::Representation command.request_object = bulk_edit_sites_request_object command.response_representation = Google::Apis::DisplayvideoV3::BulkEditSitesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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_assigned_targeting_options(advertiser_id, filter: nil, line_item_ids: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::BulkListAssignedTargetingOptionsResponse
Lists assigned targeting options for multiple line items across targeting types.
2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2565 def (advertiser_id, filter: nil, line_item_ids: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/lineItems:bulkListAssignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV3::BulkListAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::BulkListAssignedTargetingOptionsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['filter'] = filter unless filter.nil? command.query['lineItemIds'] = line_item_ids unless line_item_ids.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_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::DisplayvideoV3::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.
5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5796 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, 'v3/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit', ) command.request_representation = Google::Apis::DisplayvideoV3::BulkEditAssignedInventorySourcesRequest::Representation command.request_object = bulk_edit_assigned_inventory_sources_request_object command.response_representation = Google::Apis::DisplayvideoV3::BulkEditAssignedInventorySourcesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::BulkEditAssignedLocationsResponse
Bulk edits multiple assignments between locations and a single location list. The operation will delete the assigned locations provided in deletedAssignedLocations and then create the assigned locations provided in createdAssignedLocations.
3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3406 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, 'v3/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit', ) command.request_representation = Google::Apis::DisplayvideoV3::BulkEditAssignedLocationsRequest::Representation command.request_object = bulk_edit_assigned_locations_request_object command.response_representation = Google::Apis::DisplayvideoV3::BulkEditAssignedLocationsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 7215 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, 'v3/users/{+userId}:bulkEditAssignedUserRoles', ) command.request_representation = Google::Apis::DisplayvideoV3::BulkEditAssignedUserRolesRequest::Representation command.request_object = bulk_edit_assigned_user_roles_request_object command.response_representation = Google::Apis::DisplayvideoV3::BulkEditAssignedUserRolesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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_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::DisplayvideoV3::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.
3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3768 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, 'v3/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:bulkEdit', ) command.request_representation = Google::Apis::DisplayvideoV3::BulkEditNegativeKeywordsRequest::Representation command.request_object = bulk_edit_negative_keywords_request_object command.response_representation = Google::Apis::DisplayvideoV3::BulkEditNegativeKeywordsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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_line_item_edit_assigned_targeting_options(advertiser_id, bulk_edit_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::BulkEditAssignedTargetingOptionsResponse
Bulk edits targeting options under multiple line items. The operation will delete the assigned targeting options provided in BulkEditAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditAssignedTargetingOptionsRequest. create_requests. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkUpdate * lineItems.patch * assignedTargetingOptions.create * assignedTargetingOptions. delete YouTube & Partners line items cannot be created or updated using the API.
2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2501 def (advertiser_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers/{+advertiserId}/lineItems:bulkEditAssignedTargetingOptions', ) command.request_representation = Google::Apis::DisplayvideoV3::BulkEditAssignedTargetingOptionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DisplayvideoV3::BulkEditAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::BulkEditAssignedTargetingOptionsResponse 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_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::DisplayvideoV3::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.
6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6585 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, 'v3/partners/{partnerId}/channels/{+channelId}/sites:bulkEdit', ) command.request_representation = Google::Apis::DisplayvideoV3::BulkEditSitesRequest::Representation command.request_object = bulk_edit_sites_request_object command.response_representation = Google::Apis::DisplayvideoV3::BulkEditSitesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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 |
#bulk_update_line_items(advertiser_id, bulk_update_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::BulkUpdateLineItemsResponse
Updates multiple line items. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * BulkEditAssignedTargetingOptions * UpdateLineItem * assignedTargetingOptions. create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API.
2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2605 def bulk_update_line_items(advertiser_id, bulk_update_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers/{+advertiserId}/lineItems:bulkUpdate', ) command.request_representation = Google::Apis::DisplayvideoV3::BulkUpdateLineItemsRequest::Representation command.request_object = bulk_update_line_items_request_object command.response_representation = Google::Apis::DisplayvideoV3::BulkUpdateLineItemsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::BulkUpdateLineItemsResponse 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(advertiser_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::Advertiser
Creates a new advertiser. Returns the newly created advertiser if successful. * This method regularly experiences high latency.* We recommend increasing your default timeout to avoid errors.
117 118 119 120 121 122 123 124 125 126 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 117 def create_advertiser(advertiser_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers', ) command.request_representation = Google::Apis::DisplayvideoV3::Advertiser::Representation command.request_object = advertiser_object command.response_representation = Google::Apis::DisplayvideoV3::Advertiser::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Campaign
Creates a new campaign. Returns the newly created campaign if successful.
829 830 831 832 833 834 835 836 837 838 839 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 829 def create_advertiser_campaign(advertiser_id, campaign_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers/{+advertiserId}/campaigns', ) command.request_representation = Google::Apis::DisplayvideoV3::Campaign::Representation command.request_object = campaign_object command.response_representation = Google::Apis::DisplayvideoV3::Campaign::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Channel
Creates a new channel. Returns the newly created channel if successful.
1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1238 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, 'v3/advertisers/{+advertiserId}/channels', ) command.request_representation = Google::Apis::DisplayvideoV3::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::DisplayvideoV3::Channel::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Site
Creates a site in a channel.
1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1452 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, 'v3/advertisers/{advertiserId}/channels/{+channelId}/sites', ) command.request_representation = Google::Apis::DisplayvideoV3::Site::Representation command.request_object = site_object command.response_representation = Google::Apis::DisplayvideoV3::Site::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Creative
Creates a new creative. Returns the newly created creative if successful. A " Standard" user role or greater for the parent advertiser or partner is required to make this request.
1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1631 def create_advertiser_creative(advertiser_id, creative_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers/{+advertiserId}/creatives', ) command.request_representation = Google::Apis::DisplayvideoV3::Creative::Representation command.request_object = creative_object command.response_representation = Google::Apis::DisplayvideoV3::Creative::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::InsertionOrder
Creates a new insertion order. Returns the newly created insertion order if successful.
1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1860 def create_advertiser_insertion_order(advertiser_id, insertion_order_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers/{+advertiserId}/insertionOrders', ) command.request_representation = Google::Apis::DisplayvideoV3::InsertionOrder::Representation command.request_object = insertion_order_object command.response_representation = Google::Apis::DisplayvideoV3::InsertionOrder::Representation command.response_class = Google::Apis::DisplayvideoV3::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_insertion_order_targeting_type_assigned_targeting_option(advertiser_id, insertion_order_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::AssignedTargetingOption
Assigns a targeting option to an insertion order. Returns the assigned
targeting option if successful. Supported targeting types: *
TARGETING_TYPE_AGE_RANGE
* TARGETING_TYPE_BROWSER
*
TARGETING_TYPE_CATEGORY
* TARGETING_TYPE_CHANNEL
*
TARGETING_TYPE_DEVICE_MAKE_MODEL
*
TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION
* TARGETING_TYPE_ENVIRONMENT
TARGETING_TYPE_GENDER
*TARGETING_TYPE_KEYWORD
*TARGETING_TYPE_LANGUAGE
*TARGETING_TYPE_NEGATIVE_KEYWORD_LIST
*TARGETING_TYPE_OPERATING_SYSTEM
*TARGETING_TYPE_PARENTAL_STATUS
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
*TARGETING_TYPE_VIEWABILITY
2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2159 def create_advertiser_insertion_order_targeting_type_assigned_targeting_option(advertiser_id, insertion_order_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.request_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.request_object = assigned_targeting_option_object command.response_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV3::AssignedTargetingOption command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['insertionOrderId'] = insertion_order_id unless insertion_order_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_line_item(advertiser_id, line_item_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::LineItem
Creates a new line item. Returns the newly created line item if successful. YouTube & Partners line items cannot be created or updated using the API.
2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2639 def create_advertiser_line_item(advertiser_id, line_item_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers/{+advertiserId}/lineItems', ) command.request_representation = Google::Apis::DisplayvideoV3::LineItem::Representation command.request_object = line_item_object command.response_representation = Google::Apis::DisplayvideoV3::LineItem::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::AssignedTargetingOption
Assigns a targeting option to a line item. Returns the assigned targeting option if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems. bulkEditAssignedTargetingOptions * lineItems.bulkUpdate * lineItems.patch * DeleteLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API.
2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2969 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, 'v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.request_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.request_object = assigned_targeting_option_object command.response_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::LocationList
Creates a new location list. Returns the newly created location list if successful.
3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3236 def create_advertiser_location_list(advertiser_id, location_list_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers/{+advertiserId}/locationLists', ) command.request_representation = Google::Apis::DisplayvideoV3::LocationList::Representation command.request_object = location_list_object command.response_representation = Google::Apis::DisplayvideoV3::LocationList::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::AssignedLocation
Creates an assignment between a location and a location list.
3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3442 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, 'v3/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations', ) command.request_representation = Google::Apis::DisplayvideoV3::AssignedLocation::Representation command.request_object = assigned_location_object command.response_representation = Google::Apis::DisplayvideoV3::AssignedLocation::Representation command.response_class = Google::Apis::DisplayvideoV3::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_negative_keyword_list(advertiser_id, negative_keyword_list_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::NegativeKeywordList
Creates a new negative keyword list. Returns the newly created negative keyword list if successful.
3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3573 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, 'v3/advertisers/{+advertiserId}/negativeKeywordLists', ) command.request_representation = Google::Apis::DisplayvideoV3::NegativeKeywordList::Representation command.request_object = negative_keyword_list_object command.response_representation = Google::Apis::DisplayvideoV3::NegativeKeywordList::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::NegativeKeyword
Creates a negative keyword in a negative keyword list.
3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3806 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, 'v3/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords', ) command.request_representation = Google::Apis::DisplayvideoV3::NegativeKeyword::Representation command.request_object = negative_keyword_object command.response_representation = Google::Apis::DisplayvideoV3::NegativeKeyword::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::AssignedTargetingOption
Assigns a targeting option to an advertiser. Returns the assigned targeting option if successful.
3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3986 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, 'v3/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.request_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.request_object = assigned_targeting_option_object command.response_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV3::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_custom_bidding_algorithm(custom_bidding_algorithm_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingAlgorithm
Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful.
4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4260 def create_custom_bidding_algorithm(custom_bidding_algorithm_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/customBiddingAlgorithms', ) command.request_representation = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithm::Representation command.request_object = custom_bidding_algorithm_object command.response_representation = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithm::Representation command.response_class = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithm command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_custom_bidding_algorithm_rule(custom_bidding_algorithm_id, custom_bidding_algorithm_rules_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRules
Creates a new rules resource. Returns the newly created rules resource if successful.
4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4518 def create_custom_bidding_algorithm_rule(custom_bidding_algorithm_id, custom_bidding_algorithm_rules_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}/rules', ) command.request_representation = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRules::Representation command.request_object = custom_bidding_algorithm_rules_object command.response_representation = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRules::Representation command.response_class = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRules 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 |
#create_custom_bidding_algorithm_script(custom_bidding_algorithm_id, custom_bidding_script_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingScript
Creates a new custom bidding script. Returns the newly created script if successful.
4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4651 def create_custom_bidding_algorithm_script(custom_bidding_algorithm_id, custom_bidding_script_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts', ) command.request_representation = Google::Apis::DisplayvideoV3::CustomBiddingScript::Representation command.request_object = custom_bidding_script_object command.response_representation = Google::Apis::DisplayvideoV3::CustomBiddingScript::Representation command.response_class = Google::Apis::DisplayvideoV3::CustomBiddingScript 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 |
#create_first_and_third_party_audience(first_and_third_party_audience_object = nil, advertiser_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::FirstAndThirdPartyAudience
Creates a FirstAndThirdPartyAudience. Only supported for the following
audience_type: * CUSTOMER_MATCH_CONTACT_INFO
* CUSTOMER_MATCH_DEVICE_ID
4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4872 def create_first_and_third_party_audience(first_and_third_party_audience_object = nil, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/firstAndThirdPartyAudiences', ) command.request_representation = Google::Apis::DisplayvideoV3::FirstAndThirdPartyAudience::Representation command.request_object = first_and_third_party_audience_object command.response_representation = Google::Apis::DisplayvideoV3::FirstAndThirdPartyAudience::Representation command.response_class = Google::Apis::DisplayvideoV3::FirstAndThirdPartyAudience 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_guaranteed_order(guaranteed_order_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::GuaranteedOrder
Creates a new guaranteed order. Returns the newly created guaranteed order if successful.
5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5350 def create_guaranteed_order(guaranteed_order_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/guaranteedOrders', ) command.request_representation = Google::Apis::DisplayvideoV3::GuaranteedOrder::Representation command.request_object = guaranteed_order_object command.response_representation = Google::Apis::DisplayvideoV3::GuaranteedOrder::Representation command.response_class = Google::Apis::DisplayvideoV3::GuaranteedOrder 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(inventory_source_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::InventorySource
Creates a new inventory source. Returns the newly created inventory source if successful.
5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5985 def create_inventory_source(inventory_source_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/inventorySources', ) command.request_representation = Google::Apis::DisplayvideoV3::InventorySource::Representation command.request_object = inventory_source_object command.response_representation = Google::Apis::DisplayvideoV3::InventorySource::Representation command.response_class = Google::Apis::DisplayvideoV3::InventorySource 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(inventory_source_group_object = nil, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::InventorySourceGroup
Creates a new inventory source group. Returns the newly created inventory source group if successful.
5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5571 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, 'v3/inventorySourceGroups', ) command.request_representation = Google::Apis::DisplayvideoV3::InventorySourceGroup::Representation command.request_object = inventory_source_group_object command.response_representation = Google::Apis::DisplayvideoV3::InventorySourceGroup::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::AssignedInventorySource
Creates an assignment between an inventory source and an inventory source group.
5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5837 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, 'v3/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources', ) command.request_representation = Google::Apis::DisplayvideoV3::AssignedInventorySource::Representation command.request_object = assigned_inventory_source_object command.response_representation = Google::Apis::DisplayvideoV3::AssignedInventorySource::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Channel
Creates a new channel. Returns the newly created channel if successful.
6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6409 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, 'v3/partners/{+partnerId}/channels', ) command.request_representation = Google::Apis::DisplayvideoV3::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::DisplayvideoV3::Channel::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Site
Creates a site in a channel.
6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6623 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, 'v3/partners/{partnerId}/channels/{+channelId}/sites', ) command.request_representation = Google::Apis::DisplayvideoV3::Site::Representation command.request_object = site_object command.response_representation = Google::Apis::DisplayvideoV3::Site::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::AssignedTargetingOption
Assigns a targeting option to a partner. Returns the assigned targeting option if successful.
6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6804 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, 'v3/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.request_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.request_object = assigned_targeting_option_object command.response_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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.
6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6979 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, 'v3/sdfdownloadtasks', ) command.request_representation = Google::Apis::DisplayvideoV3::CreateSdfDownloadTaskRequest::Representation command.request_object = create_sdf_download_task_request_object command.response_representation = Google::Apis::DisplayvideoV3::Operation::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::User
Creates a new user. Returns the newly created user if successful. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 7250 def create_user(user_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/users', ) command.request_representation = Google::Apis::DisplayvideoV3::User::Representation command.request_object = user_object command.response_representation = Google::Apis::DisplayvideoV3::User::Representation command.response_class = Google::Apis::DisplayvideoV3::User 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::DisplayvideoV3::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.
150 151 152 153 154 155 156 157 158 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 150 def delete_advertiser(advertiser_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v3/advertisers/{+advertiserId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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. This method regularly
experiences high latency. We recommend increasing your default timeout to
avoid errors.
868 869 870 871 872 873 874 875 876 877 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 868 def delete_advertiser_campaign(advertiser_id, campaign_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v3/advertisers/{+advertiserId}/campaigns/{+campaignId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Empty
Deletes a site from a channel.
1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1492 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, 'v3/advertisers/{advertiserId}/channels/{+channelId}/sites/{+urlOrAppId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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. A "Standard" user role or greater for the parent
advertiser or partner is required to make this request.
1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1669 def delete_advertiser_creative(advertiser_id, creative_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v3/advertisers/{+advertiserId}/creatives/{+creativeId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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.
1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1896 def delete_advertiser_insertion_order(advertiser_id, insertion_order_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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_insertion_order_targeting_type_assigned_targeting_option(advertiser_id, insertion_order_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::Empty
Deletes an assigned targeting option from an insertion order. Supported
targeting types: * TARGETING_TYPE_AGE_RANGE
* TARGETING_TYPE_BROWSER
*
TARGETING_TYPE_CATEGORY
* TARGETING_TYPE_CHANNEL
*
TARGETING_TYPE_DEVICE_MAKE_MODEL
*
TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION
* TARGETING_TYPE_ENVIRONMENT
TARGETING_TYPE_GENDER
*TARGETING_TYPE_KEYWORD
*TARGETING_TYPE_LANGUAGE
*TARGETING_TYPE_NEGATIVE_KEYWORD_LIST
*TARGETING_TYPE_OPERATING_SYSTEM
*TARGETING_TYPE_PARENTAL_STATUS
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
*TARGETING_TYPE_VIEWABILITY
2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2216 def delete_advertiser_insertion_order_targeting_type_assigned_targeting_option(advertiser_id, insertion_order_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::Empty command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['insertionOrderId'] = insertion_order_id unless insertion_order_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_line_item(advertiser_id, line_item_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::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. YouTube & Partners line
items cannot be created or updated using the API.
2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2676 def delete_advertiser_line_item(advertiser_id, line_item_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Empty
Deletes an assigned targeting option from a line item. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkEditAssignedTargetingOptions * lineItems. bulkUpdate * lineItems.patch * CreateLineItemAssignedTargetingOption YouTube & Partners line items cannot be created or updated using the API.
3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3038 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, 'v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Empty
Deletes the assignment between a location and a location list.
3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3479 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, 'v3/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations/{+assignedLocationId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Empty
Deletes a negative keyword list given an advertiser ID and a negative keyword list ID.
3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3609 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, 'v3/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Empty
Deletes a negative keyword from a negative keyword list.
3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3845 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, 'v3/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords/{+keywordValue}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Empty
Deletes an assigned targeting option from an advertiser.
4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4026 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, 'v3/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Empty
Deletes an inventory source group.
5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5610 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, 'v3/inventorySourceGroups/{+inventorySourceGroupId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Empty
Deletes the assignment between an inventory source and an inventory source group.
5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5881 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, 'v3/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources/{+assignedInventorySourceId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Empty
Deletes a site from a channel.
6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6663 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, 'v3/partners/{partnerId}/channels/{+channelId}/sites/{+urlOrAppId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Empty
Deletes an assigned targeting option from a partner.
6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6842 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, 'v3/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Empty
Deletes a user. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
7284 7285 7286 7287 7288 7289 7290 7291 7292 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 7284 def delete_user(user_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v3/users/{+userId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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.
6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6204 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::DisplayvideoV3::GoogleBytestreamMedia::Representation command.response_class = Google::Apis::DisplayvideoV3::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 |
#duplicate_line_item(advertiser_id, line_item_id, duplicate_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::DuplicateLineItemResponse
Duplicates a line item. Returns the ID of the created line item if successful. YouTube & Partners line items cannot be created or updated using the API. ** This method regularly experiences high latency.** We recommend increasing your default timeout to avoid errors.
2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2714 def duplicate_line_item(advertiser_id, line_item_id, duplicate_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}:duplicate', ) command.request_representation = Google::Apis::DisplayvideoV3::DuplicateLineItemRequest::Representation command.request_object = duplicate_line_item_request_object command.response_representation = Google::Apis::DisplayvideoV3::DuplicateLineItemResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::DuplicateLineItemResponse 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 |
#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::DisplayvideoV3::BulkEditAdvertiserAssignedTargetingOptionsResponse
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 .
185 186 187 188 189 190 191 192 193 194 195 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 185 def (advertiser_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers/{+advertiserId}:editAssignedTargetingOptions', ) command.request_representation = Google::Apis::DisplayvideoV3::BulkEditAdvertiserAssignedTargetingOptionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DisplayvideoV3::BulkEditAdvertiserAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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 |
#edit_first_and_third_party_audience_customer_match_members(first_and_third_party_audience_id, edit_customer_match_members_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::EditCustomerMatchMembersResponse
Updates the member list of a Customer Match audience. Only supported for the
following audience_type: * CUSTOMER_MATCH_CONTACT_INFO
*
CUSTOMER_MATCH_DEVICE_ID
4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4908 def edit_first_and_third_party_audience_customer_match_members(first_and_third_party_audience_id, edit_customer_match_members_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}:editCustomerMatchMembers', ) command.request_representation = Google::Apis::DisplayvideoV3::EditCustomerMatchMembersRequest::Representation command.request_object = edit_customer_match_members_request_object command.response_representation = Google::Apis::DisplayvideoV3::EditCustomerMatchMembersResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::EditCustomerMatchMembersResponse command.params['firstAndThirdPartyAudienceId'] = first_and_third_party_audience_id unless first_and_third_party_audience_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 |
#edit_guaranteed_order_read_accessors(guaranteed_order_id, edit_guaranteed_order_read_accessors_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::EditGuaranteedOrderReadAccessorsResponse
Edits read advertisers of a guaranteed order.
5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5385 def edit_guaranteed_order_read_accessors(guaranteed_order_id, edit_guaranteed_order_read_accessors_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/guaranteedOrders/{+guaranteedOrderId}:editGuaranteedOrderReadAccessors', ) command.request_representation = Google::Apis::DisplayvideoV3::EditGuaranteedOrderReadAccessorsRequest::Representation command.request_object = edit_guaranteed_order_read_accessors_request_object command.response_representation = Google::Apis::DisplayvideoV3::EditGuaranteedOrderReadAccessorsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::EditGuaranteedOrderReadAccessorsResponse command.params['guaranteedOrderId'] = guaranteed_order_id unless guaranteed_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 |
#edit_inventory_source_read_write_accessors(inventory_source_id, edit_inventory_source_read_write_accessors_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::InventorySourceAccessors
Edits read/write accessors of an inventory source. Returns the updated read_write_accessors for the inventory source.
6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6020 def edit_inventory_source_read_write_accessors(inventory_source_id, edit_inventory_source_read_write_accessors_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/inventorySources/{+inventorySourceId}:editInventorySourceReadWriteAccessors', ) command.request_representation = Google::Apis::DisplayvideoV3::EditInventorySourceReadWriteAccessorsRequest::Representation command.request_object = edit_inventory_source_read_write_accessors_request_object command.response_representation = Google::Apis::DisplayvideoV3::InventorySourceAccessors::Representation command.response_class = Google::Apis::DisplayvideoV3::InventorySourceAccessors command.params['inventorySourceId'] = inventory_source_id unless inventory_source_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 |
#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::DisplayvideoV3::BulkEditPartnerAssignedTargetingOptionsResponse
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 .
6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6289 def (partner_id, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/partners/{+partnerId}:editAssignedTargetingOptions', ) command.request_representation = Google::Apis::DisplayvideoV3::BulkEditPartnerAssignedTargetingOptionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DisplayvideoV3::BulkEditPartnerAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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 |
#generate_default_line_item(advertiser_id, generate_default_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::LineItem
Creates a new line item with settings (including targeting) inherited from the
insertion order and an ENTITY_STATUS_DRAFT
entity_status. Returns the newly
created line item if successful. There are default values based on the three
fields: * The insertion order's insertion_order_type * The insertion order's
automation_type * The given line_item_type YouTube & Partners line items
cannot be created or updated using the API.
2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2753 def generate_default_line_item(advertiser_id, generate_default_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers/{+advertiserId}/lineItems:generateDefault', ) command.request_representation = Google::Apis::DisplayvideoV3::GenerateDefaultLineItemRequest::Representation command.request_object = generate_default_line_item_request_object command.response_representation = Google::Apis::DisplayvideoV3::LineItem::Representation command.response_class = Google::Apis::DisplayvideoV3::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 |
#get_advertiser(advertiser_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::Advertiser
Gets an advertiser.
217 218 219 220 221 222 223 224 225 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 217 def get_advertiser(advertiser_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Advertiser::Representation command.response_class = Google::Apis::DisplayvideoV3::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_ad_group(advertiser_id, ad_group_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::AdGroup
Gets an ad group.
567 568 569 570 571 572 573 574 575 576 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 567 def get_advertiser_ad_group(advertiser_id, ad_group_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/adGroups/{+adGroupId}', ) command.response_representation = Google::Apis::DisplayvideoV3::AdGroup::Representation command.response_class = Google::Apis::DisplayvideoV3::AdGroup command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['adGroupId'] = ad_group_id unless ad_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 |
#get_advertiser_ad_group_ad(advertiser_id, ad_group_ad_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::AdGroupAd
Gets an ad group ad.
409 410 411 412 413 414 415 416 417 418 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 409 def get_advertiser_ad_group_ad(advertiser_id, ad_group_ad_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/adGroupAds/{+adGroupAdId}', ) command.response_representation = Google::Apis::DisplayvideoV3::AdGroupAd::Representation command.response_class = Google::Apis::DisplayvideoV3::AdGroupAd command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['adGroupAdId'] = ad_group_ad_id unless ad_group_ad_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_ad_group_targeting_type_assigned_targeting_option(advertiser_id, ad_group_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::AssignedTargetingOption
Gets a single targeting option assigned to an ad group. Inherited assigned targeting options are not included.
675 676 677 678 679 680 681 682 683 684 685 686 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 675 def get_advertiser_ad_group_targeting_type_assigned_targeting_option(advertiser_id, ad_group_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/adGroups/{+adGroupId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV3::AssignedTargetingOption command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['adGroupId'] = ad_group_id unless ad_group_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_campaign(advertiser_id, campaign_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::Campaign
Gets a campaign.
901 902 903 904 905 906 907 908 909 910 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 901 def get_advertiser_campaign(advertiser_id, campaign_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/campaigns/{+campaignId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Campaign::Representation command.response_class = Google::Apis::DisplayvideoV3::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_campaign_targeting_type_assigned_targeting_option(advertiser_id, campaign_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::AssignedTargetingOption
Gets a single targeting option assigned to a campaign.
1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1122 def get_advertiser_campaign_targeting_type_assigned_targeting_option(advertiser_id, campaign_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV3::AssignedTargetingOption command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['campaignId'] = campaign_id unless campaign_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_channel(advertiser_id, channel_id, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::Channel
Gets a channel for a partner or advertiser.
1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1275 def get_advertiser_channel(advertiser_id, channel_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/channels/{+channelId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Channel::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Creative
Gets a creative.
1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1702 def get_advertiser_creative(advertiser_id, creative_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/creatives/{+creativeId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Creative::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::InsertionOrder
Gets an insertion order. Returns error code NOT_FOUND
if the insertion order
does not exist.
1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1930 def get_advertiser_insertion_order(advertiser_id, insertion_order_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}', ) command.response_representation = Google::Apis::DisplayvideoV3::InsertionOrder::Representation command.response_class = Google::Apis::DisplayvideoV3::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_insertion_order_targeting_type_assigned_targeting_option(advertiser_id, insertion_order_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::AssignedTargetingOption
Gets a single targeting option assigned to an insertion order.
2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2282 def get_advertiser_insertion_order_targeting_type_assigned_targeting_option(advertiser_id, insertion_order_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV3::AssignedTargetingOption command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['insertionOrderId'] = insertion_order_id unless insertion_order_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_line_item(advertiser_id, line_item_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::LineItem
Gets a line item.
2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2787 def get_advertiser_line_item(advertiser_id, line_item_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}', ) command.response_representation = Google::Apis::DisplayvideoV3::LineItem::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::AssignedTargetingOption
Gets a single targeting option assigned to a line item.
3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3106 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, 'v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::LocationList
Gets a location list.
3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3271 def get_advertiser_location_list(advertiser_id, location_list_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/locationLists/{+locationListId}', ) command.response_representation = Google::Apis::DisplayvideoV3::LocationList::Representation command.response_class = Google::Apis::DisplayvideoV3::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_negative_keyword_list(advertiser_id, negative_keyword_list_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::NegativeKeywordList
Gets a negative keyword list given an advertiser ID and a negative keyword list ID.
3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3644 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, 'v3/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}', ) command.response_representation = Google::Apis::DisplayvideoV3::NegativeKeywordList::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::AssignedTargetingOption
Gets a single targeting option assigned to an advertiser.
4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4067 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, 'v3/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::CombinedAudience
Gets a combined audience.
4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4168 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, 'v3/combinedAudiences/{+combinedAudienceId}', ) command.response_representation = Google::Apis::DisplayvideoV3::CombinedAudience::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::CustomBiddingAlgorithm
Gets a custom bidding algorithm.
4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4295 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, 'v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}', ) command.response_representation = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithm::Representation command.response_class = Google::Apis::DisplayvideoV3::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_bidding_algorithm_rule(custom_bidding_algorithm_id, custom_bidding_algorithm_rules_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRules
Retrieves a rules resource.
4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4558 def get_custom_bidding_algorithm_rule(custom_bidding_algorithm_id, custom_bidding_algorithm_rules_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}/rules/{+customBiddingAlgorithmRulesId}', ) command.response_representation = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRules::Representation command.response_class = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRules command.params['customBiddingAlgorithmId'] = custom_bidding_algorithm_id unless custom_bidding_algorithm_id.nil? command.params['customBiddingAlgorithmRulesId'] = custom_bidding_algorithm_rules_id unless custom_bidding_algorithm_rules_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_script(custom_bidding_algorithm_id, custom_bidding_script_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingScript
Gets a custom bidding script.
4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4692 def get_custom_bidding_algorithm_script(custom_bidding_algorithm_id, custom_bidding_script_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts/{+customBiddingScriptId}', ) command.response_representation = Google::Apis::DisplayvideoV3::CustomBiddingScript::Representation command.response_class = Google::Apis::DisplayvideoV3::CustomBiddingScript command.params['customBiddingAlgorithmId'] = custom_bidding_algorithm_id unless custom_bidding_algorithm_id.nil? command.params['customBiddingScriptId'] = custom_bidding_script_id unless custom_bidding_script_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::DisplayvideoV3::CustomList
Gets a custom list.
4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4781 def get_custom_list(custom_list_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/customLists/{+customListId}', ) command.response_representation = Google::Apis::DisplayvideoV3::CustomList::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::FirstAndThirdPartyAudience
Gets a first and third party audience.
4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4946 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, 'v3/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}', ) command.response_representation = Google::Apis::DisplayvideoV3::FirstAndThirdPartyAudience::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::FloodlightGroup
Gets a Floodlight group.
5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5089 def get_floodlight_group(floodlight_group_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/floodlightGroups/{+floodlightGroupId}', ) command.response_representation = Google::Apis::DisplayvideoV3::FloodlightGroup::Representation command.response_class = Google::Apis::DisplayvideoV3::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_floodlight_group_floodlight_activity(floodlight_group_id, floodlight_activity_id, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::FloodlightActivity
Gets a Floodlight activity.
5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5166 def get_floodlight_group_floodlight_activity(floodlight_group_id, floodlight_activity_id, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/floodlightGroups/{+floodlightGroupId}/floodlightActivities/{+floodlightActivityId}', ) command.response_representation = Google::Apis::DisplayvideoV3::FloodlightActivity::Representation command.response_class = Google::Apis::DisplayvideoV3::FloodlightActivity command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.nil? command.params['floodlightActivityId'] = floodlight_activity_id unless floodlight_activity_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::DisplayvideoV3::GoogleAudience
Gets a Google audience.
5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5254 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, 'v3/googleAudiences/{+googleAudienceId}', ) command.response_representation = Google::Apis::DisplayvideoV3::GoogleAudience::Representation command.response_class = Google::Apis::DisplayvideoV3::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_guaranteed_order(guaranteed_order_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::GuaranteedOrder
Gets a guaranteed order.
5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5422 def get_guaranteed_order(guaranteed_order_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/guaranteedOrders/{+guaranteedOrderId}', ) command.response_representation = Google::Apis::DisplayvideoV3::GuaranteedOrder::Representation command.response_class = Google::Apis::DisplayvideoV3::GuaranteedOrder command.params['guaranteedOrderId'] = guaranteed_order_id unless guaranteed_order_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, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::InventorySource
Gets an inventory source.
6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6059 def get_inventory_source(inventory_source_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/inventorySources/{+inventorySourceId}', ) command.response_representation = Google::Apis::DisplayvideoV3::InventorySource::Representation command.response_class = Google::Apis::DisplayvideoV3::InventorySource command.params['inventorySourceId'] = inventory_source_id unless 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 |
#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::DisplayvideoV3::InventorySourceGroup
Gets an inventory source group.
5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5649 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, 'v3/inventorySourceGroups/{+inventorySourceGroupId}', ) command.response_representation = Google::Apis::DisplayvideoV3::InventorySourceGroup::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Partner
Gets a partner.
6321 6322 6323 6324 6325 6326 6327 6328 6329 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6321 def get_partner(partner_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/partners/{+partnerId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Partner::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Channel
Gets a channel for a partner or advertiser.
6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6446 def get_partner_channel(partner_id, channel_id, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/partners/{+partnerId}/channels/{+channelId}', ) command.response_representation = Google::Apis::DisplayvideoV3::Channel::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::AssignedTargetingOption
Gets a single targeting option assigned to a partner.
6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6880 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, 'v3/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Operation
Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.
7011 7012 7013 7014 7015 7016 7017 7018 7019 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 7011 def get_sdfdownloadtask_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/{+name}', ) command.response_representation = Google::Apis::DisplayvideoV3::Operation::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::TargetingOption
Gets a single targeting option.
7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 7060 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, 'v3/targetingTypes/{+targetingType}/targetingOptions/{+targetingOptionId}', ) command.response_representation = Google::Apis::DisplayvideoV3::TargetingOption::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::User
Gets a user. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
7317 7318 7319 7320 7321 7322 7323 7324 7325 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 7317 def get_user(user_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/users/{+userId}', ) command.response_representation = Google::Apis::DisplayvideoV3::User::Representation command.response_class = Google::Apis::DisplayvideoV3::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_ad_group_ads(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ListAdGroupAdsResponse
Lists ad group ads.
467 468 469 470 471 472 473 474 475 476 477 478 479 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 467 def list_advertiser_ad_group_ads(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, 'v3/advertisers/{+advertiserId}/adGroupAds', ) command.response_representation = Google::Apis::DisplayvideoV3::ListAdGroupAdsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::ListAdGroupAdsResponse 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_ad_group_targeting_type_assigned_targeting_options(advertiser_id, ad_group_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::DisplayvideoV3::ListAdGroupAssignedTargetingOptionsResponse
Lists the targeting options assigned to an ad group. Inherited assigned targeting options are not included.
744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 744 def (advertiser_id, ad_group_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, 'v3/advertisers/{+advertiserId}/adGroups/{+adGroupId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV3::ListAdGroupAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::ListAdGroupAssignedTargetingOptionsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['adGroupId'] = ad_group_id unless ad_group_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_ad_groups(advertiser_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ListAdGroupsResponse
Lists ad groups.
626 627 628 629 630 631 632 633 634 635 636 637 638 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 626 def list_advertiser_ad_groups(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, 'v3/advertisers/{+advertiserId}/adGroups', ) command.response_representation = Google::Apis::DisplayvideoV3::ListAdGroupsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::ListAdGroupsResponse 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_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::DisplayvideoV3::BulkListAdvertiserAssignedTargetingOptionsResponse
Lists assigned targeting options of an advertiser across targeting types.
337 338 339 340 341 342 343 344 345 346 347 348 349 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 337 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, 'v3/advertisers/{+advertiserId}:listAssignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV3::BulkListAdvertiserAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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 |
#list_advertiser_campaign_assigned_targeting_options(advertiser_id, campaign_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::BulkListCampaignAssignedTargetingOptionsResponse
Lists assigned targeting options of a campaign across targeting types.
1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1029 def (advertiser_id, campaign_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, 'v3/advertisers/{+advertiserId}/campaigns/{+campaignId}:listAssignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV3::BulkListCampaignAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::BulkListCampaignAssignedTargetingOptionsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['campaignId'] = campaign_id unless campaign_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_campaign_targeting_type_assigned_targeting_options(advertiser_id, campaign_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::DisplayvideoV3::ListCampaignAssignedTargetingOptionsResponse
Lists the targeting options assigned to a campaign for a specified targeting type.
1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1199 def (advertiser_id, campaign_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, 'v3/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV3::ListCampaignAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::ListCampaignAssignedTargetingOptionsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['campaignId'] = campaign_id unless campaign_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_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::DisplayvideoV3::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.
965 966 967 968 969 970 971 972 973 974 975 976 977 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 965 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, 'v3/advertisers/{+advertiserId}/campaigns', ) command.response_representation = Google::Apis::DisplayvideoV3::ListCampaignsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListSitesResponse
Lists sites in a channel.
1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1552 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, 'v3/advertisers/{+advertiserId}/channels/{+channelId}/sites', ) command.response_representation = Google::Apis::DisplayvideoV3::ListSitesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListChannelsResponse
Lists channels for a partner or advertiser.
1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1332 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, 'v3/advertisers/{+advertiserId}/channels', ) command.response_representation = Google::Apis::DisplayvideoV3::ListChannelsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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.
1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1783 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, 'v3/advertisers/{+advertiserId}/creatives', ) command.response_representation = Google::Apis::DisplayvideoV3::ListCreativesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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_order_assigned_targeting_options(advertiser_id, insertion_order_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::BulkListInsertionOrderAssignedTargetingOptionsResponse
Lists assigned targeting options of an insertion order across targeting types.
2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2061 def (advertiser_id, insertion_order_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, 'v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}:listAssignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV3::BulkListInsertionOrderAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::BulkListInsertionOrderAssignedTargetingOptionsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['insertionOrderId'] = insertion_order_id unless insertion_order_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_order_targeting_type_assigned_targeting_options(advertiser_id, insertion_order_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::DisplayvideoV3::ListInsertionOrderAssignedTargetingOptionsResponse
Lists the targeting options assigned to an insertion order.
2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2371 def (advertiser_id, insertion_order_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, 'v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV3::ListInsertionOrderAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::ListInsertionOrderAssignedTargetingOptionsResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.params['insertionOrderId'] = insertion_order_id unless insertion_order_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_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::DisplayvideoV3::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.
1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1996 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, 'v3/advertisers/{+advertiserId}/insertionOrders', ) command.response_representation = Google::Apis::DisplayvideoV3::ListInsertionOrdersResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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_invoices(advertiser_id, issue_month: nil, loi_sapin_invoice_type: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ListInvoicesResponse
Lists invoices posted for an advertiser in a given month. Invoices generated by billing profiles with a "Partner" invoice level are not retrievable through this method.
2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2424 def list_advertiser_invoices(advertiser_id, issue_month: nil, loi_sapin_invoice_type: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/invoices', ) command.response_representation = Google::Apis::DisplayvideoV3::ListInvoicesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::ListInvoicesResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['issueMonth'] = issue_month unless issue_month.nil? command.query['loiSapinInvoiceType'] = loi_sapin_invoice_type unless loi_sapin_invoice_type.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::DisplayvideoV3::ListLineItemAssignedTargetingOptionsResponse
Lists the targeting options assigned to a line item.
3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3198 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, 'v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV3::ListLineItemAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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.
2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2854 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, 'v3/advertisers/{+advertiserId}/lineItems', ) command.response_representation = Google::Apis::DisplayvideoV3::ListLineItemsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListAssignedLocationsResponse
Lists locations assigned to a location list.
3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3535 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, 'v3/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations', ) command.response_representation = Google::Apis::DisplayvideoV3::ListAssignedLocationsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListLocationListsResponse
Lists location lists based on a given advertiser id.
3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3327 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, 'v3/advertisers/{+advertiserId}/locationLists', ) command.response_representation = Google::Apis::DisplayvideoV3::ListLocationListsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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_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::DisplayvideoV3::ListNegativeKeywordsResponse
Lists negative keywords in a negative keyword list.
3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3904 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, 'v3/advertisers/{+advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords', ) command.response_representation = Google::Apis::DisplayvideoV3::ListNegativeKeywordsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListNegativeKeywordListsResponse
Lists negative keyword lists based on a given advertiser id.
3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3684 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, 'v3/advertisers/{+advertiserId}/negativeKeywordLists', ) command.response_representation = Google::Apis::DisplayvideoV3::ListNegativeKeywordListsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListAdvertiserAssignedTargetingOptionsResponse
Lists the targeting options assigned to an advertiser.
4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4129 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, 'v3/advertisers/{+advertiserId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV3::ListAdvertiserAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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.
279 280 281 282 283 284 285 286 287 288 289 290 291 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 279 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, 'v3/advertisers', ) command.response_representation = Google::Apis::DisplayvideoV3::ListAdvertisersResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListCombinedAudiencesResponse
Lists combined audiences. The order is defined by the order_by parameter.
4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4225 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, 'v3/combinedAudiences', ) command.response_representation = Google::Apis::DisplayvideoV3::ListCombinedAudiencesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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_algorithm_rules(custom_bidding_algorithm_id, advertiser_id: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ListCustomBiddingAlgorithmRulesResponse
Lists rules resources that belong to the given algorithm. The order is defined by the order_by parameter.
4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4609 def list_custom_bidding_algorithm_rules(custom_bidding_algorithm_id, advertiser_id: 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, 'v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}/rules', ) command.response_representation = Google::Apis::DisplayvideoV3::ListCustomBiddingAlgorithmRulesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::ListCustomBiddingAlgorithmRulesResponse command.params['customBiddingAlgorithmId'] = custom_bidding_algorithm_id unless custom_bidding_algorithm_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.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_algorithm_scripts(custom_bidding_algorithm_id, advertiser_id: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ListCustomBiddingScriptsResponse
Lists custom bidding scripts that belong to the given algorithm. The order is defined by the order_by parameter.
4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4744 def list_custom_bidding_algorithm_scripts(custom_bidding_algorithm_id, advertiser_id: 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, 'v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts', ) command.response_representation = Google::Apis::DisplayvideoV3::ListCustomBiddingScriptsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::ListCustomBiddingScriptsResponse command.params['customBiddingAlgorithmId'] = custom_bidding_algorithm_id unless custom_bidding_algorithm_id.nil? command.query['advertiserId'] = advertiser_id unless advertiser_id.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::DisplayvideoV3::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.
4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4359 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, 'v3/customBiddingAlgorithms', ) command.response_representation = Google::Apis::DisplayvideoV3::ListCustomBiddingAlgorithmsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListCustomListsResponse
Lists custom lists. The order is defined by the order_by parameter.
4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4835 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, 'v3/customLists', ) command.response_representation = Google::Apis::DisplayvideoV3::ListCustomListsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListFirstAndThirdPartyAudiencesResponse
Lists first and third party audiences. The order is defined by the order_by parameter.
5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5007 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, 'v3/firstAndThirdPartyAudiences', ) command.response_representation = Google::Apis::DisplayvideoV3::ListFirstAndThirdPartyAudiencesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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_floodlight_group_floodlight_activities(floodlight_group_id, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ListFloodlightActivitiesResponse
Lists Floodlight activities in a Floodlight group.
5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5216 def list_floodlight_group_floodlight_activities(floodlight_group_id, 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, 'v3/floodlightGroups/{+floodlightGroupId}/floodlightActivities', ) command.response_representation = Google::Apis::DisplayvideoV3::ListFloodlightActivitiesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::ListFloodlightActivitiesResponse command.params['floodlightGroupId'] = floodlight_group_id unless floodlight_group_id.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::DisplayvideoV3::ListGoogleAudiencesResponse
Lists Google audiences. The order is defined by the order_by parameter.
5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5311 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, 'v3/googleAudiences', ) command.response_representation = Google::Apis::DisplayvideoV3::ListGoogleAudiencesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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_guaranteed_orders(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::DisplayvideoV3::ListGuaranteedOrdersResponse
Lists guaranteed orders 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, guaranteed orders with entity status ENTITY_STATUS_ARCHIVED
will
not be included in the results.
5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5485 def list_guaranteed_orders(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, 'v3/guaranteedOrders', ) command.response_representation = Google::Apis::DisplayvideoV3::ListGuaranteedOrdersResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::ListGuaranteedOrdersResponse 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::DisplayvideoV3::ListAssignedInventorySourcesResponse
Lists inventory sources assigned to an inventory source group.
5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5945 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, 'v3/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources', ) command.response_representation = Google::Apis::DisplayvideoV3::ListAssignedInventorySourcesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListInventorySourceGroupsResponse
Lists inventory source groups that are accessible to the current user. The order is defined by the order_by parameter.
5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5708 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, 'v3/inventorySourceGroups', ) command.response_representation = Google::Apis::DisplayvideoV3::ListInventorySourceGroupsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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.
6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6122 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, 'v3/inventorySources', ) command.response_representation = Google::Apis::DisplayvideoV3::ListInventorySourcesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListSitesResponse
Lists sites in a channel.
6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6723 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, 'v3/partners/{+partnerId}/channels/{+channelId}/sites', ) command.response_representation = Google::Apis::DisplayvideoV3::ListSitesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListChannelsResponse
Lists channels for a partner or advertiser.
6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6503 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, 'v3/partners/{+partnerId}/channels', ) command.response_representation = Google::Apis::DisplayvideoV3::ListChannelsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListPartnerAssignedTargetingOptionsResponse
Lists the targeting options assigned to a partner.
6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6939 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, 'v3/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV3::ListPartnerAssignedTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListPartnersResponse
Lists partners that are accessible to the current user. The order is defined by the order_by parameter.
6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6373 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, 'v3/partners', ) command.response_representation = Google::Apis::DisplayvideoV3::ListPartnersResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::ListTargetingOptionsResponse
Lists targeting options of a given type.
7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 7138 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, 'v3/targetingTypes/{+targetingType}/targetingOptions', ) command.response_representation = Google::Apis::DisplayvideoV3::ListTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 7390 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, 'v3/users', ) command.response_representation = Google::Apis::DisplayvideoV3::ListUsersResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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 |
#lookup_advertiser_invoice_invoice_currency(advertiser_id, invoice_month: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::LookupInvoiceCurrencyResponse
Retrieves the invoice currency used by an advertiser in a given month.
2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2461 def lookup_advertiser_invoice_invoice_currency(advertiser_id, invoice_month: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/invoices:lookupInvoiceCurrency', ) command.response_representation = Google::Apis::DisplayvideoV3::LookupInvoiceCurrencyResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::LookupInvoiceCurrencyResponse command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? command.query['invoiceMonth'] = invoice_month unless invoice_month.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::DisplayvideoV3::Advertiser
Updates an existing advertiser. Returns the updated advertiser if successful.
374 375 376 377 378 379 380 381 382 383 384 385 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 374 def patch_advertiser(advertiser_id, advertiser_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v3/advertisers/{+advertiserId}', ) command.request_representation = Google::Apis::DisplayvideoV3::Advertiser::Representation command.request_object = advertiser_object command.response_representation = Google::Apis::DisplayvideoV3::Advertiser::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Campaign
Updates an existing campaign. Returns the updated campaign if successful.
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1069 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, 'v3/advertisers/{+advertiserId}/campaigns/{+campaignId}', ) command.request_representation = Google::Apis::DisplayvideoV3::Campaign::Representation command.request_object = campaign_object command.response_representation = Google::Apis::DisplayvideoV3::Campaign::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Channel
Updates a channel. Returns the updated channel if successful.
1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1374 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, 'v3/advertisers/{+advertiserId}/channels/{channelId}', ) command.request_representation = Google::Apis::DisplayvideoV3::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::DisplayvideoV3::Channel::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Creative
Updates an existing creative. Returns the updated creative if successful. A " Standard" user role or greater for the parent advertiser or partner is required to make this request.
1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1824 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, 'v3/advertisers/{+advertiserId}/creatives/{+creativeId}', ) command.request_representation = Google::Apis::DisplayvideoV3::Creative::Representation command.request_object = creative_object command.response_representation = Google::Apis::DisplayvideoV3::Creative::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::InsertionOrder
Updates an existing insertion order. Returns the updated insertion order if successful.
2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2102 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, 'v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}', ) command.request_representation = Google::Apis::DisplayvideoV3::InsertionOrder::Representation command.request_object = insertion_order_object command.response_representation = Google::Apis::DisplayvideoV3::InsertionOrder::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::LineItem
Updates an existing line item. Returns the updated line item if successful. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * BulkEditAssignedTargetingOptions * BulkUpdateLineItems * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API. This method regularly experiences high latency. We recommend increasing your default timeout to avoid errors.
2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 2900 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, 'v3/advertisers/{+advertiserId}/lineItems/{+lineItemId}', ) command.request_representation = Google::Apis::DisplayvideoV3::LineItem::Representation command.request_object = line_item_object command.response_representation = Google::Apis::DisplayvideoV3::LineItem::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::LocationList
Updates a location list. Returns the updated location list if successful.
3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3366 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, 'v3/advertisers/{+advertiserId}/locationLists/{locationListId}', ) command.request_representation = Google::Apis::DisplayvideoV3::LocationList::Representation command.request_object = location_list_object command.response_representation = Google::Apis::DisplayvideoV3::LocationList::Representation command.response_class = Google::Apis::DisplayvideoV3::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_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::DisplayvideoV3::NegativeKeywordList
Updates a negative keyword list. Returns the updated negative keyword list if successful.
3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3724 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, 'v3/advertisers/{+advertiserId}/negativeKeywordLists/{negativeKeywordListId}', ) command.request_representation = Google::Apis::DisplayvideoV3::NegativeKeywordList::Representation command.request_object = negative_keyword_list_object command.response_representation = Google::Apis::DisplayvideoV3::NegativeKeywordList::Representation command.response_class = Google::Apis::DisplayvideoV3::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_custom_bidding_algorithm(custom_bidding_algorithm_id, custom_bidding_algorithm_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingAlgorithm
Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful.
4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4399 def patch_custom_bidding_algorithm(custom_bidding_algorithm_id, custom_bidding_algorithm_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}', ) command.request_representation = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithm::Representation command.request_object = custom_bidding_algorithm_object command.response_representation = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithm::Representation command.response_class = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithm command.params['customBiddingAlgorithmId'] = custom_bidding_algorithm_id unless custom_bidding_algorithm_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_first_and_third_party_audience(first_and_third_party_audience_id, first_and_third_party_audience_object = nil, advertiser_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::FirstAndThirdPartyAudience
Updates an existing FirstAndThirdPartyAudience. Only supported for the
following audience_type: * CUSTOMER_MATCH_CONTACT_INFO
*
CUSTOMER_MATCH_DEVICE_ID
5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5053 def patch_first_and_third_party_audience(first_and_third_party_audience_id, first_and_third_party_audience_object = nil, advertiser_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v3/firstAndThirdPartyAudiences/{+firstAndThirdPartyAudienceId}', ) command.request_representation = Google::Apis::DisplayvideoV3::FirstAndThirdPartyAudience::Representation command.request_object = first_and_third_party_audience_object command.response_representation = Google::Apis::DisplayvideoV3::FirstAndThirdPartyAudience::Representation command.response_class = Google::Apis::DisplayvideoV3::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['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::DisplayvideoV3::FloodlightGroup
Updates an existing Floodlight group. Returns the updated Floodlight group if successful.
5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5126 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, 'v3/floodlightGroups/{floodlightGroupId}', ) command.request_representation = Google::Apis::DisplayvideoV3::FloodlightGroup::Representation command.request_object = floodlight_group_object command.response_representation = Google::Apis::DisplayvideoV3::FloodlightGroup::Representation command.response_class = Google::Apis::DisplayvideoV3::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_guaranteed_order(guaranteed_order_id, guaranteed_order_object = nil, advertiser_id: nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::GuaranteedOrder
Updates an existing guaranteed order. Returns the updated guaranteed order if successful.
5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5529 def patch_guaranteed_order(guaranteed_order_id, guaranteed_order_object = nil, advertiser_id: nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v3/guaranteedOrders/{+guaranteedOrderId}', ) command.request_representation = Google::Apis::DisplayvideoV3::GuaranteedOrder::Representation command.request_object = guaranteed_order_object command.response_representation = Google::Apis::DisplayvideoV3::GuaranteedOrder::Representation command.response_class = Google::Apis::DisplayvideoV3::GuaranteedOrder command.params['guaranteedOrderId'] = guaranteed_order_id unless guaranteed_order_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_inventory_source(inventory_source_id, inventory_source_object = nil, advertiser_id: nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::InventorySource
Updates an existing inventory source. Returns the updated inventory source if successful.
6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6165 def patch_inventory_source(inventory_source_id, inventory_source_object = nil, advertiser_id: nil, partner_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v3/inventorySources/{+inventorySourceId}', ) command.request_representation = Google::Apis::DisplayvideoV3::InventorySource::Representation command.request_object = inventory_source_object command.response_representation = Google::Apis::DisplayvideoV3::InventorySource::Representation command.response_class = Google::Apis::DisplayvideoV3::InventorySource command.params['inventorySourceId'] = inventory_source_id unless inventory_source_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_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::DisplayvideoV3::InventorySourceGroup
Updates an inventory source group. Returns the updated inventory source group if successful.
5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 5754 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, 'v3/inventorySourceGroups/{inventorySourceGroupId}', ) command.request_representation = Google::Apis::DisplayvideoV3::InventorySourceGroup::Representation command.request_object = inventory_source_group_object command.response_representation = Google::Apis::DisplayvideoV3::InventorySourceGroup::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::Channel
Updates a channel. Returns the updated channel if successful.
6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6545 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, 'v3/partners/{+partnerId}/channels/{channelId}', ) command.request_representation = Google::Apis::DisplayvideoV3::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::DisplayvideoV3::Channel::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::User
Updates an existing user. Returns the updated user if successful. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.
7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 7430 def patch_user(user_id, user_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v3/users/{+userId}', ) command.request_representation = Google::Apis::DisplayvideoV3::User::Representation command.request_object = user_object command.response_representation = Google::Apis::DisplayvideoV3::User::Representation command.response_class = Google::Apis::DisplayvideoV3::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 |
#replace_advertiser_channel_site(advertiser_id, channel_id, replace_sites_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ReplaceSitesResponse
Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest. new_sites. This method regularly experiences high latency. We recommend increasing your default timeout to avoid errors.
1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 1595 def replace_advertiser_channel_site(advertiser_id, channel_id, replace_sites_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers/{advertiserId}/channels/{+channelId}/sites:replace', ) command.request_representation = Google::Apis::DisplayvideoV3::ReplaceSitesRequest::Representation command.request_object = replace_sites_request_object command.response_representation = Google::Apis::DisplayvideoV3::ReplaceSitesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::ReplaceSitesResponse 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 |
#replace_negative_keywords(advertiser_id, negative_keyword_list_id, replace_negative_keywords_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ReplaceNegativeKeywordsResponse
Replaces all negative keywords in a single negative keyword list. The operation will replace the keywords in a negative keyword list with keywords provided in ReplaceNegativeKeywordsRequest.new_negative_keywords.
3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 3946 def replace_negative_keywords(advertiser_id, negative_keyword_list_id, replace_negative_keywords_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/advertisers/{advertiserId}/negativeKeywordLists/{+negativeKeywordListId}/negativeKeywords:replace', ) command.request_representation = Google::Apis::DisplayvideoV3::ReplaceNegativeKeywordsRequest::Representation command.request_object = replace_negative_keywords_request_object command.response_representation = Google::Apis::DisplayvideoV3::ReplaceNegativeKeywordsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::ReplaceNegativeKeywordsResponse 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 |
#replace_partner_channel_site(partner_id, channel_id, replace_sites_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::ReplaceSitesResponse
Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest. new_sites. This method regularly experiences high latency. We recommend increasing your default timeout to avoid errors.
6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6766 def replace_partner_channel_site(partner_id, channel_id, replace_sites_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/partners/{partnerId}/channels/{+channelId}/sites:replace', ) command.request_representation = Google::Apis::DisplayvideoV3::ReplaceSitesRequest::Representation command.request_object = replace_sites_request_object command.response_representation = Google::Apis::DisplayvideoV3::ReplaceSitesResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::ReplaceSitesResponse 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 |
#search_targeting_options(targeting_type, search_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::SearchTargetingOptionsResponse
Searches for targeting options of a given type based on the given search terms.
7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 7176 def (targeting_type, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/targetingTypes/{+targetingType}/targetingOptions:search', ) command.request_representation = Google::Apis::DisplayvideoV3::SearchTargetingOptionsRequest::Representation command.request_object = command.response_representation = Google::Apis::DisplayvideoV3::SearchTargetingOptionsResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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::DisplayvideoV3::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. Must be used within the multipart media upload process. Examples using provided client libraries can be found in our Creating Creatives guide.
790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 790 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, 'v3/advertisers/{+advertiserId}/assets', ) else command = make_upload_command(:post, 'v3/advertisers/{+advertiserId}/assets', ) command.upload_source = upload_source command.upload_content_type = content_type end command.request_representation = Google::Apis::DisplayvideoV3::CreateAssetRequest::Representation command.request_object = create_asset_request_object command.response_representation = Google::Apis::DisplayvideoV3::CreateAssetResponse::Representation command.response_class = Google::Apis::DisplayvideoV3::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 |
#upload_custom_bidding_algorithm_rules(custom_bidding_algorithm_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRulesRef
Creates a rules reference object for an AlgorithmRules file. The resulting reference object provides a resource path where the AlgorithmRules file should be uploaded. This reference object should be included when creating a new CustomBiddingAlgorithmRules resource.
4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4439 def upload_custom_bidding_algorithm_rules(custom_bidding_algorithm_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}:uploadRules', ) command.response_representation = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRulesRef::Representation command.response_class = Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRulesRef 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 |
#upload_custom_bidding_algorithm_script(custom_bidding_algorithm_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::CustomBiddingScriptRef
Creates a custom bidding script reference object for a script file. The resulting reference object provides a resource path to which the script file should be uploaded. This reference object should be included in when creating a new custom bidding script object.
4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 4479 def upload_custom_bidding_algorithm_script(custom_bidding_algorithm_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/customBiddingAlgorithms/{+customBiddingAlgorithmId}:uploadScript', ) command.response_representation = Google::Apis::DisplayvideoV3::CustomBiddingScriptRef::Representation command.response_class = Google::Apis::DisplayvideoV3::CustomBiddingScriptRef 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 |
#upload_medium(resource_name, google_bytestream_media_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::DisplayvideoV3::GoogleBytestreamMedia
Uploads media. Upload is supported on the URI /upload/media/
resource_name=
?upload_type=media.
**Note: Upload requests will not be successful without
including upload_type=media
query string.
6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 |
# File 'lib/google/apis/displayvideo_v3/service.rb', line 6246 def upload_medium(resource_name, google_bytestream_media_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, 'media/{+resourceName}', ) else command = make_upload_command(:post, 'media/{+resourceName}', ) command.upload_source = upload_source command.upload_content_type = content_type end command.request_representation = Google::Apis::DisplayvideoV3::GoogleBytestreamMedia::Representation command.request_object = google_bytestream_media_object command.response_representation = Google::Apis::DisplayvideoV3::GoogleBytestreamMedia::Representation command.response_class = Google::Apis::DisplayvideoV3::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 |