google-apis-displayvideo_v3 0.37.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dedd32a0a44aa91c27f0f878e8065a8c6494e17bc44277f1a77339096ef3f22e
|
|
4
|
+
data.tar.gz: c668730cb5e9ee7a5a82dbc76f0d0fcc9c874bb2781edf763929d8b0fe0e382e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76c85e831a12e50f450e57b02da8313c890360a7b4f66aa5fa7dbf318c01fa967d4afb61d048b40b24d6bf9aacb16905bb02b3d33c9fe07c2eaeb3ffb6e2278f
|
|
7
|
+
data.tar.gz: 1c1896f9f480cb9e50b9cd93dbe5bc5b579cceec6183d632ea93817203b8024144f079d1bb3a8752489d695486154e7daee7254b862a87c44f32b5d4de82ddbd
|
data/CHANGELOG.md
CHANGED
|
@@ -3576,64 +3576,6 @@ module Google
|
|
|
3576
3576
|
end
|
|
3577
3577
|
end
|
|
3578
3578
|
|
|
3579
|
-
#
|
|
3580
|
-
class BulkListCampaignAssignedTargetingOptionsResponse
|
|
3581
|
-
include Google::Apis::Core::Hashable
|
|
3582
|
-
|
|
3583
|
-
# The list of assigned targeting options. This list will be absent if empty.
|
|
3584
|
-
# Corresponds to the JSON property `assignedTargetingOptions`
|
|
3585
|
-
# @return [Array<Google::Apis::DisplayvideoV3::AssignedTargetingOption>]
|
|
3586
|
-
attr_accessor :assigned_targeting_options
|
|
3587
|
-
|
|
3588
|
-
# A token identifying the next page of results. This value should be specified
|
|
3589
|
-
# as the pageToken in a subsequent
|
|
3590
|
-
# BulkListCampaignAssignedTargetingOptionsRequest to fetch the next page of
|
|
3591
|
-
# results. This token will be absent if there are no more
|
|
3592
|
-
# assigned_targeting_options to return.
|
|
3593
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
3594
|
-
# @return [String]
|
|
3595
|
-
attr_accessor :next_page_token
|
|
3596
|
-
|
|
3597
|
-
def initialize(**args)
|
|
3598
|
-
update!(**args)
|
|
3599
|
-
end
|
|
3600
|
-
|
|
3601
|
-
# Update properties of this object
|
|
3602
|
-
def update!(**args)
|
|
3603
|
-
@assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
|
|
3604
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3605
|
-
end
|
|
3606
|
-
end
|
|
3607
|
-
|
|
3608
|
-
#
|
|
3609
|
-
class BulkListInsertionOrderAssignedTargetingOptionsResponse
|
|
3610
|
-
include Google::Apis::Core::Hashable
|
|
3611
|
-
|
|
3612
|
-
# The list of assigned targeting options. This list will be absent if empty.
|
|
3613
|
-
# Corresponds to the JSON property `assignedTargetingOptions`
|
|
3614
|
-
# @return [Array<Google::Apis::DisplayvideoV3::AssignedTargetingOption>]
|
|
3615
|
-
attr_accessor :assigned_targeting_options
|
|
3616
|
-
|
|
3617
|
-
# A token identifying the next page of results. This value should be specified
|
|
3618
|
-
# as the pageToken in a subsequent
|
|
3619
|
-
# BulkListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page
|
|
3620
|
-
# of results. This token will be absent if there are no more
|
|
3621
|
-
# assigned_targeting_options to return.
|
|
3622
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
3623
|
-
# @return [String]
|
|
3624
|
-
attr_accessor :next_page_token
|
|
3625
|
-
|
|
3626
|
-
def initialize(**args)
|
|
3627
|
-
update!(**args)
|
|
3628
|
-
end
|
|
3629
|
-
|
|
3630
|
-
# Update properties of this object
|
|
3631
|
-
def update!(**args)
|
|
3632
|
-
@assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
|
|
3633
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3634
|
-
end
|
|
3635
|
-
end
|
|
3636
|
-
|
|
3637
3579
|
# Request message for LineItemService.BulkUpdateLineItems.
|
|
3638
3580
|
class BulkUpdateLineItemsRequest
|
|
3639
3581
|
include Google::Apis::Core::Hashable
|
|
@@ -7447,56 +7389,6 @@ module Google
|
|
|
7447
7389
|
end
|
|
7448
7390
|
end
|
|
7449
7391
|
|
|
7450
|
-
# Request message for LineItemService.GenerateDefaultLineItem.
|
|
7451
|
-
class GenerateDefaultLineItemRequest
|
|
7452
|
-
include Google::Apis::Core::Hashable
|
|
7453
|
-
|
|
7454
|
-
# Whether this line item will serve European Union political ads. If
|
|
7455
|
-
# contains_eu_political_ads has been set to `
|
|
7456
|
-
# DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` in the parent advertiser, then this
|
|
7457
|
-
# field will be assigned `DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING` if not
|
|
7458
|
-
# otherwise specified. This field can then be updated using the UI, API, or
|
|
7459
|
-
# Structured Data Files. This field must be assigned when creating a new line
|
|
7460
|
-
# item. Otherwise, **the `advertisers.lineItems.create` request will fail**.
|
|
7461
|
-
# Corresponds to the JSON property `containsEuPoliticalAds`
|
|
7462
|
-
# @return [String]
|
|
7463
|
-
attr_accessor :contains_eu_political_ads
|
|
7464
|
-
|
|
7465
|
-
# Required. The display name of the line item. Must be UTF-8 encoded with a
|
|
7466
|
-
# maximum size of 240 bytes.
|
|
7467
|
-
# Corresponds to the JSON property `displayName`
|
|
7468
|
-
# @return [String]
|
|
7469
|
-
attr_accessor :display_name
|
|
7470
|
-
|
|
7471
|
-
# Required. The unique ID of the insertion order that the line item belongs to.
|
|
7472
|
-
# Corresponds to the JSON property `insertionOrderId`
|
|
7473
|
-
# @return [Fixnum]
|
|
7474
|
-
attr_accessor :insertion_order_id
|
|
7475
|
-
|
|
7476
|
-
# Required. The type of the line item.
|
|
7477
|
-
# Corresponds to the JSON property `lineItemType`
|
|
7478
|
-
# @return [String]
|
|
7479
|
-
attr_accessor :line_item_type
|
|
7480
|
-
|
|
7481
|
-
# A mobile app promoted by a mobile app install line item.
|
|
7482
|
-
# Corresponds to the JSON property `mobileApp`
|
|
7483
|
-
# @return [Google::Apis::DisplayvideoV3::MobileApp]
|
|
7484
|
-
attr_accessor :mobile_app
|
|
7485
|
-
|
|
7486
|
-
def initialize(**args)
|
|
7487
|
-
update!(**args)
|
|
7488
|
-
end
|
|
7489
|
-
|
|
7490
|
-
# Update properties of this object
|
|
7491
|
-
def update!(**args)
|
|
7492
|
-
@contains_eu_political_ads = args[:contains_eu_political_ads] if args.key?(:contains_eu_political_ads)
|
|
7493
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
7494
|
-
@insertion_order_id = args[:insertion_order_id] if args.key?(:insertion_order_id)
|
|
7495
|
-
@line_item_type = args[:line_item_type] if args.key?(:line_item_type)
|
|
7496
|
-
@mobile_app = args[:mobile_app] if args.key?(:mobile_app)
|
|
7497
|
-
end
|
|
7498
|
-
end
|
|
7499
|
-
|
|
7500
7392
|
# Details for assigned geographic region targeting option. This will be
|
|
7501
7393
|
# populated in the details field of an AssignedTargetingOption when
|
|
7502
7394
|
# targeting_type is `TARGETING_TYPE_GEO_REGION`.
|
|
@@ -9535,34 +9427,6 @@ module Google
|
|
|
9535
9427
|
end
|
|
9536
9428
|
end
|
|
9537
9429
|
|
|
9538
|
-
# Response message for ListCampaignAssignedTargetingOptions.
|
|
9539
|
-
class ListCampaignAssignedTargetingOptionsResponse
|
|
9540
|
-
include Google::Apis::Core::Hashable
|
|
9541
|
-
|
|
9542
|
-
# The list of assigned targeting options. This list will be absent if empty.
|
|
9543
|
-
# Corresponds to the JSON property `assignedTargetingOptions`
|
|
9544
|
-
# @return [Array<Google::Apis::DisplayvideoV3::AssignedTargetingOption>]
|
|
9545
|
-
attr_accessor :assigned_targeting_options
|
|
9546
|
-
|
|
9547
|
-
# A token identifying the next page of results. This value should be specified
|
|
9548
|
-
# as the pageToken in a subsequent ListCampaignAssignedTargetingOptionsRequest
|
|
9549
|
-
# to fetch the next page of results. This token will be absent if there are no
|
|
9550
|
-
# more assigned_targeting_options to return.
|
|
9551
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
9552
|
-
# @return [String]
|
|
9553
|
-
attr_accessor :next_page_token
|
|
9554
|
-
|
|
9555
|
-
def initialize(**args)
|
|
9556
|
-
update!(**args)
|
|
9557
|
-
end
|
|
9558
|
-
|
|
9559
|
-
# Update properties of this object
|
|
9560
|
-
def update!(**args)
|
|
9561
|
-
@assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
|
|
9562
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
9563
|
-
end
|
|
9564
|
-
end
|
|
9565
|
-
|
|
9566
9430
|
#
|
|
9567
9431
|
class ListCampaignsResponse
|
|
9568
9432
|
include Google::Apis::Core::Hashable
|
|
@@ -9893,35 +9757,6 @@ module Google
|
|
|
9893
9757
|
end
|
|
9894
9758
|
end
|
|
9895
9759
|
|
|
9896
|
-
#
|
|
9897
|
-
class ListInsertionOrderAssignedTargetingOptionsResponse
|
|
9898
|
-
include Google::Apis::Core::Hashable
|
|
9899
|
-
|
|
9900
|
-
# The list of assigned targeting options. This list will be absent if empty.
|
|
9901
|
-
# Corresponds to the JSON property `assignedTargetingOptions`
|
|
9902
|
-
# @return [Array<Google::Apis::DisplayvideoV3::AssignedTargetingOption>]
|
|
9903
|
-
attr_accessor :assigned_targeting_options
|
|
9904
|
-
|
|
9905
|
-
# A token identifying the next page of results. This value should be specified
|
|
9906
|
-
# as the pageToken in a subsequent
|
|
9907
|
-
# ListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of
|
|
9908
|
-
# results. This token will be absent if there are no more
|
|
9909
|
-
# assigned_targeting_options to return.
|
|
9910
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
9911
|
-
# @return [String]
|
|
9912
|
-
attr_accessor :next_page_token
|
|
9913
|
-
|
|
9914
|
-
def initialize(**args)
|
|
9915
|
-
update!(**args)
|
|
9916
|
-
end
|
|
9917
|
-
|
|
9918
|
-
# Update properties of this object
|
|
9919
|
-
def update!(**args)
|
|
9920
|
-
@assigned_targeting_options = args[:assigned_targeting_options] if args.key?(:assigned_targeting_options)
|
|
9921
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
9922
|
-
end
|
|
9923
|
-
end
|
|
9924
|
-
|
|
9925
9760
|
#
|
|
9926
9761
|
class ListInsertionOrdersResponse
|
|
9927
9762
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DisplayvideoV3
|
|
18
18
|
# Version of the google-apis-displayvideo_v3 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.38.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251201"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -544,18 +544,6 @@ module Google
|
|
|
544
544
|
include Google::Apis::Core::JsonObjectSupport
|
|
545
545
|
end
|
|
546
546
|
|
|
547
|
-
class BulkListCampaignAssignedTargetingOptionsResponse
|
|
548
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
549
|
-
|
|
550
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
551
|
-
end
|
|
552
|
-
|
|
553
|
-
class BulkListInsertionOrderAssignedTargetingOptionsResponse
|
|
554
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
555
|
-
|
|
556
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
557
|
-
end
|
|
558
|
-
|
|
559
547
|
class BulkUpdateLineItemsRequest
|
|
560
548
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
561
549
|
|
|
@@ -1162,12 +1150,6 @@ module Google
|
|
|
1162
1150
|
include Google::Apis::Core::JsonObjectSupport
|
|
1163
1151
|
end
|
|
1164
1152
|
|
|
1165
|
-
class GenerateDefaultLineItemRequest
|
|
1166
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1167
|
-
|
|
1168
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1169
|
-
end
|
|
1170
|
-
|
|
1171
1153
|
class GeoRegionAssignedTargetingOptionDetails
|
|
1172
1154
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1173
1155
|
|
|
@@ -1444,12 +1426,6 @@ module Google
|
|
|
1444
1426
|
include Google::Apis::Core::JsonObjectSupport
|
|
1445
1427
|
end
|
|
1446
1428
|
|
|
1447
|
-
class ListCampaignAssignedTargetingOptionsResponse
|
|
1448
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1449
|
-
|
|
1450
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1451
|
-
end
|
|
1452
|
-
|
|
1453
1429
|
class ListCampaignsResponse
|
|
1454
1430
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1455
1431
|
|
|
@@ -1522,12 +1498,6 @@ module Google
|
|
|
1522
1498
|
include Google::Apis::Core::JsonObjectSupport
|
|
1523
1499
|
end
|
|
1524
1500
|
|
|
1525
|
-
class ListInsertionOrderAssignedTargetingOptionsResponse
|
|
1526
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1527
|
-
|
|
1528
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
1529
|
-
end
|
|
1530
|
-
|
|
1531
1501
|
class ListInsertionOrdersResponse
|
|
1532
1502
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1533
1503
|
|
|
@@ -3197,24 +3167,6 @@ module Google
|
|
|
3197
3167
|
end
|
|
3198
3168
|
end
|
|
3199
3169
|
|
|
3200
|
-
class BulkListCampaignAssignedTargetingOptionsResponse
|
|
3201
|
-
# @private
|
|
3202
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3203
|
-
collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV3::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation
|
|
3204
|
-
|
|
3205
|
-
property :next_page_token, as: 'nextPageToken'
|
|
3206
|
-
end
|
|
3207
|
-
end
|
|
3208
|
-
|
|
3209
|
-
class BulkListInsertionOrderAssignedTargetingOptionsResponse
|
|
3210
|
-
# @private
|
|
3211
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3212
|
-
collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV3::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation
|
|
3213
|
-
|
|
3214
|
-
property :next_page_token, as: 'nextPageToken'
|
|
3215
|
-
end
|
|
3216
|
-
end
|
|
3217
|
-
|
|
3218
3170
|
class BulkUpdateLineItemsRequest
|
|
3219
3171
|
# @private
|
|
3220
3172
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4220,18 +4172,6 @@ module Google
|
|
|
4220
4172
|
end
|
|
4221
4173
|
end
|
|
4222
4174
|
|
|
4223
|
-
class GenerateDefaultLineItemRequest
|
|
4224
|
-
# @private
|
|
4225
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4226
|
-
property :contains_eu_political_ads, as: 'containsEuPoliticalAds'
|
|
4227
|
-
property :display_name, as: 'displayName'
|
|
4228
|
-
property :insertion_order_id, :numeric_string => true, as: 'insertionOrderId'
|
|
4229
|
-
property :line_item_type, as: 'lineItemType'
|
|
4230
|
-
property :mobile_app, as: 'mobileApp', class: Google::Apis::DisplayvideoV3::MobileApp, decorator: Google::Apis::DisplayvideoV3::MobileApp::Representation
|
|
4231
|
-
|
|
4232
|
-
end
|
|
4233
|
-
end
|
|
4234
|
-
|
|
4235
4175
|
class GeoRegionAssignedTargetingOptionDetails
|
|
4236
4176
|
# @private
|
|
4237
4177
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4755,15 +4695,6 @@ module Google
|
|
|
4755
4695
|
end
|
|
4756
4696
|
end
|
|
4757
4697
|
|
|
4758
|
-
class ListCampaignAssignedTargetingOptionsResponse
|
|
4759
|
-
# @private
|
|
4760
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4761
|
-
collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV3::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation
|
|
4762
|
-
|
|
4763
|
-
property :next_page_token, as: 'nextPageToken'
|
|
4764
|
-
end
|
|
4765
|
-
end
|
|
4766
|
-
|
|
4767
4698
|
class ListCampaignsResponse
|
|
4768
4699
|
# @private
|
|
4769
4700
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4872,15 +4803,6 @@ module Google
|
|
|
4872
4803
|
end
|
|
4873
4804
|
end
|
|
4874
4805
|
|
|
4875
|
-
class ListInsertionOrderAssignedTargetingOptionsResponse
|
|
4876
|
-
# @private
|
|
4877
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4878
|
-
collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV3::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation
|
|
4879
|
-
|
|
4880
|
-
property :next_page_token, as: 'nextPageToken'
|
|
4881
|
-
end
|
|
4882
|
-
end
|
|
4883
|
-
|
|
4884
4806
|
class ListInsertionOrdersResponse
|
|
4885
4807
|
# @private
|
|
4886
4808
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -976,71 +976,6 @@ module Google
|
|
|
976
976
|
execute_or_queue_command(command, &block)
|
|
977
977
|
end
|
|
978
978
|
|
|
979
|
-
# Lists assigned targeting options of a campaign across targeting types.
|
|
980
|
-
# @param [Fixnum] advertiser_id
|
|
981
|
-
# Required. The ID of the advertiser the campaign belongs to.
|
|
982
|
-
# @param [Fixnum] campaign_id
|
|
983
|
-
# Required. The ID of the campaign to list assigned targeting options for.
|
|
984
|
-
# @param [String] filter
|
|
985
|
-
# Allows filtering by assigned targeting option fields. Supported syntax: *
|
|
986
|
-
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
|
987
|
-
# be combined by the `OR` logical operator. * A restriction has the form of ``
|
|
988
|
-
# field` `operator` `value``. * All fields must use the `EQUALS (=)` operator.
|
|
989
|
-
# Supported fields: * `targetingType` * `inheritance` Examples: * `
|
|
990
|
-
# AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_LANGUAGE`
|
|
991
|
-
# or `TARGETING_TYPE_GENDER`: `targetingType="TARGETING_TYPE_LANGUAGE" OR
|
|
992
|
-
# targetingType="TARGETING_TYPE_GENDER"` * `AssignedTargetingOption` resources
|
|
993
|
-
# with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `
|
|
994
|
-
# inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
|
|
995
|
-
# length of this field should be no more than 500 characters. Reference our [
|
|
996
|
-
# filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for
|
|
997
|
-
# more information.
|
|
998
|
-
# @param [String] order_by
|
|
999
|
-
# Field by which to sort the list. Acceptable values are: * `targetingType` (
|
|
1000
|
-
# default) The default sorting order is ascending. To specify descending order
|
|
1001
|
-
# for a field, a suffix "desc" should be added to the field name. Example: `
|
|
1002
|
-
# targetingType desc`.
|
|
1003
|
-
# @param [Fixnum] page_size
|
|
1004
|
-
# Requested page size. The size must be an integer between `1` and `5000`. If
|
|
1005
|
-
# unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if
|
|
1006
|
-
# an invalid value is specified.
|
|
1007
|
-
# @param [String] page_token
|
|
1008
|
-
# A token that lets the client fetch the next page of results. Typically, this
|
|
1009
|
-
# is the value of next_page_token returned from the previous call to `
|
|
1010
|
-
# BulkListCampaignAssignedTargetingOptions` method. If not specified, the first
|
|
1011
|
-
# page of results will be returned.
|
|
1012
|
-
# @param [String] fields
|
|
1013
|
-
# Selector specifying which fields to include in a partial response.
|
|
1014
|
-
# @param [String] quota_user
|
|
1015
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1016
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1017
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1018
|
-
# Request-specific options
|
|
1019
|
-
#
|
|
1020
|
-
# @yield [result, err] Result & error if block supplied
|
|
1021
|
-
# @yieldparam result [Google::Apis::DisplayvideoV3::BulkListCampaignAssignedTargetingOptionsResponse] parsed result object
|
|
1022
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1023
|
-
#
|
|
1024
|
-
# @return [Google::Apis::DisplayvideoV3::BulkListCampaignAssignedTargetingOptionsResponse]
|
|
1025
|
-
#
|
|
1026
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1027
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1028
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1029
|
-
def 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, &block)
|
|
1030
|
-
command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/campaigns/{+campaignId}:listAssignedTargetingOptions', options)
|
|
1031
|
-
command.response_representation = Google::Apis::DisplayvideoV3::BulkListCampaignAssignedTargetingOptionsResponse::Representation
|
|
1032
|
-
command.response_class = Google::Apis::DisplayvideoV3::BulkListCampaignAssignedTargetingOptionsResponse
|
|
1033
|
-
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
|
1034
|
-
command.params['campaignId'] = campaign_id unless campaign_id.nil?
|
|
1035
|
-
command.query['filter'] = filter unless filter.nil?
|
|
1036
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
|
1037
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1038
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1039
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1040
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1041
|
-
execute_or_queue_command(command, &block)
|
|
1042
|
-
end
|
|
1043
|
-
|
|
1044
979
|
# Updates an existing campaign. Returns the updated campaign if successful.
|
|
1045
980
|
# @param [Fixnum] advertiser_id
|
|
1046
981
|
# Output only. The unique ID of the advertiser the campaign belongs to.
|
|
@@ -1080,138 +1015,6 @@ module Google
|
|
|
1080
1015
|
execute_or_queue_command(command, &block)
|
|
1081
1016
|
end
|
|
1082
1017
|
|
|
1083
|
-
# Gets a single targeting option assigned to a campaign.
|
|
1084
|
-
# @param [Fixnum] advertiser_id
|
|
1085
|
-
# Required. The ID of the advertiser the campaign belongs to.
|
|
1086
|
-
# @param [Fixnum] campaign_id
|
|
1087
|
-
# Required. The ID of the campaign the assigned targeting option belongs to.
|
|
1088
|
-
# @param [String] targeting_type
|
|
1089
|
-
# Required. Identifies the type of this assigned targeting option. Supported
|
|
1090
|
-
# targeting types: * `TARGETING_TYPE_AGE_RANGE` * `
|
|
1091
|
-
# TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `
|
|
1092
|
-
# TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
|
|
1093
|
-
# TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
|
|
1094
|
-
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
|
1095
|
-
# * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
|
|
1096
|
-
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
|
|
1097
|
-
# TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
|
|
1098
|
-
# TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `
|
|
1099
|
-
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`
|
|
1100
|
-
# * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `
|
|
1101
|
-
# TARGETING_TYPE_VIEWABILITY`
|
|
1102
|
-
# @param [String] assigned_targeting_option_id
|
|
1103
|
-
# Required. An identifier unique to the targeting type in this campaign that
|
|
1104
|
-
# identifies the assigned targeting option being requested.
|
|
1105
|
-
# @param [String] fields
|
|
1106
|
-
# Selector specifying which fields to include in a partial response.
|
|
1107
|
-
# @param [String] quota_user
|
|
1108
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1109
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1110
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1111
|
-
# Request-specific options
|
|
1112
|
-
#
|
|
1113
|
-
# @yield [result, err] Result & error if block supplied
|
|
1114
|
-
# @yieldparam result [Google::Apis::DisplayvideoV3::AssignedTargetingOption] parsed result object
|
|
1115
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1116
|
-
#
|
|
1117
|
-
# @return [Google::Apis::DisplayvideoV3::AssignedTargetingOption]
|
|
1118
|
-
#
|
|
1119
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1120
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1121
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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)
|
|
1123
|
-
command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
|
|
1124
|
-
command.response_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation
|
|
1125
|
-
command.response_class = Google::Apis::DisplayvideoV3::AssignedTargetingOption
|
|
1126
|
-
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
|
1127
|
-
command.params['campaignId'] = campaign_id unless campaign_id.nil?
|
|
1128
|
-
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
|
1129
|
-
command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
|
|
1130
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1131
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1132
|
-
execute_or_queue_command(command, &block)
|
|
1133
|
-
end
|
|
1134
|
-
|
|
1135
|
-
# Lists the targeting options assigned to a campaign for a specified targeting
|
|
1136
|
-
# type.
|
|
1137
|
-
# @param [Fixnum] advertiser_id
|
|
1138
|
-
# Required. The ID of the advertiser the campaign belongs to.
|
|
1139
|
-
# @param [Fixnum] campaign_id
|
|
1140
|
-
# Required. The ID of the campaign to list assigned targeting options for.
|
|
1141
|
-
# @param [String] targeting_type
|
|
1142
|
-
# Required. Identifies the type of assigned targeting options to list. Supported
|
|
1143
|
-
# targeting types: * `TARGETING_TYPE_AGE_RANGE` * `
|
|
1144
|
-
# TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `
|
|
1145
|
-
# TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
|
|
1146
|
-
# TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
|
|
1147
|
-
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
|
1148
|
-
# * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
|
|
1149
|
-
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
|
|
1150
|
-
# TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
|
|
1151
|
-
# TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `
|
|
1152
|
-
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION`
|
|
1153
|
-
# * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `
|
|
1154
|
-
# TARGETING_TYPE_VIEWABILITY`
|
|
1155
|
-
# @param [String] filter
|
|
1156
|
-
# Allows filtering by assigned targeting option fields. Supported syntax: *
|
|
1157
|
-
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
|
1158
|
-
# be combined by the `OR` logical operator. * A restriction has the form of ``
|
|
1159
|
-
# field` `operator` `value``. * All fields must use the `EQUALS (=)` operator.
|
|
1160
|
-
# Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `
|
|
1161
|
-
# AssignedTargetingOption` resources with ID 1 or 2 `assignedTargetingOptionId="
|
|
1162
|
-
# 1" OR assignedTargetingOptionId="2"` * `AssignedTargetingOption` resources
|
|
1163
|
-
# with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER` `
|
|
1164
|
-
# inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
|
|
1165
|
-
# length of this field should be no more than 500 characters. Reference our [
|
|
1166
|
-
# filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for
|
|
1167
|
-
# more information.
|
|
1168
|
-
# @param [String] order_by
|
|
1169
|
-
# Field by which to sort the list. Acceptable values are: * `
|
|
1170
|
-
# assignedTargetingOptionId` (default) The default sorting order is ascending.
|
|
1171
|
-
# To specify descending order for a field, a suffix "desc" should be added to
|
|
1172
|
-
# the field name. Example: `assignedTargetingOptionId desc`.
|
|
1173
|
-
# @param [Fixnum] page_size
|
|
1174
|
-
# Requested page size. Must be between `1` and `5000`. If unspecified will
|
|
1175
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
1176
|
-
# specified.
|
|
1177
|
-
# @param [String] page_token
|
|
1178
|
-
# A token identifying a page of results the server should return. Typically,
|
|
1179
|
-
# this is the value of next_page_token returned from the previous call to `
|
|
1180
|
-
# ListCampaignAssignedTargetingOptions` method. If not specified, the first page
|
|
1181
|
-
# of results will be returned.
|
|
1182
|
-
# @param [String] fields
|
|
1183
|
-
# Selector specifying which fields to include in a partial response.
|
|
1184
|
-
# @param [String] quota_user
|
|
1185
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1186
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1187
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1188
|
-
# Request-specific options
|
|
1189
|
-
#
|
|
1190
|
-
# @yield [result, err] Result & error if block supplied
|
|
1191
|
-
# @yieldparam result [Google::Apis::DisplayvideoV3::ListCampaignAssignedTargetingOptionsResponse] parsed result object
|
|
1192
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1193
|
-
#
|
|
1194
|
-
# @return [Google::Apis::DisplayvideoV3::ListCampaignAssignedTargetingOptionsResponse]
|
|
1195
|
-
#
|
|
1196
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1197
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1198
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1199
|
-
def 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, &block)
|
|
1200
|
-
command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
|
|
1201
|
-
command.response_representation = Google::Apis::DisplayvideoV3::ListCampaignAssignedTargetingOptionsResponse::Representation
|
|
1202
|
-
command.response_class = Google::Apis::DisplayvideoV3::ListCampaignAssignedTargetingOptionsResponse
|
|
1203
|
-
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
|
1204
|
-
command.params['campaignId'] = campaign_id unless campaign_id.nil?
|
|
1205
|
-
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
|
1206
|
-
command.query['filter'] = filter unless filter.nil?
|
|
1207
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
|
1208
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1209
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1210
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1211
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1212
|
-
execute_or_queue_command(command, &block)
|
|
1213
|
-
end
|
|
1214
|
-
|
|
1215
1018
|
# Creates a new channel. Returns the newly created channel if successful.
|
|
1216
1019
|
# @param [Fixnum] advertiser_id
|
|
1217
1020
|
# The ID of the advertiser that owns the created channel.
|
|
@@ -2007,72 +1810,6 @@ module Google
|
|
|
2007
1810
|
execute_or_queue_command(command, &block)
|
|
2008
1811
|
end
|
|
2009
1812
|
|
|
2010
|
-
# Lists assigned targeting options of an insertion order across targeting types.
|
|
2011
|
-
# @param [Fixnum] advertiser_id
|
|
2012
|
-
# Required. The ID of the advertiser the insertion order belongs to.
|
|
2013
|
-
# @param [Fixnum] insertion_order_id
|
|
2014
|
-
# Required. The ID of the insertion order to list assigned targeting options for.
|
|
2015
|
-
# @param [String] filter
|
|
2016
|
-
# Allows filtering by assigned targeting option fields. Supported syntax: *
|
|
2017
|
-
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
|
2018
|
-
# be combined by the logical operator `OR`. * A restriction has the form of ``
|
|
2019
|
-
# field` `operator` `value``. * All fields must use the `EQUALS (=)` operator.
|
|
2020
|
-
# Supported fields: * `targetingType` * `inheritance` Examples: * `
|
|
2021
|
-
# AssignedTargetingOption` resources of targeting type `
|
|
2022
|
-
# TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or `TARGETING_TYPE_CHANNEL`: `
|
|
2023
|
-
# targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR targetingType="
|
|
2024
|
-
# TARGETING_TYPE_CHANNEL"` * `AssignedTargetingOption` resources with
|
|
2025
|
-
# inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `
|
|
2026
|
-
# inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
|
|
2027
|
-
# length of this field should be no more than 500 characters. Reference our [
|
|
2028
|
-
# filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for
|
|
2029
|
-
# more information.
|
|
2030
|
-
# @param [String] order_by
|
|
2031
|
-
# Field by which to sort the list. Acceptable values are: * `targetingType` (
|
|
2032
|
-
# default) The default sorting order is ascending. To specify descending order
|
|
2033
|
-
# for a field, a suffix "desc" should be added to the field name. Example: `
|
|
2034
|
-
# targetingType desc`.
|
|
2035
|
-
# @param [Fixnum] page_size
|
|
2036
|
-
# Requested page size. The size must be an integer between `1` and `5000`. If
|
|
2037
|
-
# unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if
|
|
2038
|
-
# an invalid value is specified.
|
|
2039
|
-
# @param [String] page_token
|
|
2040
|
-
# A token that lets the client fetch the next page of results. Typically, this
|
|
2041
|
-
# is the value of next_page_token returned from the previous call to `
|
|
2042
|
-
# BulkListInsertionOrderAssignedTargetingOptions` method. If not specified, the
|
|
2043
|
-
# first page of results will be returned.
|
|
2044
|
-
# @param [String] fields
|
|
2045
|
-
# Selector specifying which fields to include in a partial response.
|
|
2046
|
-
# @param [String] quota_user
|
|
2047
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2048
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2049
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2050
|
-
# Request-specific options
|
|
2051
|
-
#
|
|
2052
|
-
# @yield [result, err] Result & error if block supplied
|
|
2053
|
-
# @yieldparam result [Google::Apis::DisplayvideoV3::BulkListInsertionOrderAssignedTargetingOptionsResponse] parsed result object
|
|
2054
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2055
|
-
#
|
|
2056
|
-
# @return [Google::Apis::DisplayvideoV3::BulkListInsertionOrderAssignedTargetingOptionsResponse]
|
|
2057
|
-
#
|
|
2058
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2059
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2060
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2061
|
-
def 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, &block)
|
|
2062
|
-
command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}:listAssignedTargetingOptions', options)
|
|
2063
|
-
command.response_representation = Google::Apis::DisplayvideoV3::BulkListInsertionOrderAssignedTargetingOptionsResponse::Representation
|
|
2064
|
-
command.response_class = Google::Apis::DisplayvideoV3::BulkListInsertionOrderAssignedTargetingOptionsResponse
|
|
2065
|
-
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
|
2066
|
-
command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
|
|
2067
|
-
command.query['filter'] = filter unless filter.nil?
|
|
2068
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
|
2069
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2070
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2071
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2072
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2073
|
-
execute_or_queue_command(command, &block)
|
|
2074
|
-
end
|
|
2075
|
-
|
|
2076
1813
|
# Updates an existing insertion order. Returns the updated insertion order if
|
|
2077
1814
|
# successful.
|
|
2078
1815
|
# @param [Fixnum] advertiser_id
|
|
@@ -2113,277 +1850,6 @@ module Google
|
|
|
2113
1850
|
execute_or_queue_command(command, &block)
|
|
2114
1851
|
end
|
|
2115
1852
|
|
|
2116
|
-
# Assigns a targeting option to an insertion order. Returns the assigned
|
|
2117
|
-
# targeting option if successful. Supported targeting types: * `
|
|
2118
|
-
# TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `
|
|
2119
|
-
# TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `
|
|
2120
|
-
# TARGETING_TYPE_DEVICE_MAKE_MODEL` * `
|
|
2121
|
-
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
|
2122
|
-
# * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `
|
|
2123
|
-
# TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `
|
|
2124
|
-
# TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `
|
|
2125
|
-
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`
|
|
2126
|
-
# @param [Fixnum] advertiser_id
|
|
2127
|
-
# Required. The ID of the advertiser the insertion order belongs to.
|
|
2128
|
-
# @param [Fixnum] insertion_order_id
|
|
2129
|
-
# Required. The ID of the insertion order the assigned targeting option will
|
|
2130
|
-
# belong to.
|
|
2131
|
-
# @param [String] targeting_type
|
|
2132
|
-
# Required. Identifies the type of this assigned targeting option. Supported
|
|
2133
|
-
# targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `
|
|
2134
|
-
# TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `
|
|
2135
|
-
# TARGETING_TYPE_DEVICE_MAKE_MODEL` * `
|
|
2136
|
-
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
|
2137
|
-
# * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `
|
|
2138
|
-
# TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `
|
|
2139
|
-
# TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `
|
|
2140
|
-
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`
|
|
2141
|
-
# @param [Google::Apis::DisplayvideoV3::AssignedTargetingOption] assigned_targeting_option_object
|
|
2142
|
-
# @param [String] fields
|
|
2143
|
-
# Selector specifying which fields to include in a partial response.
|
|
2144
|
-
# @param [String] quota_user
|
|
2145
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2146
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2147
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2148
|
-
# Request-specific options
|
|
2149
|
-
#
|
|
2150
|
-
# @yield [result, err] Result & error if block supplied
|
|
2151
|
-
# @yieldparam result [Google::Apis::DisplayvideoV3::AssignedTargetingOption] parsed result object
|
|
2152
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2153
|
-
#
|
|
2154
|
-
# @return [Google::Apis::DisplayvideoV3::AssignedTargetingOption]
|
|
2155
|
-
#
|
|
2156
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2157
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2158
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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)
|
|
2160
|
-
command = make_simple_command(:post, 'v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
|
|
2161
|
-
command.request_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation
|
|
2162
|
-
command.request_object = assigned_targeting_option_object
|
|
2163
|
-
command.response_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation
|
|
2164
|
-
command.response_class = Google::Apis::DisplayvideoV3::AssignedTargetingOption
|
|
2165
|
-
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
|
2166
|
-
command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
|
|
2167
|
-
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
|
2168
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2169
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2170
|
-
execute_or_queue_command(command, &block)
|
|
2171
|
-
end
|
|
2172
|
-
|
|
2173
|
-
# Deletes an assigned targeting option from an insertion order. Supported
|
|
2174
|
-
# targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `
|
|
2175
|
-
# TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `
|
|
2176
|
-
# TARGETING_TYPE_DEVICE_MAKE_MODEL` * `
|
|
2177
|
-
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
|
2178
|
-
# * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `
|
|
2179
|
-
# TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `
|
|
2180
|
-
# TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `
|
|
2181
|
-
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`
|
|
2182
|
-
# @param [Fixnum] advertiser_id
|
|
2183
|
-
# Required. The ID of the advertiser the insertion order belongs to.
|
|
2184
|
-
# @param [Fixnum] insertion_order_id
|
|
2185
|
-
# Required. The ID of the insertion order the assigned targeting option belongs
|
|
2186
|
-
# to.
|
|
2187
|
-
# @param [String] targeting_type
|
|
2188
|
-
# Required. Identifies the type of this assigned targeting option. Supported
|
|
2189
|
-
# targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `
|
|
2190
|
-
# TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `
|
|
2191
|
-
# TARGETING_TYPE_DEVICE_MAKE_MODEL` * `
|
|
2192
|
-
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
|
2193
|
-
# * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `
|
|
2194
|
-
# TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `
|
|
2195
|
-
# TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `
|
|
2196
|
-
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`
|
|
2197
|
-
# @param [String] assigned_targeting_option_id
|
|
2198
|
-
# Required. The ID of the assigned targeting option to delete.
|
|
2199
|
-
# @param [String] fields
|
|
2200
|
-
# Selector specifying which fields to include in a partial response.
|
|
2201
|
-
# @param [String] quota_user
|
|
2202
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2203
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2204
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2205
|
-
# Request-specific options
|
|
2206
|
-
#
|
|
2207
|
-
# @yield [result, err] Result & error if block supplied
|
|
2208
|
-
# @yieldparam result [Google::Apis::DisplayvideoV3::Empty] parsed result object
|
|
2209
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2210
|
-
#
|
|
2211
|
-
# @return [Google::Apis::DisplayvideoV3::Empty]
|
|
2212
|
-
#
|
|
2213
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2214
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2215
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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)
|
|
2217
|
-
command = make_simple_command(:delete, 'v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
|
|
2218
|
-
command.response_representation = Google::Apis::DisplayvideoV3::Empty::Representation
|
|
2219
|
-
command.response_class = Google::Apis::DisplayvideoV3::Empty
|
|
2220
|
-
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
|
2221
|
-
command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
|
|
2222
|
-
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
|
2223
|
-
command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
|
|
2224
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2225
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2226
|
-
execute_or_queue_command(command, &block)
|
|
2227
|
-
end
|
|
2228
|
-
|
|
2229
|
-
# Gets a single targeting option assigned to an insertion order.
|
|
2230
|
-
# @param [Fixnum] advertiser_id
|
|
2231
|
-
# Required. The ID of the advertiser the insertion order belongs to.
|
|
2232
|
-
# @param [Fixnum] insertion_order_id
|
|
2233
|
-
# Required. The ID of the insertion order the assigned targeting option belongs
|
|
2234
|
-
# to.
|
|
2235
|
-
# @param [String] targeting_type
|
|
2236
|
-
# Required. Identifies the type of this assigned targeting option. Supported
|
|
2237
|
-
# targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
|
|
2238
|
-
# `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
|
|
2239
|
-
# TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`
|
|
2240
|
-
# * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `
|
|
2241
|
-
# TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `
|
|
2242
|
-
# TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `
|
|
2243
|
-
# TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
|
|
2244
|
-
# TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
|
|
2245
|
-
# TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `
|
|
2246
|
-
# TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `
|
|
2247
|
-
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
|
2248
|
-
# * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
|
|
2249
|
-
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
|
|
2250
|
-
# TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
|
|
2251
|
-
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
|
|
2252
|
-
# TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `
|
|
2253
|
-
# TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `
|
|
2254
|
-
# TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `
|
|
2255
|
-
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `
|
|
2256
|
-
# TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `
|
|
2257
|
-
# TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
|
|
2258
|
-
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
|
|
2259
|
-
# `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
|
|
2260
|
-
# TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
|
|
2261
|
-
# TARGETING_TYPE_VIEWABILITY`
|
|
2262
|
-
# @param [String] assigned_targeting_option_id
|
|
2263
|
-
# Required. An identifier unique to the targeting type in this insertion order
|
|
2264
|
-
# that identifies the assigned targeting option being requested.
|
|
2265
|
-
# @param [String] fields
|
|
2266
|
-
# Selector specifying which fields to include in a partial response.
|
|
2267
|
-
# @param [String] quota_user
|
|
2268
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2269
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2270
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2271
|
-
# Request-specific options
|
|
2272
|
-
#
|
|
2273
|
-
# @yield [result, err] Result & error if block supplied
|
|
2274
|
-
# @yieldparam result [Google::Apis::DisplayvideoV3::AssignedTargetingOption] parsed result object
|
|
2275
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2276
|
-
#
|
|
2277
|
-
# @return [Google::Apis::DisplayvideoV3::AssignedTargetingOption]
|
|
2278
|
-
#
|
|
2279
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2280
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2281
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
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)
|
|
2283
|
-
command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
|
|
2284
|
-
command.response_representation = Google::Apis::DisplayvideoV3::AssignedTargetingOption::Representation
|
|
2285
|
-
command.response_class = Google::Apis::DisplayvideoV3::AssignedTargetingOption
|
|
2286
|
-
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
|
2287
|
-
command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
|
|
2288
|
-
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
|
2289
|
-
command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
|
|
2290
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2291
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2292
|
-
execute_or_queue_command(command, &block)
|
|
2293
|
-
end
|
|
2294
|
-
|
|
2295
|
-
# Lists the targeting options assigned to an insertion order.
|
|
2296
|
-
# @param [Fixnum] advertiser_id
|
|
2297
|
-
# Required. The ID of the advertiser the insertion order belongs to.
|
|
2298
|
-
# @param [Fixnum] insertion_order_id
|
|
2299
|
-
# Required. The ID of the insertion order to list assigned targeting options for.
|
|
2300
|
-
# @param [String] targeting_type
|
|
2301
|
-
# Required. Identifies the type of assigned targeting options to list. Supported
|
|
2302
|
-
# targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` *
|
|
2303
|
-
# `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `
|
|
2304
|
-
# TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS`
|
|
2305
|
-
# * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `
|
|
2306
|
-
# TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `
|
|
2307
|
-
# TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `
|
|
2308
|
-
# TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `
|
|
2309
|
-
# TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `
|
|
2310
|
-
# TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `
|
|
2311
|
-
# TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `
|
|
2312
|
-
# TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT`
|
|
2313
|
-
# * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `
|
|
2314
|
-
# TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `
|
|
2315
|
-
# TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `
|
|
2316
|
-
# TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `
|
|
2317
|
-
# TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `
|
|
2318
|
-
# TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `
|
|
2319
|
-
# TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `
|
|
2320
|
-
# TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `
|
|
2321
|
-
# TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `
|
|
2322
|
-
# TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `
|
|
2323
|
-
# TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` *
|
|
2324
|
-
# `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `
|
|
2325
|
-
# TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `
|
|
2326
|
-
# TARGETING_TYPE_VIEWABILITY`
|
|
2327
|
-
# @param [String] filter
|
|
2328
|
-
# Allows filtering by assigned targeting option fields. Supported syntax: *
|
|
2329
|
-
# Filter expressions are made up of one or more restrictions. * Restrictions can
|
|
2330
|
-
# be combined by the logical operator `OR`. * A restriction has the form of ``
|
|
2331
|
-
# field` `operator` `value``. * All fields must use the `EQUALS (=)` operator.
|
|
2332
|
-
# Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `
|
|
2333
|
-
# AssignedTargetingOption` resources with ID 1 or 2: `assignedTargetingOptionId="
|
|
2334
|
-
# 1" OR assignedTargetingOptionId="2"` * `AssignedTargetingOption` resources
|
|
2335
|
-
# with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `
|
|
2336
|
-
# inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
|
|
2337
|
-
# length of this field should be no more than 500 characters. Reference our [
|
|
2338
|
-
# filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for
|
|
2339
|
-
# more information.
|
|
2340
|
-
# @param [String] order_by
|
|
2341
|
-
# Field by which to sort the list. Acceptable values are: * `
|
|
2342
|
-
# assignedTargetingOptionId` (default) The default sorting order is ascending.
|
|
2343
|
-
# To specify descending order for a field, a suffix "desc" should be added to
|
|
2344
|
-
# the field name. Example: `assignedTargetingOptionId desc`.
|
|
2345
|
-
# @param [Fixnum] page_size
|
|
2346
|
-
# Requested page size. Must be between `1` and `5000`. If unspecified will
|
|
2347
|
-
# default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
|
|
2348
|
-
# specified.
|
|
2349
|
-
# @param [String] page_token
|
|
2350
|
-
# A token identifying a page of results the server should return. Typically,
|
|
2351
|
-
# this is the value of next_page_token returned from the previous call to `
|
|
2352
|
-
# ListInsertionOrderAssignedTargetingOptions` method. If not specified, the
|
|
2353
|
-
# first page of results will be returned.
|
|
2354
|
-
# @param [String] fields
|
|
2355
|
-
# Selector specifying which fields to include in a partial response.
|
|
2356
|
-
# @param [String] quota_user
|
|
2357
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2358
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2359
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2360
|
-
# Request-specific options
|
|
2361
|
-
#
|
|
2362
|
-
# @yield [result, err] Result & error if block supplied
|
|
2363
|
-
# @yieldparam result [Google::Apis::DisplayvideoV3::ListInsertionOrderAssignedTargetingOptionsResponse] parsed result object
|
|
2364
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2365
|
-
#
|
|
2366
|
-
# @return [Google::Apis::DisplayvideoV3::ListInsertionOrderAssignedTargetingOptionsResponse]
|
|
2367
|
-
#
|
|
2368
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2369
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2370
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2371
|
-
def 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, &block)
|
|
2372
|
-
command = make_simple_command(:get, 'v3/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
|
|
2373
|
-
command.response_representation = Google::Apis::DisplayvideoV3::ListInsertionOrderAssignedTargetingOptionsResponse::Representation
|
|
2374
|
-
command.response_class = Google::Apis::DisplayvideoV3::ListInsertionOrderAssignedTargetingOptionsResponse
|
|
2375
|
-
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
|
2376
|
-
command.params['insertionOrderId'] = insertion_order_id unless insertion_order_id.nil?
|
|
2377
|
-
command.params['targetingType'] = targeting_type unless targeting_type.nil?
|
|
2378
|
-
command.query['filter'] = filter unless filter.nil?
|
|
2379
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
|
2380
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2381
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2382
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2383
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2384
|
-
execute_or_queue_command(command, &block)
|
|
2385
|
-
end
|
|
2386
|
-
|
|
2387
1853
|
# Lists invoices posted for an advertiser in a given month. Invoices generated
|
|
2388
1854
|
# by billing profiles with a "Partner" invoice level are not retrievable through
|
|
2389
1855
|
# this method.
|
|
@@ -2724,44 +2190,6 @@ module Google
|
|
|
2724
2190
|
execute_or_queue_command(command, &block)
|
|
2725
2191
|
end
|
|
2726
2192
|
|
|
2727
|
-
# Creates a new line item with settings (including targeting) inherited from the
|
|
2728
|
-
# insertion order and an `ENTITY_STATUS_DRAFT` entity_status. Returns the newly
|
|
2729
|
-
# created line item if successful. There are default values based on the three
|
|
2730
|
-
# fields: * The insertion order's insertion_order_type * The insertion order's
|
|
2731
|
-
# automation_type * The given line_item_type YouTube & Partners line items
|
|
2732
|
-
# cannot be created or updated using the API.
|
|
2733
|
-
# @param [Fixnum] advertiser_id
|
|
2734
|
-
# Required. The ID of the advertiser this line item belongs to.
|
|
2735
|
-
# @param [Google::Apis::DisplayvideoV3::GenerateDefaultLineItemRequest] generate_default_line_item_request_object
|
|
2736
|
-
# @param [String] fields
|
|
2737
|
-
# Selector specifying which fields to include in a partial response.
|
|
2738
|
-
# @param [String] quota_user
|
|
2739
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
2740
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2741
|
-
# @param [Google::Apis::RequestOptions] options
|
|
2742
|
-
# Request-specific options
|
|
2743
|
-
#
|
|
2744
|
-
# @yield [result, err] Result & error if block supplied
|
|
2745
|
-
# @yieldparam result [Google::Apis::DisplayvideoV3::LineItem] parsed result object
|
|
2746
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
2747
|
-
#
|
|
2748
|
-
# @return [Google::Apis::DisplayvideoV3::LineItem]
|
|
2749
|
-
#
|
|
2750
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2751
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2752
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2753
|
-
def generate_default_line_item(advertiser_id, generate_default_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2754
|
-
command = make_simple_command(:post, 'v3/advertisers/{+advertiserId}/lineItems:generateDefault', options)
|
|
2755
|
-
command.request_representation = Google::Apis::DisplayvideoV3::GenerateDefaultLineItemRequest::Representation
|
|
2756
|
-
command.request_object = generate_default_line_item_request_object
|
|
2757
|
-
command.response_representation = Google::Apis::DisplayvideoV3::LineItem::Representation
|
|
2758
|
-
command.response_class = Google::Apis::DisplayvideoV3::LineItem
|
|
2759
|
-
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
|
2760
|
-
command.query['fields'] = fields unless fields.nil?
|
|
2761
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2762
|
-
execute_or_queue_command(command, &block)
|
|
2763
|
-
end
|
|
2764
|
-
|
|
2765
2193
|
# Gets a line item.
|
|
2766
2194
|
# @param [Fixnum] advertiser_id
|
|
2767
2195
|
# Required. The ID of the advertiser this line item belongs to.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-displayvideo_v3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.38.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v3/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v3/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v3/v0.38.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v3
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|