google-apis-displayvideo_v4 0.13.0 → 0.14.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/displayvideo_v4/classes.rb +106 -100
- data/lib/google/apis/displayvideo_v4/gem_version.rb +2 -2
- data/lib/google/apis/displayvideo_v4/service.rb +86 -67
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 257aef47af588b80311c52d38650a0c7b83219281753246dec3a64edf92a1679
|
|
4
|
+
data.tar.gz: 4791e1a3b6a9721c1c25f1aaf575d2be2b80600bcab37d0fc17270ac4dfff94a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28eb0fccca430436c95db29a95ffcfc950feb896647122b42b3eecc8688f7a35fdaa58872f0905c461a142ceac810c3b1cdc5274e497738fd852a6fc1926a728
|
|
7
|
+
data.tar.gz: 9bb94ba9ae7eebf3ea3691e56c0cbdcec458838790c5a1ad55edf0810dee9c1afbd1e5c53b29a4a0dcefdffa9758d2abbe6534f19cb0963a0f0e8497384f0b56
|
data/CHANGELOG.md
CHANGED
|
@@ -73,11 +73,12 @@ module Google
|
|
|
73
73
|
end
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
-
# A single ad asset.
|
|
76
|
+
# A single ad asset.
|
|
77
77
|
class AdAsset
|
|
78
78
|
include Google::Apis::Core::Hashable
|
|
79
79
|
|
|
80
|
-
# Output only.
|
|
80
|
+
# Output only. The ID of the ad asset. Referred to as the asset ID when assigned
|
|
81
|
+
# to an ad.
|
|
81
82
|
# Corresponds to the JSON property `adAssetId`
|
|
82
83
|
# @return [Fixnum]
|
|
83
84
|
attr_accessor :ad_asset_id
|
|
@@ -97,7 +98,7 @@ module Google
|
|
|
97
98
|
# @return [String]
|
|
98
99
|
attr_accessor :name
|
|
99
100
|
|
|
100
|
-
#
|
|
101
|
+
# Data for a YouTube video ad asset.
|
|
101
102
|
# Corresponds to the JSON property `youtubeVideoAsset`
|
|
102
103
|
# @return [Google::Apis::DisplayvideoV4::YoutubeVideoAsset]
|
|
103
104
|
attr_accessor :youtube_video_asset
|
|
@@ -202,7 +203,10 @@ module Google
|
|
|
202
203
|
# @return [Fixnum]
|
|
203
204
|
attr_accessor :ad_group_ad_id
|
|
204
205
|
|
|
205
|
-
# The unique ID of the ad group that the ad belongs to.
|
|
206
|
+
# The unique ID of the ad group that the ad belongs to. *Caution*: Parent ad
|
|
207
|
+
# groups for Demand Gen ads are not currently retrieveable using `advertisers.
|
|
208
|
+
# adGroups.list` or `advertisers.adGroups.get`. Demand Gen ads can be identified
|
|
209
|
+
# by the absence of the `ad_details` union field.
|
|
206
210
|
# Corresponds to the JSON property `adGroupId`
|
|
207
211
|
# @return [Fixnum]
|
|
208
212
|
attr_accessor :ad_group_id
|
|
@@ -334,20 +338,20 @@ module Google
|
|
|
334
338
|
class AdPolicy
|
|
335
339
|
include Google::Apis::Core::Hashable
|
|
336
340
|
|
|
337
|
-
# The policy approval status of an ad
|
|
338
|
-
# decision.
|
|
341
|
+
# The policy approval status of an ad, indicating the approval decision.
|
|
339
342
|
# Corresponds to the JSON property `adPolicyApprovalStatus`
|
|
340
343
|
# @return [String]
|
|
341
344
|
attr_accessor :ad_policy_approval_status
|
|
342
345
|
|
|
343
|
-
# The policy review status of an ad
|
|
344
|
-
# is currently
|
|
346
|
+
# The policy review status of an ad, indicating where in the review process the
|
|
347
|
+
# ad is currently.
|
|
345
348
|
# Corresponds to the JSON property `adPolicyReviewStatus`
|
|
346
349
|
# @return [String]
|
|
347
350
|
attr_accessor :ad_policy_review_status
|
|
348
351
|
|
|
349
|
-
# The policy topic
|
|
350
|
-
# and guidance on how to fix policy
|
|
352
|
+
# The entries for each policy topic identified as relating to the ad. Each entry
|
|
353
|
+
# includes the topic, restriction level, and guidance on how to fix policy
|
|
354
|
+
# issues.
|
|
351
355
|
# Corresponds to the JSON property `adPolicyTopicEntry`
|
|
352
356
|
# @return [Array<Google::Apis::DisplayvideoV4::AdPolicyTopicEntry>]
|
|
353
357
|
attr_accessor :ad_policy_topic_entry
|
|
@@ -364,17 +368,16 @@ module Google
|
|
|
364
368
|
end
|
|
365
369
|
end
|
|
366
370
|
|
|
367
|
-
# Represents a
|
|
368
|
-
# country restriction. Used by both policy evidence and policy constraints.
|
|
371
|
+
# Represents a country restriction.
|
|
369
372
|
class AdPolicyCriterionRestriction
|
|
370
373
|
include Google::Apis::Core::Hashable
|
|
371
374
|
|
|
372
|
-
#
|
|
375
|
+
# The country criterion id.
|
|
373
376
|
# Corresponds to the JSON property `countryCriterionId`
|
|
374
377
|
# @return [Fixnum]
|
|
375
378
|
attr_accessor :country_criterion_id
|
|
376
379
|
|
|
377
|
-
# Localized name for the country.
|
|
380
|
+
# Localized name for the country. May be empty.
|
|
378
381
|
# Corresponds to the JSON property `countryLabel`
|
|
379
382
|
# @return [String]
|
|
380
383
|
attr_accessor :country_label
|
|
@@ -390,16 +393,17 @@ module Google
|
|
|
390
393
|
end
|
|
391
394
|
end
|
|
392
395
|
|
|
393
|
-
#
|
|
396
|
+
# Information on how to appeal a policy decision.
|
|
394
397
|
class AdPolicyTopicAppealInfo
|
|
395
398
|
include Google::Apis::Core::Hashable
|
|
396
399
|
|
|
397
|
-
# Only available when appeal_type is APPEAL_FORM
|
|
400
|
+
# Only available when appeal_type is `APPEAL_FORM`.
|
|
398
401
|
# Corresponds to the JSON property `appealFormLink`
|
|
399
402
|
# @return [String]
|
|
400
403
|
attr_accessor :appeal_form_link
|
|
401
404
|
|
|
402
|
-
#
|
|
405
|
+
# Whether the decision can be appealed through a self-service appeal or an
|
|
406
|
+
# appeal form.
|
|
403
407
|
# Corresponds to the JSON property `appealType`
|
|
404
408
|
# @return [String]
|
|
405
409
|
attr_accessor :appeal_type
|
|
@@ -415,8 +419,7 @@ module Google
|
|
|
415
419
|
end
|
|
416
420
|
end
|
|
417
421
|
|
|
418
|
-
#
|
|
419
|
-
# policy.
|
|
422
|
+
# Details on ad serving constraints.
|
|
420
423
|
class AdPolicyTopicConstraint
|
|
421
424
|
include Google::Apis::Core::Hashable
|
|
422
425
|
|
|
@@ -446,7 +449,7 @@ module Google
|
|
|
446
449
|
# @return [Google::Apis::DisplayvideoV4::AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint]
|
|
447
450
|
attr_accessor :global_certificate_missing
|
|
448
451
|
|
|
449
|
-
# Link to the form to request a certificate for the
|
|
452
|
+
# Link to the form to request a certificate for the constraint.
|
|
450
453
|
# Corresponds to the JSON property `requestCertificateFormLink`
|
|
451
454
|
# @return [String]
|
|
452
455
|
attr_accessor :request_certificate_form_link
|
|
@@ -533,11 +536,11 @@ module Google
|
|
|
533
536
|
end
|
|
534
537
|
end
|
|
535
538
|
|
|
536
|
-
#
|
|
539
|
+
# An entry describing how an ad has been identified as relating to an ad policy.
|
|
537
540
|
class AdPolicyTopicEntry
|
|
538
541
|
include Google::Apis::Core::Hashable
|
|
539
542
|
|
|
540
|
-
#
|
|
543
|
+
# Information on how to appeal a policy decision.
|
|
541
544
|
# Corresponds to the JSON property `appealInfo`
|
|
542
545
|
# @return [Google::Apis::DisplayvideoV4::AdPolicyTopicAppealInfo]
|
|
543
546
|
attr_accessor :appeal_info
|
|
@@ -557,32 +560,33 @@ module Google
|
|
|
557
560
|
# @return [String]
|
|
558
561
|
attr_accessor :policy_enforcement_means
|
|
559
562
|
|
|
560
|
-
# Localized label text for policy.
|
|
563
|
+
# Localized label text for policy. Examples include "Trademarks in text", "
|
|
564
|
+
# Contains Alcohol", etc.
|
|
561
565
|
# Corresponds to the JSON property `policyLabel`
|
|
562
566
|
# @return [String]
|
|
563
567
|
attr_accessor :policy_label
|
|
564
568
|
|
|
565
|
-
# The policy topic
|
|
569
|
+
# The policy topic. Examples include "TRADEMARKS", "ALCOHOL", etc.
|
|
566
570
|
# Corresponds to the JSON property `policyTopic`
|
|
567
571
|
# @return [String]
|
|
568
572
|
attr_accessor :policy_topic
|
|
569
573
|
|
|
570
|
-
# The policy
|
|
574
|
+
# The serving constraints relevant to the policy decision.
|
|
571
575
|
# Corresponds to the JSON property `policyTopicConstraints`
|
|
572
576
|
# @return [Array<Google::Apis::DisplayvideoV4::AdPolicyTopicConstraint>]
|
|
573
577
|
attr_accessor :policy_topic_constraints
|
|
574
578
|
|
|
575
|
-
#
|
|
579
|
+
# A short summary description of the policy topic.
|
|
576
580
|
# Corresponds to the JSON property `policyTopicDescription`
|
|
577
581
|
# @return [String]
|
|
578
582
|
attr_accessor :policy_topic_description
|
|
579
583
|
|
|
580
|
-
# The policy
|
|
584
|
+
# The evidence used in the policy decision.
|
|
581
585
|
# Corresponds to the JSON property `policyTopicEvidences`
|
|
582
586
|
# @return [Array<Google::Apis::DisplayvideoV4::AdPolicyTopicEvidence>]
|
|
583
587
|
attr_accessor :policy_topic_evidences
|
|
584
588
|
|
|
585
|
-
#
|
|
589
|
+
# How ad serving will be affected due to the relation to the ad policy topic.
|
|
586
590
|
# Corresponds to the JSON property `policyTopicType`
|
|
587
591
|
# @return [String]
|
|
588
592
|
attr_accessor :policy_topic_type
|
|
@@ -606,21 +610,21 @@ module Google
|
|
|
606
610
|
end
|
|
607
611
|
end
|
|
608
612
|
|
|
609
|
-
#
|
|
613
|
+
# Evidence information used in the policy decision.
|
|
610
614
|
class AdPolicyTopicEvidence
|
|
611
615
|
include Google::Apis::Core::Hashable
|
|
612
616
|
|
|
613
|
-
#
|
|
617
|
+
# Details on the counterfeit enforcement that caused a policy violation.
|
|
614
618
|
# Corresponds to the JSON property `counterfeit`
|
|
615
619
|
# @return [Google::Apis::DisplayvideoV4::AdPolicyTopicEvidenceCounterfeit]
|
|
616
620
|
attr_accessor :counterfeit
|
|
617
621
|
|
|
618
|
-
#
|
|
622
|
+
# Details on a mismatch between destination URL types.
|
|
619
623
|
# Corresponds to the JSON property `destinationMismatch`
|
|
620
624
|
# @return [Google::Apis::DisplayvideoV4::AdPolicyTopicEvidenceDestinationMismatch]
|
|
621
625
|
attr_accessor :destination_mismatch
|
|
622
626
|
|
|
623
|
-
#
|
|
627
|
+
# Details for on HTTP or DNS errors related to the ad destination.
|
|
624
628
|
# Corresponds to the JSON property `destinationNotWorking`
|
|
625
629
|
# @return [Google::Apis::DisplayvideoV4::AdPolicyTopicEvidenceDestinationNotWorking]
|
|
626
630
|
attr_accessor :destination_not_working
|
|
@@ -635,20 +639,21 @@ module Google
|
|
|
635
639
|
# @return [Fixnum]
|
|
636
640
|
attr_accessor :http_code
|
|
637
641
|
|
|
638
|
-
# The language the ad was detected to be written in. This
|
|
639
|
-
#
|
|
642
|
+
# The language the ad was detected to be written in. This field uses IETF
|
|
643
|
+
# language tags, such as "en-US".
|
|
640
644
|
# Corresponds to the JSON property `languageCode`
|
|
641
645
|
# @return [String]
|
|
642
646
|
attr_accessor :language_code
|
|
643
647
|
|
|
644
|
-
# Legal related regulation enforcement, either from DMCA or local legal
|
|
648
|
+
# Legal related regulation enforcement, either from DMCA or local legal
|
|
649
|
+
# regulation.
|
|
645
650
|
# Corresponds to the JSON property `legalRemoval`
|
|
646
651
|
# @return [Google::Apis::DisplayvideoV4::AdPolicyTopicEvidenceLegalRemoval]
|
|
647
652
|
attr_accessor :legal_removal
|
|
648
653
|
|
|
649
|
-
# T&S proactive enforcement for policies meant to address
|
|
650
|
-
# This is considered
|
|
651
|
-
# since it's
|
|
654
|
+
# Trust & Safety (T&S) proactive enforcement for policies meant to address
|
|
655
|
+
# regional requirements. This is considered a Google-owned investigation instead
|
|
656
|
+
# of a regulation notice since it's proactive T&S enforcement.
|
|
652
657
|
# Corresponds to the JSON property `regionalRequirements`
|
|
653
658
|
# @return [Google::Apis::DisplayvideoV4::AdPolicyTopicEvidenceRegionalRequirements]
|
|
654
659
|
attr_accessor :regional_requirements
|
|
@@ -688,11 +693,11 @@ module Google
|
|
|
688
693
|
end
|
|
689
694
|
end
|
|
690
695
|
|
|
691
|
-
#
|
|
696
|
+
# Details on the counterfeit enforcement that caused a policy violation.
|
|
692
697
|
class AdPolicyTopicEvidenceCounterfeit
|
|
693
698
|
include Google::Apis::Core::Hashable
|
|
694
699
|
|
|
695
|
-
# The content or product owners that
|
|
700
|
+
# The content or product owners that made a complaint.
|
|
696
701
|
# Corresponds to the JSON property `owners`
|
|
697
702
|
# @return [Array<String>]
|
|
698
703
|
attr_accessor :owners
|
|
@@ -707,15 +712,14 @@ module Google
|
|
|
707
712
|
end
|
|
708
713
|
end
|
|
709
714
|
|
|
710
|
-
#
|
|
715
|
+
# Details on a mismatch between destination URL types.
|
|
711
716
|
class AdPolicyTopicEvidenceDestinationMismatch
|
|
712
717
|
include Google::Apis::Core::Hashable
|
|
713
718
|
|
|
714
|
-
# The set of URLs that do not match
|
|
715
|
-
#
|
|
716
|
-
#
|
|
717
|
-
#
|
|
718
|
-
# destinationmismatch.
|
|
719
|
+
# The set of URLs that do not match. The list can include single or multiple uri
|
|
720
|
+
# types. Example 1: [`DISPLAY_URL`, `FINAL_URL`] means ad display URL does not
|
|
721
|
+
# match with the ad final URL. Example 2: [`FINAL_URL`] means ad final URL did
|
|
722
|
+
# not match the crawled url, which is also considered as destination mismatch.
|
|
719
723
|
# Corresponds to the JSON property `uriTypes`
|
|
720
724
|
# @return [Array<String>]
|
|
721
725
|
attr_accessor :uri_types
|
|
@@ -730,11 +734,11 @@ module Google
|
|
|
730
734
|
end
|
|
731
735
|
end
|
|
732
736
|
|
|
733
|
-
#
|
|
737
|
+
# Details for on HTTP or DNS errors related to the ad destination.
|
|
734
738
|
class AdPolicyTopicEvidenceDestinationNotWorking
|
|
735
739
|
include Google::Apis::Core::Hashable
|
|
736
740
|
|
|
737
|
-
# The device
|
|
741
|
+
# The device where visiting the URL resulted in the error.
|
|
738
742
|
# Corresponds to the JSON property `device`
|
|
739
743
|
# @return [String]
|
|
740
744
|
attr_accessor :device
|
|
@@ -754,7 +758,7 @@ module Google
|
|
|
754
758
|
# @return [Fixnum]
|
|
755
759
|
attr_accessor :http_error_code
|
|
756
760
|
|
|
757
|
-
# The last
|
|
761
|
+
# The last time the error was seen when navigating to URL.
|
|
758
762
|
# Corresponds to the JSON property `lastCheckedTime`
|
|
759
763
|
# @return [String]
|
|
760
764
|
attr_accessor :last_checked_time
|
|
@@ -792,31 +796,32 @@ module Google
|
|
|
792
796
|
end
|
|
793
797
|
end
|
|
794
798
|
|
|
795
|
-
# Legal related regulation enforcement, either from DMCA or local legal
|
|
799
|
+
# Legal related regulation enforcement, either from DMCA or local legal
|
|
800
|
+
# regulation.
|
|
796
801
|
class AdPolicyTopicEvidenceLegalRemoval
|
|
797
802
|
include Google::Apis::Core::Hashable
|
|
798
803
|
|
|
799
|
-
# The
|
|
804
|
+
# The type of complaint causing the legal removal.
|
|
800
805
|
# Corresponds to the JSON property `complaintType`
|
|
801
806
|
# @return [String]
|
|
802
807
|
attr_accessor :complaint_type
|
|
803
808
|
|
|
804
|
-
# The restricted
|
|
809
|
+
# The countries restricted due to the legal removal.
|
|
805
810
|
# Corresponds to the JSON property `countryRestrictions`
|
|
806
811
|
# @return [Array<Google::Apis::DisplayvideoV4::AdPolicyCriterionRestriction>]
|
|
807
812
|
attr_accessor :country_restrictions
|
|
808
813
|
|
|
809
|
-
# DMCA
|
|
814
|
+
# DMCA complaint details.
|
|
810
815
|
# Corresponds to the JSON property `dmca`
|
|
811
816
|
# @return [Google::Apis::DisplayvideoV4::AdPolicyTopicEvidenceLegalRemovalDmca]
|
|
812
817
|
attr_accessor :dmca
|
|
813
818
|
|
|
814
|
-
# Local legal
|
|
819
|
+
# Local legal regulation details.
|
|
815
820
|
# Corresponds to the JSON property `localLegal`
|
|
816
821
|
# @return [Google::Apis::DisplayvideoV4::AdPolicyTopicEvidenceLegalRemovalLocalLegal]
|
|
817
822
|
attr_accessor :local_legal
|
|
818
823
|
|
|
819
|
-
# The urls
|
|
824
|
+
# The urls restricted due to the legal removal.
|
|
820
825
|
# Corresponds to the JSON property `restrictedUris`
|
|
821
826
|
# @return [Array<String>]
|
|
822
827
|
attr_accessor :restricted_uris
|
|
@@ -835,11 +840,11 @@ module Google
|
|
|
835
840
|
end
|
|
836
841
|
end
|
|
837
842
|
|
|
838
|
-
# DMCA
|
|
843
|
+
# DMCA complaint details.
|
|
839
844
|
class AdPolicyTopicEvidenceLegalRemovalDmca
|
|
840
845
|
include Google::Apis::Core::Hashable
|
|
841
846
|
|
|
842
|
-
# The entity who
|
|
847
|
+
# The entity who made the legal complaint.
|
|
843
848
|
# Corresponds to the JSON property `complainant`
|
|
844
849
|
# @return [String]
|
|
845
850
|
attr_accessor :complainant
|
|
@@ -854,7 +859,7 @@ module Google
|
|
|
854
859
|
end
|
|
855
860
|
end
|
|
856
861
|
|
|
857
|
-
# Local legal
|
|
862
|
+
# Local legal regulation details.
|
|
858
863
|
class AdPolicyTopicEvidenceLegalRemovalLocalLegal
|
|
859
864
|
include Google::Apis::Core::Hashable
|
|
860
865
|
|
|
@@ -873,9 +878,9 @@ module Google
|
|
|
873
878
|
end
|
|
874
879
|
end
|
|
875
880
|
|
|
876
|
-
# T&S proactive enforcement for policies meant to address
|
|
877
|
-
# This is considered
|
|
878
|
-
# since it's
|
|
881
|
+
# Trust & Safety (T&S) proactive enforcement for policies meant to address
|
|
882
|
+
# regional requirements. This is considered a Google-owned investigation instead
|
|
883
|
+
# of a regulation notice since it's proactive T&S enforcement.
|
|
879
884
|
class AdPolicyTopicEvidenceRegionalRequirements
|
|
880
885
|
include Google::Apis::Core::Hashable
|
|
881
886
|
|
|
@@ -898,12 +903,12 @@ module Google
|
|
|
898
903
|
class AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry
|
|
899
904
|
include Google::Apis::Core::Hashable
|
|
900
905
|
|
|
901
|
-
# The restricted
|
|
906
|
+
# The countries restricted due to the legal policy.
|
|
902
907
|
# Corresponds to the JSON property `countryRestrictions`
|
|
903
908
|
# @return [Array<Google::Apis::DisplayvideoV4::AdPolicyCriterionRestriction>]
|
|
904
909
|
attr_accessor :country_restrictions
|
|
905
910
|
|
|
906
|
-
# The legal policy that is violated.
|
|
911
|
+
# The legal policy that is being violated.
|
|
907
912
|
# Corresponds to the JSON property `legalPolicy`
|
|
908
913
|
# @return [String]
|
|
909
914
|
attr_accessor :legal_policy
|
|
@@ -942,7 +947,7 @@ module Google
|
|
|
942
947
|
class AdPolicyTopicEvidenceTrademark
|
|
943
948
|
include Google::Apis::Core::Hashable
|
|
944
949
|
|
|
945
|
-
#
|
|
950
|
+
# Countries where the policy violation is relevant.
|
|
946
951
|
# Corresponds to the JSON property `countryRestrictions`
|
|
947
952
|
# @return [Array<Google::Apis::DisplayvideoV4::AdPolicyCriterionRestriction>]
|
|
948
953
|
attr_accessor :country_restrictions
|
|
@@ -3055,7 +3060,8 @@ module Google
|
|
|
3055
3060
|
class BulkCreateAdAssetsRequest
|
|
3056
3061
|
include Google::Apis::Core::Hashable
|
|
3057
3062
|
|
|
3058
|
-
# Required. Ad assets to create. Only supports
|
|
3063
|
+
# Required. Ad assets to create. Only supports assets of AdAssetType `
|
|
3064
|
+
# AD_ASSET_TYPE_YOUTUBE_VIDEO`.
|
|
3059
3065
|
# Corresponds to the JSON property `adAssets`
|
|
3060
3066
|
# @return [Array<Google::Apis::DisplayvideoV4::AdAsset>]
|
|
3061
3067
|
attr_accessor :ad_assets
|
|
@@ -3074,7 +3080,7 @@ module Google
|
|
|
3074
3080
|
class BulkCreateAdAssetsResponse
|
|
3075
3081
|
include Google::Apis::Core::Hashable
|
|
3076
3082
|
|
|
3077
|
-
# The
|
|
3083
|
+
# The created ad assets.
|
|
3078
3084
|
# Corresponds to the JSON property `adAssets`
|
|
3079
3085
|
# @return [Array<Google::Apis::DisplayvideoV4::AdAsset>]
|
|
3080
3086
|
attr_accessor :ad_assets
|
|
@@ -5051,7 +5057,7 @@ module Google
|
|
|
5051
5057
|
class CreateAdAssetRequest
|
|
5052
5058
|
include Google::Apis::Core::Hashable
|
|
5053
5059
|
|
|
5054
|
-
# A single ad asset.
|
|
5060
|
+
# A single ad asset.
|
|
5055
5061
|
# Corresponds to the JSON property `adAsset`
|
|
5056
5062
|
# @return [Google::Apis::DisplayvideoV4::AdAsset]
|
|
5057
5063
|
attr_accessor :ad_asset
|
|
@@ -9451,7 +9457,8 @@ module Google
|
|
|
9451
9457
|
class ListAdAssetsResponse
|
|
9452
9458
|
include Google::Apis::Core::Hashable
|
|
9453
9459
|
|
|
9454
|
-
# The list of ad assets.
|
|
9460
|
+
# The list of ad assets. The list will only contain assets of AdAssetType `
|
|
9461
|
+
# AD_ASSET_TYPE_YOUTUBE_VIDEO`. This list will be absent if empty.
|
|
9455
9462
|
# Corresponds to the JSON property `adAssets`
|
|
9456
9463
|
# @return [Array<Google::Apis::DisplayvideoV4::AdAsset>]
|
|
9457
9464
|
attr_accessor :ad_assets
|
|
@@ -10440,12 +10447,14 @@ module Google
|
|
|
10440
10447
|
class ListYoutubeAssetAssociationsResponse
|
|
10441
10448
|
include Google::Apis::Core::Hashable
|
|
10442
10449
|
|
|
10443
|
-
# A token to retrieve the next page of results.
|
|
10450
|
+
# A token to retrieve the next page of results. Pass this value in the
|
|
10451
|
+
# page_token field in the subsequent call to `ListYoutubeAssetAssociations`
|
|
10452
|
+
# method to retrieve the next page of results.
|
|
10444
10453
|
# Corresponds to the JSON property `nextPageToken`
|
|
10445
10454
|
# @return [String]
|
|
10446
10455
|
attr_accessor :next_page_token
|
|
10447
10456
|
|
|
10448
|
-
# The list of associations. This list will be absent if empty.
|
|
10457
|
+
# The list of asset associations. This list will be absent if empty.
|
|
10449
10458
|
# Corresponds to the JSON property `youtubeAssetAssociations`
|
|
10450
10459
|
# @return [Array<Google::Apis::DisplayvideoV4::YoutubeAssetAssociation>]
|
|
10451
10460
|
attr_accessor :youtube_asset_associations
|
|
@@ -13359,11 +13368,11 @@ module Google
|
|
|
13359
13368
|
end
|
|
13360
13369
|
end
|
|
13361
13370
|
|
|
13362
|
-
# A request message for UploadAdAsset.
|
|
13371
|
+
# A request message for UploadAdAsset.
|
|
13363
13372
|
class UploadAdAssetRequest
|
|
13364
13373
|
include Google::Apis::Core::Hashable
|
|
13365
13374
|
|
|
13366
|
-
# Required. The type of the ad asset. Only
|
|
13375
|
+
# Required. The type of the ad asset. Only `AD_ASSET_TYPE_IMAGE` is supported.
|
|
13367
13376
|
# Corresponds to the JSON property `adAssetType`
|
|
13368
13377
|
# @return [String]
|
|
13369
13378
|
attr_accessor :ad_asset_type
|
|
@@ -13389,7 +13398,7 @@ module Google
|
|
|
13389
13398
|
class UploadAdAssetResponse
|
|
13390
13399
|
include Google::Apis::Core::Hashable
|
|
13391
13400
|
|
|
13392
|
-
# A single ad asset.
|
|
13401
|
+
# A single ad asset.
|
|
13393
13402
|
# Corresponds to the JSON property `adAsset`
|
|
13394
13403
|
# @return [Google::Apis::DisplayvideoV4::AdAsset]
|
|
13395
13404
|
attr_accessor :ad_asset
|
|
@@ -14024,31 +14033,32 @@ module Google
|
|
|
14024
14033
|
end
|
|
14025
14034
|
end
|
|
14026
14035
|
|
|
14027
|
-
#
|
|
14036
|
+
# An association between a resource and a YouTube asset.
|
|
14028
14037
|
class YoutubeAssetAssociation
|
|
14029
14038
|
include Google::Apis::Core::Hashable
|
|
14030
14039
|
|
|
14031
|
-
#
|
|
14040
|
+
# A YouTube asset linked to a resource in a YoutubeAssetAssociation.
|
|
14032
14041
|
# Corresponds to the JSON property `linkedYoutubeAsset`
|
|
14033
14042
|
# @return [Google::Apis::DisplayvideoV4::YoutubeAssetAssociationLinkedYouTubeAsset]
|
|
14034
14043
|
attr_accessor :linked_youtube_asset
|
|
14035
14044
|
|
|
14036
|
-
# Identifier. The resource name of the association. For line item
|
|
14045
|
+
# Identifier. The resource name of the association. For line item-level
|
|
14037
14046
|
# associations: The name pattern is `advertisers/`advertiser_id`/lineItems/`
|
|
14038
14047
|
# line_item_id`/youtubeAssetTypes/`youtube_asset_type`/youtubeAssetAssociations/`
|
|
14039
|
-
# youtube_asset_association_id``. For ad group
|
|
14048
|
+
# youtube_asset_association_id``. For ad group-level associations: The name
|
|
14040
14049
|
# pattern is `advertisers/`advertiser_id`/adGroups/`ad_group_id`/
|
|
14041
14050
|
# youtubeAssetTypes/`youtube_asset_type`/youtubeAssetAssociations/`
|
|
14042
|
-
# youtube_asset_association_id``. For
|
|
14043
|
-
# associations: `
|
|
14044
|
-
#
|
|
14045
|
-
#
|
|
14046
|
-
# youtube_asset_association_id` is
|
|
14051
|
+
# youtube_asset_association_id``. For `YOUTUBE_ASSET_TYPE_LOCATION` and `
|
|
14052
|
+
# YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION` associations: `
|
|
14053
|
+
# youtube_asset_association_id` is the ID of the asset set linked, or 0 if the
|
|
14054
|
+
# location_matching_type or affiliate_location_matching_type is `DISABLED`. For `
|
|
14055
|
+
# YOUTUBE_ASSET_TYPE_SITELINK` associations: `youtube_asset_association_id` is
|
|
14056
|
+
# be the ID of the sitelink asset linked.
|
|
14047
14057
|
# Corresponds to the JSON property `name`
|
|
14048
14058
|
# @return [String]
|
|
14049
14059
|
attr_accessor :name
|
|
14050
14060
|
|
|
14051
|
-
# Required. The type of
|
|
14061
|
+
# Required. The type of YouTube asset associated with the resource.
|
|
14052
14062
|
# Corresponds to the JSON property `youtubeAssetType`
|
|
14053
14063
|
# @return [String]
|
|
14054
14064
|
attr_accessor :youtube_asset_type
|
|
@@ -14097,7 +14107,7 @@ module Google
|
|
|
14097
14107
|
end
|
|
14098
14108
|
end
|
|
14099
14109
|
|
|
14100
|
-
# A chain
|
|
14110
|
+
# A chain of affiliate locations.
|
|
14101
14111
|
class YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationChain
|
|
14102
14112
|
include Google::Apis::Core::Hashable
|
|
14103
14113
|
|
|
@@ -14120,9 +14130,8 @@ module Google
|
|
|
14120
14130
|
class YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationMatchingFunction
|
|
14121
14131
|
include Google::Apis::Core::Hashable
|
|
14122
14132
|
|
|
14123
|
-
# Optional. The
|
|
14124
|
-
#
|
|
14125
|
-
# AffiliateLocationMatchingType#SELECTED_CHAINS.
|
|
14133
|
+
# Optional. The selected affiliate location chain IDs. This field is required if
|
|
14134
|
+
# affiliate_location_matching_type is `SELECTED_CHAINS`.
|
|
14126
14135
|
# Corresponds to the JSON property `chains`
|
|
14127
14136
|
# @return [Array<Google::Apis::DisplayvideoV4::YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationChain>]
|
|
14128
14137
|
attr_accessor :chains
|
|
@@ -14137,7 +14146,7 @@ module Google
|
|
|
14137
14146
|
end
|
|
14138
14147
|
end
|
|
14139
14148
|
|
|
14140
|
-
#
|
|
14149
|
+
# A YouTube asset linked to a resource in a YoutubeAssetAssociation.
|
|
14141
14150
|
class YoutubeAssetAssociationLinkedYouTubeAsset
|
|
14142
14151
|
include Google::Apis::Core::Hashable
|
|
14143
14152
|
|
|
@@ -14204,23 +14213,20 @@ module Google
|
|
|
14204
14213
|
class YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction
|
|
14205
14214
|
include Google::Apis::Core::Hashable
|
|
14206
14215
|
|
|
14207
|
-
# Optional. The business name
|
|
14208
|
-
#
|
|
14209
|
-
# linking with location asset filters of LocationMatchingType#FILTER.
|
|
14216
|
+
# Optional. The business name to match with. This field is optional and can only
|
|
14217
|
+
# be set if location_matching_type is `FILTER`.
|
|
14210
14218
|
# Corresponds to the JSON property `business`
|
|
14211
14219
|
# @return [String]
|
|
14212
14220
|
attr_accessor :business
|
|
14213
14221
|
|
|
14214
|
-
# Optional. The
|
|
14215
|
-
#
|
|
14216
|
-
# This is optional when linking with location asset filters of
|
|
14217
|
-
# LocationMatchingType#FILTER.
|
|
14222
|
+
# Optional. The labels to match with. Labels are logically OR'ed together. This
|
|
14223
|
+
# field is optional and can only be set if location_matching_type is `FILTER`.
|
|
14218
14224
|
# Corresponds to the JSON property `labels`
|
|
14219
14225
|
# @return [Array<String>]
|
|
14220
14226
|
attr_accessor :labels
|
|
14221
14227
|
|
|
14222
|
-
# Optional. The selected location asset IDs. This is required
|
|
14223
|
-
#
|
|
14228
|
+
# Optional. The selected location asset IDs. This field is required if
|
|
14229
|
+
# location_matching_type is `SELECTED_ASSETS`.
|
|
14224
14230
|
# Corresponds to the JSON property `locationAssetIds`
|
|
14225
14231
|
# @return [Array<Fixnum>]
|
|
14226
14232
|
attr_accessor :location_asset_ids
|
|
@@ -14284,12 +14290,12 @@ module Google
|
|
|
14284
14290
|
end
|
|
14285
14291
|
end
|
|
14286
14292
|
|
|
14287
|
-
#
|
|
14293
|
+
# Data for a YouTube video ad asset.
|
|
14288
14294
|
class YoutubeVideoAsset
|
|
14289
14295
|
include Google::Apis::Core::Hashable
|
|
14290
14296
|
|
|
14291
|
-
# Required. The
|
|
14292
|
-
# used in the
|
|
14297
|
+
# Required. The YouTube video id of the asset. This is the 11 char string value
|
|
14298
|
+
# used in the YouTube video URL.
|
|
14293
14299
|
# Corresponds to the JSON property `youtubeVideoId`
|
|
14294
14300
|
# @return [String]
|
|
14295
14301
|
attr_accessor :youtube_video_id
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DisplayvideoV4
|
|
18
18
|
# Version of the google-apis-displayvideo_v4 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.14.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 = "20251027"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -384,9 +384,11 @@ module Google
|
|
|
384
384
|
execute_or_queue_command(command, &block)
|
|
385
385
|
end
|
|
386
386
|
|
|
387
|
-
#
|
|
387
|
+
# Creates multiple ad assets in a single request. Returns the newly-created ad
|
|
388
|
+
# assets if successful. Only supports the creation of assets of AdAssetType `
|
|
389
|
+
# AD_ASSET_TYPE_YOUTUBE_VIDEO`.
|
|
388
390
|
# @param [Fixnum] advertiser_id
|
|
389
|
-
# Required. The ID of the advertiser
|
|
391
|
+
# Required. The ID of the advertiser these ad assets belong to.
|
|
390
392
|
# @param [Google::Apis::DisplayvideoV4::BulkCreateAdAssetsRequest] bulk_create_ad_assets_request_object
|
|
391
393
|
# @param [String] fields
|
|
392
394
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -417,7 +419,8 @@ module Google
|
|
|
417
419
|
execute_or_queue_command(command, &block)
|
|
418
420
|
end
|
|
419
421
|
|
|
420
|
-
#
|
|
422
|
+
# Creates an ad asset. Returns the newly-created ad asset if successful. Only
|
|
423
|
+
# supports the creation of assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`.
|
|
421
424
|
# @param [Fixnum] advertiser_id
|
|
422
425
|
# Required. The ID of the advertiser this ad asset belongs to.
|
|
423
426
|
# @param [Google::Apis::DisplayvideoV4::CreateAdAssetRequest] create_ad_asset_request_object
|
|
@@ -450,11 +453,13 @@ module Google
|
|
|
450
453
|
execute_or_queue_command(command, &block)
|
|
451
454
|
end
|
|
452
455
|
|
|
453
|
-
#
|
|
456
|
+
# Gets an ad asset. Only supports the retrieval of assets of AdAssetType `
|
|
457
|
+
# AD_ASSET_TYPE_YOUTUBE_VIDEO`.
|
|
454
458
|
# @param [Fixnum] advertiser_id
|
|
455
459
|
# Required. The ID of the advertiser this ad asset belongs to.
|
|
456
460
|
# @param [Fixnum] ad_asset_id
|
|
457
|
-
# Required. The ID of the ad asset to fetch.
|
|
461
|
+
# Required. The ID of the ad asset to fetch. Only supports assets of AdAssetType
|
|
462
|
+
# `AD_ASSET_TYPE_YOUTUBE_VIDEO`
|
|
458
463
|
# @param [String] fields
|
|
459
464
|
# Selector specifying which fields to include in a partial response.
|
|
460
465
|
# @param [String] quota_user
|
|
@@ -483,18 +488,21 @@ module Google
|
|
|
483
488
|
execute_or_queue_command(command, &block)
|
|
484
489
|
end
|
|
485
490
|
|
|
486
|
-
#
|
|
491
|
+
# Lists ad assets under an advertiser ID. Only supports the retrieval of assets
|
|
492
|
+
# of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`.
|
|
487
493
|
# @param [Fixnum] advertiser_id
|
|
488
|
-
# Required. The ID of the advertiser
|
|
494
|
+
# Required. The ID of the advertiser the ad assets belong to.
|
|
489
495
|
# @param [String] filter
|
|
490
|
-
# Optional.
|
|
491
|
-
#
|
|
492
|
-
#
|
|
496
|
+
# Optional. Allows filtering of the results by ad asset fields. Supported syntax:
|
|
497
|
+
# * A restriction has the form of ``field` `operator` `value``. * All fields
|
|
498
|
+
# must use the `EQUALS (=)` operator. Supported fields: * `youtubeVideoAsset.
|
|
499
|
+
# youtubeVideoId` * `entityStatus` Examples: * All active YouTube video ad
|
|
500
|
+
# assets under an advertiser: `entityStatus=ENTITY_STATUS_ACTIVE`
|
|
493
501
|
# @param [String] order_by
|
|
494
502
|
# Optional. Field by which to sort the list. Acceptable values are: * `
|
|
495
503
|
# entityStatus` * `youtubeVideoAsset.youtubeVideoId` * `adAssetId` (default) The
|
|
496
504
|
# default sorting order is ascending. To specify descending order for a field, a
|
|
497
|
-
# suffix "desc" should be added to the field name. Example: `
|
|
505
|
+
# suffix "desc" should be added to the field name. Example: `adAssetId desc`.
|
|
498
506
|
# @param [Fixnum] page_size
|
|
499
507
|
# Optional. Requested page size. Must be between `1` and `5000`. If unspecified
|
|
500
508
|
# will default to `5000`. Returns error code `INVALID_ARGUMENT` if an invalid
|
|
@@ -502,8 +510,8 @@ module Google
|
|
|
502
510
|
# @param [String] page_token
|
|
503
511
|
# Optional. A token identifying a page of results the server should return.
|
|
504
512
|
# Typically, this is the value of next_page_token returned from the previous
|
|
505
|
-
# call to `
|
|
506
|
-
# be returned.
|
|
513
|
+
# call to `ListAdAssets` method. If not specified, the first page of results
|
|
514
|
+
# will be returned.
|
|
507
515
|
# @param [String] fields
|
|
508
516
|
# Selector specifying which fields to include in a partial response.
|
|
509
517
|
# @param [String] quota_user
|
|
@@ -535,8 +543,9 @@ module Google
|
|
|
535
543
|
execute_or_queue_command(command, &block)
|
|
536
544
|
end
|
|
537
545
|
|
|
538
|
-
# Uploads an ad asset. Returns the ID of the newly
|
|
539
|
-
# successful.
|
|
546
|
+
# Uploads and creates an ad asset. Returns the ID of the newly-created ad asset
|
|
547
|
+
# if successful. Only supports the uploading of assets with the AdAssetType `
|
|
548
|
+
# AD_ASSET_TYPE_IMAGE`.
|
|
540
549
|
# @param [Fixnum] advertiser_id
|
|
541
550
|
# Required. The ID of the advertiser this ad asset belongs to.
|
|
542
551
|
# @param [Google::Apis::DisplayvideoV4::UploadAdAssetRequest] upload_ad_asset_request_object
|
|
@@ -952,17 +961,18 @@ module Google
|
|
|
952
961
|
execute_or_queue_command(command, &block)
|
|
953
962
|
end
|
|
954
963
|
|
|
955
|
-
# Creates a new association between
|
|
956
|
-
#
|
|
964
|
+
# Creates a new association between the identified resource and a YouTube asset.
|
|
965
|
+
# Returns the newly-created association. *Warning:* This method is only
|
|
966
|
+
# available to an informed subset of users.
|
|
957
967
|
# @param [Fixnum] advertiser_id
|
|
958
|
-
# Required. The ID of the advertiser
|
|
968
|
+
# Required. The ID of the advertiser that the linked entity belongs to.
|
|
959
969
|
# @param [Fixnum] ad_group_id
|
|
960
|
-
# The
|
|
970
|
+
# The ID of an ad group.
|
|
961
971
|
# @param [String] youtube_asset_type
|
|
962
|
-
# Required. The type of
|
|
972
|
+
# Required. The type of YouTube asset associated with the resource.
|
|
963
973
|
# @param [Google::Apis::DisplayvideoV4::YoutubeAssetAssociation] youtube_asset_association_object
|
|
964
974
|
# @param [Fixnum] linked_entity_line_item_id
|
|
965
|
-
# The
|
|
975
|
+
# The ID of a line item.
|
|
966
976
|
# @param [String] fields
|
|
967
977
|
# Selector specifying which fields to include in a partial response.
|
|
968
978
|
# @param [String] quota_user
|
|
@@ -995,23 +1005,23 @@ module Google
|
|
|
995
1005
|
execute_or_queue_command(command, &block)
|
|
996
1006
|
end
|
|
997
1007
|
|
|
998
|
-
# Deletes an existing association between
|
|
999
|
-
#
|
|
1008
|
+
# Deletes an existing association between the identified resource and a YouTube
|
|
1009
|
+
# asset. *Warning:* This method is only available to an informed subset of users.
|
|
1000
1010
|
# @param [Fixnum] advertiser_id
|
|
1001
|
-
# Required. The ID of the advertiser
|
|
1011
|
+
# Required. The ID of the advertiser that the linked entity belongs to.
|
|
1002
1012
|
# @param [Fixnum] ad_group_id
|
|
1003
|
-
# The
|
|
1013
|
+
# The ID of an ad group.
|
|
1004
1014
|
# @param [String] youtube_asset_type
|
|
1005
|
-
# Required. The YouTube asset
|
|
1015
|
+
# Required. The type of YouTube asset associated with the resource.
|
|
1006
1016
|
# @param [Fixnum] youtube_asset_association_id
|
|
1007
|
-
# Required. The ID of the YouTube asset in the association. For
|
|
1017
|
+
# Required. The ID of the YouTube asset in the association. For `
|
|
1018
|
+
# YOUTUBE_ASSET_TYPE_LOCATION` and `YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION`
|
|
1008
1019
|
# associations: This should be the ID of the asset set linked, or 0 if the
|
|
1009
|
-
#
|
|
1010
|
-
# associations: This should be the ID of the
|
|
1011
|
-
#
|
|
1012
|
-
# associations: This should be the ID of the sitelink asset linked.
|
|
1020
|
+
# location_asset_filter or affiliate_location_asset_filter is `DISABLED`. For `
|
|
1021
|
+
# YOUTUBE_ASSET_TYPE_SITELINK` associations: This should be the ID of the
|
|
1022
|
+
# sitelink asset linked.
|
|
1013
1023
|
# @param [Fixnum] linked_entity_line_item_id
|
|
1014
|
-
# The
|
|
1024
|
+
# The ID of a line item.
|
|
1015
1025
|
# @param [String] fields
|
|
1016
1026
|
# Selector specifying which fields to include in a partial response.
|
|
1017
1027
|
# @param [String] quota_user
|
|
@@ -1043,27 +1053,31 @@ module Google
|
|
|
1043
1053
|
execute_or_queue_command(command, &block)
|
|
1044
1054
|
end
|
|
1045
1055
|
|
|
1046
|
-
# Lists the YouTube asset associations
|
|
1056
|
+
# Lists the YouTube asset associations linked to the given resource.
|
|
1047
1057
|
# @param [Fixnum] advertiser_id
|
|
1048
|
-
# Required. The ID of the advertiser
|
|
1058
|
+
# Required. The ID of the advertiser that the linked entity belongs to.
|
|
1049
1059
|
# @param [Fixnum] ad_group_id
|
|
1050
|
-
# The
|
|
1060
|
+
# The ID of an ad group.
|
|
1051
1061
|
# @param [String] youtube_asset_type
|
|
1052
|
-
# Required. The type of YouTube asset
|
|
1062
|
+
# Required. The type of YouTube asset being associated with the resource.
|
|
1053
1063
|
# @param [Fixnum] linked_entity_line_item_id
|
|
1054
|
-
# The
|
|
1064
|
+
# The ID of a line item.
|
|
1055
1065
|
# @param [String] order_by
|
|
1056
|
-
# Optional. Field by which to sort the list. The only acceptable values are: `
|
|
1057
|
-
# linkedYoutubeAsset.locationAssetFilter.assetSetId`, `linkedYoutubeAsset.
|
|
1058
|
-
# affiliateLocationAssetFilter.assetSetId`, `linkedYoutubeAsset.sitelinkAsset.
|
|
1066
|
+
# Optional. Field by which to sort the list. The only acceptable values are: * `
|
|
1067
|
+
# linkedYoutubeAsset.locationAssetFilter.assetSetId`, * `linkedYoutubeAsset.
|
|
1068
|
+
# affiliateLocationAssetFilter.assetSetId`, * `linkedYoutubeAsset.sitelinkAsset.
|
|
1059
1069
|
# assetId` The default sorting order is ascending. To specify descending order
|
|
1060
1070
|
# for a field, a suffix " desc" should be added to the field name. Example: `
|
|
1061
1071
|
# linkedYoutubeAsset.sitelinkAsset.assetId desc`.
|
|
1062
1072
|
# @param [Fixnum] page_size
|
|
1063
1073
|
# Optional. Requested page size. Must be between `1` and `10000`. If unspecified
|
|
1064
|
-
# will default to `100`.
|
|
1074
|
+
# will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid
|
|
1075
|
+
# value is specified.
|
|
1065
1076
|
# @param [String] page_token
|
|
1066
1077
|
# Optional. A token identifying a page of results the server should return.
|
|
1078
|
+
# Typically, this is the value of next_page_token returned from the previous
|
|
1079
|
+
# call to `ListYoutubeAssetAssociations` method. If not specified, the first
|
|
1080
|
+
# page of results will be returned.
|
|
1067
1081
|
# @param [String] fields
|
|
1068
1082
|
# Selector specifying which fields to include in a partial response.
|
|
1069
1083
|
# @param [String] quota_user
|
|
@@ -3553,17 +3567,18 @@ module Google
|
|
|
3553
3567
|
execute_or_queue_command(command, &block)
|
|
3554
3568
|
end
|
|
3555
3569
|
|
|
3556
|
-
# Creates a new association between
|
|
3557
|
-
#
|
|
3570
|
+
# Creates a new association between the identified resource and a YouTube asset.
|
|
3571
|
+
# Returns the newly-created association. *Warning:* This method is only
|
|
3572
|
+
# available to an informed subset of users.
|
|
3558
3573
|
# @param [Fixnum] advertiser_id
|
|
3559
|
-
# Required. The ID of the advertiser
|
|
3574
|
+
# Required. The ID of the advertiser that the linked entity belongs to.
|
|
3560
3575
|
# @param [Fixnum] line_item_id
|
|
3561
|
-
# The
|
|
3576
|
+
# The ID of a line item.
|
|
3562
3577
|
# @param [String] youtube_asset_type
|
|
3563
|
-
# Required. The type of
|
|
3578
|
+
# Required. The type of YouTube asset associated with the resource.
|
|
3564
3579
|
# @param [Google::Apis::DisplayvideoV4::YoutubeAssetAssociation] youtube_asset_association_object
|
|
3565
3580
|
# @param [Fixnum] linked_entity_ad_group_id
|
|
3566
|
-
# The
|
|
3581
|
+
# The ID of an ad group.
|
|
3567
3582
|
# @param [String] fields
|
|
3568
3583
|
# Selector specifying which fields to include in a partial response.
|
|
3569
3584
|
# @param [String] quota_user
|
|
@@ -3596,23 +3611,23 @@ module Google
|
|
|
3596
3611
|
execute_or_queue_command(command, &block)
|
|
3597
3612
|
end
|
|
3598
3613
|
|
|
3599
|
-
# Deletes an existing association between
|
|
3600
|
-
#
|
|
3614
|
+
# Deletes an existing association between the identified resource and a YouTube
|
|
3615
|
+
# asset. *Warning:* This method is only available to an informed subset of users.
|
|
3601
3616
|
# @param [Fixnum] advertiser_id
|
|
3602
|
-
# Required. The ID of the advertiser
|
|
3617
|
+
# Required. The ID of the advertiser that the linked entity belongs to.
|
|
3603
3618
|
# @param [Fixnum] line_item_id
|
|
3604
|
-
# The
|
|
3619
|
+
# The ID of a line item.
|
|
3605
3620
|
# @param [String] youtube_asset_type
|
|
3606
|
-
# Required. The YouTube asset
|
|
3621
|
+
# Required. The type of YouTube asset associated with the resource.
|
|
3607
3622
|
# @param [Fixnum] youtube_asset_association_id
|
|
3608
|
-
# Required. The ID of the YouTube asset in the association. For
|
|
3623
|
+
# Required. The ID of the YouTube asset in the association. For `
|
|
3624
|
+
# YOUTUBE_ASSET_TYPE_LOCATION` and `YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION`
|
|
3609
3625
|
# associations: This should be the ID of the asset set linked, or 0 if the
|
|
3610
|
-
#
|
|
3611
|
-
# associations: This should be the ID of the
|
|
3612
|
-
#
|
|
3613
|
-
# associations: This should be the ID of the sitelink asset linked.
|
|
3626
|
+
# location_asset_filter or affiliate_location_asset_filter is `DISABLED`. For `
|
|
3627
|
+
# YOUTUBE_ASSET_TYPE_SITELINK` associations: This should be the ID of the
|
|
3628
|
+
# sitelink asset linked.
|
|
3614
3629
|
# @param [Fixnum] linked_entity_ad_group_id
|
|
3615
|
-
# The
|
|
3630
|
+
# The ID of an ad group.
|
|
3616
3631
|
# @param [String] fields
|
|
3617
3632
|
# Selector specifying which fields to include in a partial response.
|
|
3618
3633
|
# @param [String] quota_user
|
|
@@ -3644,27 +3659,31 @@ module Google
|
|
|
3644
3659
|
execute_or_queue_command(command, &block)
|
|
3645
3660
|
end
|
|
3646
3661
|
|
|
3647
|
-
# Lists the YouTube asset associations
|
|
3662
|
+
# Lists the YouTube asset associations linked to the given resource.
|
|
3648
3663
|
# @param [Fixnum] advertiser_id
|
|
3649
|
-
# Required. The ID of the advertiser
|
|
3664
|
+
# Required. The ID of the advertiser that the linked entity belongs to.
|
|
3650
3665
|
# @param [Fixnum] line_item_id
|
|
3651
|
-
# The
|
|
3666
|
+
# The ID of a line item.
|
|
3652
3667
|
# @param [String] youtube_asset_type
|
|
3653
|
-
# Required. The type of YouTube asset
|
|
3668
|
+
# Required. The type of YouTube asset being associated with the resource.
|
|
3654
3669
|
# @param [Fixnum] linked_entity_ad_group_id
|
|
3655
|
-
# The
|
|
3670
|
+
# The ID of an ad group.
|
|
3656
3671
|
# @param [String] order_by
|
|
3657
|
-
# Optional. Field by which to sort the list. The only acceptable values are: `
|
|
3658
|
-
# linkedYoutubeAsset.locationAssetFilter.assetSetId`, `linkedYoutubeAsset.
|
|
3659
|
-
# affiliateLocationAssetFilter.assetSetId`, `linkedYoutubeAsset.sitelinkAsset.
|
|
3672
|
+
# Optional. Field by which to sort the list. The only acceptable values are: * `
|
|
3673
|
+
# linkedYoutubeAsset.locationAssetFilter.assetSetId`, * `linkedYoutubeAsset.
|
|
3674
|
+
# affiliateLocationAssetFilter.assetSetId`, * `linkedYoutubeAsset.sitelinkAsset.
|
|
3660
3675
|
# assetId` The default sorting order is ascending. To specify descending order
|
|
3661
3676
|
# for a field, a suffix " desc" should be added to the field name. Example: `
|
|
3662
3677
|
# linkedYoutubeAsset.sitelinkAsset.assetId desc`.
|
|
3663
3678
|
# @param [Fixnum] page_size
|
|
3664
3679
|
# Optional. Requested page size. Must be between `1` and `10000`. If unspecified
|
|
3665
|
-
# will default to `100`.
|
|
3680
|
+
# will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid
|
|
3681
|
+
# value is specified.
|
|
3666
3682
|
# @param [String] page_token
|
|
3667
3683
|
# Optional. A token identifying a page of results the server should return.
|
|
3684
|
+
# Typically, this is the value of next_page_token returned from the previous
|
|
3685
|
+
# call to `ListYoutubeAssetAssociations` method. If not specified, the first
|
|
3686
|
+
# page of results will be returned.
|
|
3668
3687
|
# @param [String] fields
|
|
3669
3688
|
# Selector specifying which fields to include in a partial response.
|
|
3670
3689
|
# @param [String] quota_user
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-displayvideo_v4
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.14.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_v4/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v4/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-displayvideo_v4/v0.14.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-displayvideo_v4
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|