google-api-python-client 2.176.0__py3-none-any.whl → 2.178.0__py3-none-any.whl

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.
Files changed (169) hide show
  1. {google_api_python_client-2.176.0.dist-info → google_api_python_client-2.178.0.dist-info}/METADATA +1 -1
  2. {google_api_python_client-2.176.0.dist-info → google_api_python_client-2.178.0.dist-info}/RECORD +169 -167
  3. googleapiclient/discovery_cache/documents/accessapproval.v1.json +7 -1
  4. googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +2 -2
  5. googleapiclient/discovery_cache/documents/admin.datatransfer_v1.json +4 -4
  6. googleapiclient/discovery_cache/documents/admin.datatransferv1.json +4 -4
  7. googleapiclient/discovery_cache/documents/admin.directory_v1.json +86 -86
  8. googleapiclient/discovery_cache/documents/admin.directoryv1.json +86 -86
  9. googleapiclient/discovery_cache/documents/admin.reports_v1.json +31 -3
  10. googleapiclient/discovery_cache/documents/admin.reportsv1.json +31 -3
  11. googleapiclient/discovery_cache/documents/adsenseplatform.v1alpha.json +4 -4
  12. googleapiclient/discovery_cache/documents/aiplatform.v1.json +379 -31
  13. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +717 -47
  14. googleapiclient/discovery_cache/documents/alloydb.v1.json +144 -9
  15. googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +144 -9
  16. googleapiclient/discovery_cache/documents/alloydb.v1beta.json +144 -9
  17. googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +46 -227
  18. googleapiclient/discovery_cache/documents/androidenterprise.v1.json +30 -1
  19. googleapiclient/discovery_cache/documents/androidmanagement.v1.json +3 -3
  20. googleapiclient/discovery_cache/documents/androidpublisher.v3.json +2136 -300
  21. googleapiclient/discovery_cache/documents/apigee.v1.json +6 -6
  22. googleapiclient/discovery_cache/documents/apihub.v1.json +535 -7
  23. googleapiclient/discovery_cache/documents/apphub.v1alpha.json +1 -68
  24. googleapiclient/discovery_cache/documents/artifactregistry.v1.json +7 -7
  25. googleapiclient/discovery_cache/documents/artifactregistry.v1beta1.json +6 -6
  26. googleapiclient/discovery_cache/documents/artifactregistry.v1beta2.json +6 -6
  27. googleapiclient/discovery_cache/documents/backupdr.v1.json +65 -21
  28. googleapiclient/discovery_cache/documents/batch.v1.json +13 -7
  29. googleapiclient/discovery_cache/documents/beyondcorp.v1.json +61 -9
  30. googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +61 -9
  31. googleapiclient/discovery_cache/documents/biglake.v1.json +1 -1
  32. googleapiclient/discovery_cache/documents/bigquery.v2.json +73 -7
  33. googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +56 -1
  34. googleapiclient/discovery_cache/documents/chat.v1.json +105 -31
  35. googleapiclient/discovery_cache/documents/chromemanagement.v1.json +325 -6
  36. googleapiclient/discovery_cache/documents/civicinfo.v2.json +7 -1
  37. googleapiclient/discovery_cache/documents/cloudasset.v1.json +31 -1
  38. googleapiclient/discovery_cache/documents/cloudbilling.v1beta.json +9 -1168
  39. googleapiclient/discovery_cache/documents/cloudbuild.v1.json +2 -2
  40. googleapiclient/discovery_cache/documents/cloudbuild.v2.json +1 -26
  41. googleapiclient/discovery_cache/documents/compute.alpha.json +1044 -105
  42. googleapiclient/discovery_cache/documents/compute.beta.json +416 -85
  43. googleapiclient/discovery_cache/documents/compute.v1.json +262 -26
  44. googleapiclient/discovery_cache/documents/connectors.v1.json +29 -1
  45. googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json +6 -1
  46. googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +73 -9
  47. googleapiclient/discovery_cache/documents/container.v1.json +257 -3
  48. googleapiclient/discovery_cache/documents/container.v1beta1.json +258 -14
  49. googleapiclient/discovery_cache/documents/containeranalysis.v1.json +2 -2
  50. googleapiclient/discovery_cache/documents/containeranalysis.v1alpha1.json +2 -2
  51. googleapiclient/discovery_cache/documents/containeranalysis.v1beta1.json +2 -2
  52. googleapiclient/discovery_cache/documents/content.v2.1.json +2 -2
  53. googleapiclient/discovery_cache/documents/datacatalog.v1.json +1 -2
  54. googleapiclient/discovery_cache/documents/dataflow.v1b3.json +43 -36
  55. googleapiclient/discovery_cache/documents/dataform.v1beta1.json +35 -1
  56. googleapiclient/discovery_cache/documents/datalineage.v1.json +6 -1
  57. googleapiclient/discovery_cache/documents/dataplex.v1.json +214 -30
  58. googleapiclient/discovery_cache/documents/dataportability.v1.json +1 -10
  59. googleapiclient/discovery_cache/documents/dataportability.v1beta.json +1 -10
  60. googleapiclient/discovery_cache/documents/datastream.v1.json +63 -1
  61. googleapiclient/discovery_cache/documents/developerconnect.v1.json +2 -2
  62. googleapiclient/discovery_cache/documents/dfareporting.v4.json +1210 -70
  63. googleapiclient/discovery_cache/documents/dialogflow.v2.json +286 -1
  64. googleapiclient/discovery_cache/documents/discoveryengine.v1.json +1715 -185
  65. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +1488 -62
  66. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +1377 -244
  67. googleapiclient/discovery_cache/documents/displayvideo.v2.json +1376 -213
  68. googleapiclient/discovery_cache/documents/displayvideo.v3.json +27 -4
  69. googleapiclient/discovery_cache/documents/displayvideo.v4.json +1377 -202
  70. googleapiclient/discovery_cache/documents/dlp.v2.json +33 -12
  71. googleapiclient/discovery_cache/documents/documentai.v1.json +15 -8
  72. googleapiclient/discovery_cache/documents/documentai.v1beta3.json +15 -8
  73. googleapiclient/discovery_cache/documents/drive.v3.json +3 -109
  74. googleapiclient/discovery_cache/documents/fcm.v1.json +3 -3
  75. googleapiclient/discovery_cache/documents/file.v1.json +7 -1
  76. googleapiclient/discovery_cache/documents/file.v1beta1.json +7 -1
  77. googleapiclient/discovery_cache/documents/firebaseapphosting.v1beta.json +5 -1
  78. googleapiclient/discovery_cache/documents/firebasedataconnect.v1.json +6 -2
  79. googleapiclient/discovery_cache/documents/firebasedataconnect.v1beta.json +6 -2
  80. googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +145 -27
  81. googleapiclient/discovery_cache/documents/gkebackup.v1.json +28 -1
  82. googleapiclient/discovery_cache/documents/gkehub.v1.json +30 -9
  83. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +30 -9
  84. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +30 -9
  85. googleapiclient/discovery_cache/documents/gkehub.v1beta1.json +14 -1
  86. googleapiclient/discovery_cache/documents/gkehub.v2.json +17 -9
  87. googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +17 -9
  88. googleapiclient/discovery_cache/documents/gkehub.v2beta.json +17 -9
  89. googleapiclient/discovery_cache/documents/healthcare.v1.json +61 -5
  90. googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +24 -6
  91. googleapiclient/discovery_cache/documents/homegraph.v1.json +2 -2
  92. googleapiclient/discovery_cache/documents/iam.v1.json +524 -1
  93. googleapiclient/discovery_cache/documents/iamcredentials.v1.json +21 -1
  94. googleapiclient/discovery_cache/documents/integrations.v1.json +1 -363
  95. googleapiclient/discovery_cache/documents/kmsinventory.v1.json +17 -3
  96. googleapiclient/discovery_cache/documents/logging.v2.json +11 -1
  97. googleapiclient/discovery_cache/documents/looker.v1.json +15 -1
  98. googleapiclient/discovery_cache/documents/managedkafka.v1.json +11 -1
  99. googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +131 -8
  100. googleapiclient/discovery_cache/documents/merchantapi.datasources_v1beta.json +3 -4
  101. googleapiclient/discovery_cache/documents/merchantapi.inventories_v1beta.json +9 -7
  102. googleapiclient/discovery_cache/documents/merchantapi.ordertracking_v1beta.json +5 -5
  103. googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json +22 -14
  104. googleapiclient/discovery_cache/documents/merchantapi.promotions_v1beta.json +2 -2
  105. googleapiclient/discovery_cache/documents/merchantapi.reviews_v1beta.json +17 -9
  106. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +7 -3
  107. googleapiclient/discovery_cache/documents/monitoring.v1.json +4 -4
  108. googleapiclient/discovery_cache/documents/monitoring.v3.json +4 -4
  109. googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +6 -1
  110. googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json +76 -1
  111. googleapiclient/discovery_cache/documents/netapp.v1beta1.json +51 -1
  112. googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +4 -4
  113. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +965 -14
  114. googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +10 -5
  115. googleapiclient/discovery_cache/documents/networksecurity.v1.json +39 -5
  116. googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +270 -5
  117. googleapiclient/discovery_cache/documents/networkservices.v1.json +15 -13
  118. googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +15 -13
  119. googleapiclient/discovery_cache/documents/notebooks.v2.json +131 -1
  120. googleapiclient/discovery_cache/documents/oracledatabase.v1.json +478 -1
  121. googleapiclient/discovery_cache/documents/osconfig.v1.json +24 -1
  122. googleapiclient/discovery_cache/documents/osconfig.v1alpha.json +24 -1
  123. googleapiclient/discovery_cache/documents/parametermanager.v1.json +982 -0
  124. googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +5 -5
  125. googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +41 -5
  126. googleapiclient/discovery_cache/documents/redis.v1.json +166 -13
  127. googleapiclient/discovery_cache/documents/redis.v1beta1.json +166 -13
  128. googleapiclient/discovery_cache/documents/retail.v2.json +45 -2
  129. googleapiclient/discovery_cache/documents/retail.v2alpha.json +147 -2
  130. googleapiclient/discovery_cache/documents/retail.v2beta.json +45 -2
  131. googleapiclient/discovery_cache/documents/run.v1.json +2 -2
  132. googleapiclient/discovery_cache/documents/run.v2.json +19 -14
  133. googleapiclient/discovery_cache/documents/searchads360.v0.json +38 -4
  134. googleapiclient/discovery_cache/documents/searchconsole.v1.json +20 -1
  135. googleapiclient/discovery_cache/documents/secretmanager.v1.json +16 -1
  136. googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json +16 -1
  137. googleapiclient/discovery_cache/documents/secretmanager.v1beta2.json +16 -1
  138. googleapiclient/discovery_cache/documents/securesourcemanager.v1.json +3568 -0
  139. googleapiclient/discovery_cache/documents/securitycenter.v1.json +290 -12
  140. googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +287 -9
  141. googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +287 -9
  142. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +5 -1
  143. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +5 -1
  144. googleapiclient/discovery_cache/documents/servicenetworking.v1.json +22 -11
  145. googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +21 -10
  146. googleapiclient/discovery_cache/documents/serviceusage.v1.json +5 -1
  147. googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +5 -1
  148. googleapiclient/discovery_cache/documents/spanner.v1.json +4 -4
  149. googleapiclient/discovery_cache/documents/storage.v1.json +71 -2
  150. googleapiclient/discovery_cache/documents/testing.v1.json +21 -5
  151. googleapiclient/discovery_cache/documents/texttospeech.v1.json +2 -2
  152. googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json +2 -2
  153. googleapiclient/discovery_cache/documents/tpu.v2alpha1.json +2 -2
  154. googleapiclient/discovery_cache/documents/transcoder.v1.json +54 -1
  155. googleapiclient/discovery_cache/documents/videointelligence.v1.json +11 -11
  156. googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json +11 -11
  157. googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json +11 -11
  158. googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json +11 -11
  159. googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json +11 -11
  160. googleapiclient/discovery_cache/documents/vmmigration.v1.json +9 -4
  161. googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +9 -4
  162. googleapiclient/discovery_cache/documents/workloadmanager.v1.json +45 -225
  163. googleapiclient/discovery_cache/documents/workspaceevents.v1.json +4 -4
  164. googleapiclient/discovery_cache/documents/workstations.v1beta.json +8 -3
  165. googleapiclient/discovery_cache/documents/youtube.v3.json +67 -1
  166. googleapiclient/version.py +1 -1
  167. {google_api_python_client-2.176.0.dist-info → google_api_python_client-2.178.0.dist-info}/WHEEL +0 -0
  168. {google_api_python_client-2.176.0.dist-info → google_api_python_client-2.178.0.dist-info}/licenses/LICENSE +0 -0
  169. {google_api_python_client-2.176.0.dist-info → google_api_python_client-2.178.0.dist-info}/top_level.txt +0 -0
@@ -571,18 +571,18 @@
571
571
  "https://www.googleapis.com/auth/display-video-mediaplanning"
572
572
  ]
573
573
  },
574
- "patch": {
575
- "description": "Updates an existing campaign. Returns the updated campaign if successful.",
576
- "flatPath": "v2/advertisers/{advertisersId}/campaigns/{campaignsId}",
577
- "httpMethod": "PATCH",
578
- "id": "displayvideo.advertisers.campaigns.patch",
574
+ "listAssignedTargetingOptions": {
575
+ "description": "Lists assigned targeting options of a campaign across targeting types.",
576
+ "flatPath": "v2/advertisers/{advertisersId}/campaigns/{campaignsId}:listAssignedTargetingOptions",
577
+ "httpMethod": "GET",
578
+ "id": "displayvideo.advertisers.campaigns.listAssignedTargetingOptions",
579
579
  "parameterOrder": [
580
580
  "advertiserId",
581
581
  "campaignId"
582
582
  ],
583
583
  "parameters": {
584
584
  "advertiserId": {
585
- "description": "Output only. The unique ID of the advertiser the campaign belongs to.",
585
+ "description": "Required. The ID of the advertiser the campaign belongs to.",
586
586
  "format": "int64",
587
587
  "location": "path",
588
588
  "pattern": "^[^/]+$",
@@ -590,123 +590,268 @@
590
590
  "type": "string"
591
591
  },
592
592
  "campaignId": {
593
- "description": "Output only. The unique ID of the campaign. Assigned by the system.",
593
+ "description": "Required. The ID of the campaign to list assigned targeting options for.",
594
594
  "format": "int64",
595
595
  "location": "path",
596
596
  "pattern": "^[^/]+$",
597
597
  "required": true,
598
598
  "type": "string"
599
599
  },
600
- "updateMask": {
601
- "description": "Required. The mask to control which fields to update.",
602
- "format": "google-fieldmask",
600
+ "filter": {
601
+ "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_LANGUAGE` or `TARGETING_TYPE_GENDER`: `targetingType=\"TARGETING_TYPE_LANGUAGE\" OR targetingType=\"TARGETING_TYPE_GENDER\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
603
602
  "location": "query",
604
603
  "type": "string"
605
- }
606
604
  },
607
- "path": "v2/advertisers/{+advertiserId}/campaigns/{+campaignId}",
608
- "request": {
609
- "$ref": "Campaign"
605
+ "orderBy": {
606
+ "description": "Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.",
607
+ "location": "query",
608
+ "type": "string"
609
+ },
610
+ "pageSize": {
611
+ "description": "Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
612
+ "format": "int32",
613
+ "location": "query",
614
+ "type": "integer"
615
+ },
616
+ "pageToken": {
617
+ "description": "A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to `BulkListCampaignAssignedTargetingOptions` method. If not specified, the first page of results will be returned.",
618
+ "location": "query",
619
+ "type": "string"
620
+ }
610
621
  },
622
+ "path": "v2/advertisers/{+advertiserId}/campaigns/{+campaignId}:listAssignedTargetingOptions",
611
623
  "response": {
612
- "$ref": "Campaign"
624
+ "$ref": "BulkListCampaignAssignedTargetingOptionsResponse"
613
625
  },
614
626
  "scopes": [
615
- "https://www.googleapis.com/auth/display-video",
616
- "https://www.googleapis.com/auth/display-video-mediaplanning"
627
+ "https://www.googleapis.com/auth/display-video"
617
628
  ]
618
- }
619
- }
620
629
  },
621
- "channels": {
622
- "methods": {
623
- "create": {
624
- "description": "Creates a new channel. Returns the newly created channel if successful.",
625
- "flatPath": "v2/advertisers/{advertisersId}/channels",
626
- "httpMethod": "POST",
627
- "id": "displayvideo.advertisers.channels.create",
630
+ "patch": {
631
+ "description": "Updates an existing campaign. Returns the updated campaign if successful.",
632
+ "flatPath": "v2/advertisers/{advertisersId}/campaigns/{campaignsId}",
633
+ "httpMethod": "PATCH",
634
+ "id": "displayvideo.advertisers.campaigns.patch",
628
635
  "parameterOrder": [
629
- "advertiserId"
636
+ "advertiserId",
637
+ "campaignId"
630
638
  ],
631
639
  "parameters": {
632
640
  "advertiserId": {
633
- "description": "The ID of the advertiser that owns the created channel.",
641
+ "description": "Output only. The unique ID of the advertiser the campaign belongs to.",
634
642
  "format": "int64",
635
643
  "location": "path",
636
644
  "pattern": "^[^/]+$",
637
645
  "required": true,
638
646
  "type": "string"
639
647
  },
640
- "partnerId": {
641
- "description": "The ID of the partner that owns the created channel.",
648
+ "campaignId": {
649
+ "description": "Output only. The unique ID of the campaign. Assigned by the system.",
642
650
  "format": "int64",
651
+ "location": "path",
652
+ "pattern": "^[^/]+$",
653
+ "required": true,
654
+ "type": "string"
655
+ },
656
+ "updateMask": {
657
+ "description": "Required. The mask to control which fields to update.",
658
+ "format": "google-fieldmask",
643
659
  "location": "query",
644
660
  "type": "string"
645
661
  }
646
662
  },
647
- "path": "v2/advertisers/{+advertiserId}/channels",
663
+ "path": "v2/advertisers/{+advertiserId}/campaigns/{+campaignId}",
648
664
  "request": {
649
- "$ref": "Channel"
665
+ "$ref": "Campaign"
650
666
  },
651
667
  "response": {
652
- "$ref": "Channel"
668
+ "$ref": "Campaign"
653
669
  },
654
670
  "scopes": [
655
- "https://www.googleapis.com/auth/display-video"
671
+ "https://www.googleapis.com/auth/display-video",
672
+ "https://www.googleapis.com/auth/display-video-mediaplanning"
656
673
  ]
674
+ }
657
675
  },
676
+ "resources": {
677
+ "targetingTypes": {
678
+ "resources": {
679
+ "assignedTargetingOptions": {
680
+ "methods": {
658
681
  "get": {
659
- "description": "Gets a channel for a partner or advertiser.",
660
- "flatPath": "v2/advertisers/{advertisersId}/channels/{channelsId}",
682
+ "description": "Gets a single targeting option assigned to a campaign.",
683
+ "flatPath": "v2/advertisers/{advertisersId}/campaigns/{campaignsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}",
661
684
  "httpMethod": "GET",
662
- "id": "displayvideo.advertisers.channels.get",
685
+ "id": "displayvideo.advertisers.campaigns.targetingTypes.assignedTargetingOptions.get",
663
686
  "parameterOrder": [
664
687
  "advertiserId",
665
- "channelId"
688
+ "campaignId",
689
+ "targetingType",
690
+ "assignedTargetingOptionId"
666
691
  ],
667
692
  "parameters": {
668
693
  "advertiserId": {
669
- "description": "The ID of the advertiser that owns the fetched channel.",
694
+ "description": "Required. The ID of the advertiser the campaign belongs to.",
670
695
  "format": "int64",
671
696
  "location": "path",
672
697
  "pattern": "^[^/]+$",
673
698
  "required": true,
674
699
  "type": "string"
675
700
  },
676
- "channelId": {
677
- "description": "Required. The ID of the channel to fetch.",
678
- "format": "int64",
701
+ "assignedTargetingOptionId": {
702
+ "description": "Required. An identifier unique to the targeting type in this campaign that identifies the assigned targeting option being requested.",
679
703
  "location": "path",
680
704
  "pattern": "^[^/]+$",
681
705
  "required": true,
682
706
  "type": "string"
683
707
  },
684
- "partnerId": {
685
- "description": "The ID of the partner that owns the fetched channel.",
708
+ "campaignId": {
709
+ "description": "Required. The ID of the campaign the assigned targeting option belongs to.",
686
710
  "format": "int64",
687
- "location": "query",
711
+ "location": "path",
712
+ "pattern": "^[^/]+$",
713
+ "required": true,
714
+ "type": "string"
715
+ },
716
+ "targetingType": {
717
+ "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY`",
718
+ "enum": [
719
+ "TARGETING_TYPE_UNSPECIFIED",
720
+ "TARGETING_TYPE_CHANNEL",
721
+ "TARGETING_TYPE_APP_CATEGORY",
722
+ "TARGETING_TYPE_APP",
723
+ "TARGETING_TYPE_URL",
724
+ "TARGETING_TYPE_DAY_AND_TIME",
725
+ "TARGETING_TYPE_AGE_RANGE",
726
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
727
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
728
+ "TARGETING_TYPE_GENDER",
729
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
730
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
731
+ "TARGETING_TYPE_PARENTAL_STATUS",
732
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
733
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
734
+ "TARGETING_TYPE_DEVICE_TYPE",
735
+ "TARGETING_TYPE_AUDIENCE_GROUP",
736
+ "TARGETING_TYPE_BROWSER",
737
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
738
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
739
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
740
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
741
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
742
+ "TARGETING_TYPE_ENVIRONMENT",
743
+ "TARGETING_TYPE_CARRIER_AND_ISP",
744
+ "TARGETING_TYPE_OPERATING_SYSTEM",
745
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
746
+ "TARGETING_TYPE_KEYWORD",
747
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
748
+ "TARGETING_TYPE_VIEWABILITY",
749
+ "TARGETING_TYPE_CATEGORY",
750
+ "TARGETING_TYPE_INVENTORY_SOURCE",
751
+ "TARGETING_TYPE_LANGUAGE",
752
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
753
+ "TARGETING_TYPE_GEO_REGION",
754
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
755
+ "TARGETING_TYPE_EXCHANGE",
756
+ "TARGETING_TYPE_SUB_EXCHANGE",
757
+ "TARGETING_TYPE_POI",
758
+ "TARGETING_TYPE_BUSINESS_CHAIN",
759
+ "TARGETING_TYPE_CONTENT_DURATION",
760
+ "TARGETING_TYPE_CONTENT_STREAM_TYPE",
761
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
762
+ "TARGETING_TYPE_OMID",
763
+ "TARGETING_TYPE_AUDIO_CONTENT_TYPE",
764
+ "TARGETING_TYPE_CONTENT_GENRE",
765
+ "TARGETING_TYPE_YOUTUBE_VIDEO",
766
+ "TARGETING_TYPE_YOUTUBE_CHANNEL",
767
+ "TARGETING_TYPE_SESSION_POSITION"
768
+ ],
769
+ "enumDescriptions": [
770
+ "Default value when type is not specified or is unknown in this version.",
771
+ "Target a channel (a custom group of related websites or apps).",
772
+ "Target an app category (for example, education or puzzle games).",
773
+ "Target a specific app (for example, Angry Birds).",
774
+ "Target a specific url (for example, quora.com).",
775
+ "Target ads during a chosen time period on a specific day.",
776
+ "Target ads to a specific age range (for example, 18-24).",
777
+ "Target ads to the specified regions on a regional location list.",
778
+ "Target ads to the specified points of interest on a proximity location list.",
779
+ "Target ads to a specific gender (for example, female or male).",
780
+ "Target a specific video player size for video ads.",
781
+ "Target user rewarded content for video ads.",
782
+ "Target ads to a specific parental status (for example, parent or not a parent).",
783
+ "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).",
784
+ "Target ads in a specific content outstream position.",
785
+ "Target ads to a specific device type (for example, tablet or connected TV).",
786
+ "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.",
787
+ "Target ads to specific web browsers (for example, Chrome).",
788
+ "Target ads to a specific household income range (for example, top 10%).",
789
+ "Target ads in a specific on screen position.",
790
+ "Filter web sites through third party verification (for example, IAS or DoubleVerify).",
791
+ "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).",
792
+ "Filter website content by sensitive categories (for example, adult).",
793
+ "Target ads to a specific environment (for example, web or app).",
794
+ "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).",
795
+ "Target ads to a specific operating system (for example, macOS).",
796
+ "Target ads to a specific device make or model (for example, Roku or Samsung).",
797
+ "Target ads to a specific keyword (for example, dog or retriever).",
798
+ "Target ads to a specific negative keyword list.",
799
+ "Target ads to a specific viewability (for example, 80% viewable).",
800
+ "Target ads to a specific content category (for example, arts & entertainment).",
801
+ "Purchase impressions from specific deals and auction packages.",
802
+ "Target ads to a specific language (for example, English or Japanese).",
803
+ "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.",
804
+ "Target ads to a specific regional location (for example, a city or state).",
805
+ "Purchase impressions from a group of deals and auction packages.",
806
+ "Purchase impressions from specific exchanges.",
807
+ "Purchase impressions from specific sub-exchanges.",
808
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
809
+ "Target ads around locations of a business chain within a specific geo region.",
810
+ "Target ads to a specific video content duration.",
811
+ "Target ads to a specific video content stream type.",
812
+ "Target ads to a specific native content position.",
813
+ "Target ads in an Open Measurement enabled inventory.",
814
+ "Target ads to a specific audio content type.",
815
+ "Target ads to a specific content genre.",
816
+ "Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
817
+ "Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
818
+ "Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API."
819
+ ],
820
+ "location": "path",
821
+ "pattern": "^[^/]+$",
822
+ "required": true,
688
823
  "type": "string"
689
824
  }
690
825
  },
691
- "path": "v2/advertisers/{+advertiserId}/channels/{+channelId}",
826
+ "path": "v2/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}",
692
827
  "response": {
693
- "$ref": "Channel"
828
+ "$ref": "AssignedTargetingOption"
694
829
  },
695
830
  "scopes": [
696
831
  "https://www.googleapis.com/auth/display-video"
697
832
  ]
698
833
  },
699
834
  "list": {
700
- "description": "Lists channels for a partner or advertiser.",
701
- "flatPath": "v2/advertisers/{advertisersId}/channels",
835
+ "description": "Lists the targeting options assigned to a campaign for a specified targeting type.",
836
+ "flatPath": "v2/advertisers/{advertisersId}/campaigns/{campaignsId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions",
702
837
  "httpMethod": "GET",
703
- "id": "displayvideo.advertisers.channels.list",
838
+ "id": "displayvideo.advertisers.campaigns.targetingTypes.assignedTargetingOptions.list",
704
839
  "parameterOrder": [
705
- "advertiserId"
840
+ "advertiserId",
841
+ "campaignId",
842
+ "targetingType"
706
843
  ],
707
844
  "parameters": {
708
845
  "advertiserId": {
709
- "description": "The ID of the advertiser that owns the channels.",
846
+ "description": "Required. The ID of the advertiser the campaign belongs to.",
847
+ "format": "int64",
848
+ "location": "path",
849
+ "pattern": "^[^/]+$",
850
+ "required": true,
851
+ "type": "string"
852
+ },
853
+ "campaignId": {
854
+ "description": "Required. The ID of the campaign to list assigned targeting options for.",
710
855
  "format": "int64",
711
856
  "location": "path",
712
857
  "pattern": "^[^/]+$",
@@ -714,63 +859,166 @@
714
859
  "type": "string"
715
860
  },
716
861
  "filter": {
717
- "description": "Allows filtering by channel fields. Supported syntax: * Filter expressions for channel can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All channels for which the display name contains \"google\": `displayName : \"google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
862
+ "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2 `assignedTargetingOptionId=\"1\" OR assignedTargetingOptionId=\"2\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER` `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
718
863
  "location": "query",
719
864
  "type": "string"
720
865
  },
721
866
  "orderBy": {
722
- "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `channelId` The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `displayName desc`.",
867
+ "description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.",
723
868
  "location": "query",
724
869
  "type": "string"
725
870
  },
726
871
  "pageSize": {
727
- "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
872
+ "description": "Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
728
873
  "format": "int32",
729
874
  "location": "query",
730
875
  "type": "integer"
731
876
  },
732
877
  "pageToken": {
733
- "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListChannels` method. If not specified, the first page of results will be returned.",
734
- "location": "query",
735
- "type": "string"
736
- },
737
- "partnerId": {
738
- "description": "The ID of the partner that owns the channels.",
739
- "format": "int64",
878
+ "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListCampaignAssignedTargetingOptions` method. If not specified, the first page of results will be returned.",
740
879
  "location": "query",
741
880
  "type": "string"
742
- }
743
- },
744
- "path": "v2/advertisers/{+advertiserId}/channels",
745
- "response": {
746
- "$ref": "ListChannelsResponse"
747
- },
748
- "scopes": [
749
- "https://www.googleapis.com/auth/display-video"
750
- ]
751
881
  },
752
- "patch": {
753
- "description": "Updates a channel. Returns the updated channel if successful.",
754
- "flatPath": "v2/advertisers/{advertisersId}/channels/{channelId}",
755
- "httpMethod": "PATCH",
756
- "id": "displayvideo.advertisers.channels.patch",
757
- "parameterOrder": [
758
- "advertiserId",
759
- "channelId"
760
- ],
761
- "parameters": {
762
- "advertiserId": {
763
- "description": "The ID of the advertiser that owns the created channel.",
764
- "format": "int64",
882
+ "targetingType": {
883
+ "description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_VIEWABILITY`",
884
+ "enum": [
885
+ "TARGETING_TYPE_UNSPECIFIED",
886
+ "TARGETING_TYPE_CHANNEL",
887
+ "TARGETING_TYPE_APP_CATEGORY",
888
+ "TARGETING_TYPE_APP",
889
+ "TARGETING_TYPE_URL",
890
+ "TARGETING_TYPE_DAY_AND_TIME",
891
+ "TARGETING_TYPE_AGE_RANGE",
892
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
893
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
894
+ "TARGETING_TYPE_GENDER",
895
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
896
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
897
+ "TARGETING_TYPE_PARENTAL_STATUS",
898
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
899
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
900
+ "TARGETING_TYPE_DEVICE_TYPE",
901
+ "TARGETING_TYPE_AUDIENCE_GROUP",
902
+ "TARGETING_TYPE_BROWSER",
903
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
904
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
905
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
906
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
907
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
908
+ "TARGETING_TYPE_ENVIRONMENT",
909
+ "TARGETING_TYPE_CARRIER_AND_ISP",
910
+ "TARGETING_TYPE_OPERATING_SYSTEM",
911
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
912
+ "TARGETING_TYPE_KEYWORD",
913
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
914
+ "TARGETING_TYPE_VIEWABILITY",
915
+ "TARGETING_TYPE_CATEGORY",
916
+ "TARGETING_TYPE_INVENTORY_SOURCE",
917
+ "TARGETING_TYPE_LANGUAGE",
918
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
919
+ "TARGETING_TYPE_GEO_REGION",
920
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
921
+ "TARGETING_TYPE_EXCHANGE",
922
+ "TARGETING_TYPE_SUB_EXCHANGE",
923
+ "TARGETING_TYPE_POI",
924
+ "TARGETING_TYPE_BUSINESS_CHAIN",
925
+ "TARGETING_TYPE_CONTENT_DURATION",
926
+ "TARGETING_TYPE_CONTENT_STREAM_TYPE",
927
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
928
+ "TARGETING_TYPE_OMID",
929
+ "TARGETING_TYPE_AUDIO_CONTENT_TYPE",
930
+ "TARGETING_TYPE_CONTENT_GENRE",
931
+ "TARGETING_TYPE_YOUTUBE_VIDEO",
932
+ "TARGETING_TYPE_YOUTUBE_CHANNEL",
933
+ "TARGETING_TYPE_SESSION_POSITION"
934
+ ],
935
+ "enumDescriptions": [
936
+ "Default value when type is not specified or is unknown in this version.",
937
+ "Target a channel (a custom group of related websites or apps).",
938
+ "Target an app category (for example, education or puzzle games).",
939
+ "Target a specific app (for example, Angry Birds).",
940
+ "Target a specific url (for example, quora.com).",
941
+ "Target ads during a chosen time period on a specific day.",
942
+ "Target ads to a specific age range (for example, 18-24).",
943
+ "Target ads to the specified regions on a regional location list.",
944
+ "Target ads to the specified points of interest on a proximity location list.",
945
+ "Target ads to a specific gender (for example, female or male).",
946
+ "Target a specific video player size for video ads.",
947
+ "Target user rewarded content for video ads.",
948
+ "Target ads to a specific parental status (for example, parent or not a parent).",
949
+ "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).",
950
+ "Target ads in a specific content outstream position.",
951
+ "Target ads to a specific device type (for example, tablet or connected TV).",
952
+ "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.",
953
+ "Target ads to specific web browsers (for example, Chrome).",
954
+ "Target ads to a specific household income range (for example, top 10%).",
955
+ "Target ads in a specific on screen position.",
956
+ "Filter web sites through third party verification (for example, IAS or DoubleVerify).",
957
+ "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).",
958
+ "Filter website content by sensitive categories (for example, adult).",
959
+ "Target ads to a specific environment (for example, web or app).",
960
+ "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).",
961
+ "Target ads to a specific operating system (for example, macOS).",
962
+ "Target ads to a specific device make or model (for example, Roku or Samsung).",
963
+ "Target ads to a specific keyword (for example, dog or retriever).",
964
+ "Target ads to a specific negative keyword list.",
965
+ "Target ads to a specific viewability (for example, 80% viewable).",
966
+ "Target ads to a specific content category (for example, arts & entertainment).",
967
+ "Purchase impressions from specific deals and auction packages.",
968
+ "Target ads to a specific language (for example, English or Japanese).",
969
+ "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.",
970
+ "Target ads to a specific regional location (for example, a city or state).",
971
+ "Purchase impressions from a group of deals and auction packages.",
972
+ "Purchase impressions from specific exchanges.",
973
+ "Purchase impressions from specific sub-exchanges.",
974
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
975
+ "Target ads around locations of a business chain within a specific geo region.",
976
+ "Target ads to a specific video content duration.",
977
+ "Target ads to a specific video content stream type.",
978
+ "Target ads to a specific native content position.",
979
+ "Target ads in an Open Measurement enabled inventory.",
980
+ "Target ads to a specific audio content type.",
981
+ "Target ads to a specific content genre.",
982
+ "Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
983
+ "Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
984
+ "Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API."
985
+ ],
765
986
  "location": "path",
766
987
  "pattern": "^[^/]+$",
767
988
  "required": true,
768
989
  "type": "string"
990
+ }
769
991
  },
770
- "channelId": {
771
- "description": "Output only. The unique ID of the channel. Assigned by the system.",
992
+ "path": "v2/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions",
993
+ "response": {
994
+ "$ref": "ListCampaignAssignedTargetingOptionsResponse"
995
+ },
996
+ "scopes": [
997
+ "https://www.googleapis.com/auth/display-video"
998
+ ]
999
+ }
1000
+ }
1001
+ }
1002
+ }
1003
+ }
1004
+ }
1005
+ },
1006
+ "channels": {
1007
+ "methods": {
1008
+ "create": {
1009
+ "description": "Creates a new channel. Returns the newly created channel if successful.",
1010
+ "flatPath": "v2/advertisers/{advertisersId}/channels",
1011
+ "httpMethod": "POST",
1012
+ "id": "displayvideo.advertisers.channels.create",
1013
+ "parameterOrder": [
1014
+ "advertiserId"
1015
+ ],
1016
+ "parameters": {
1017
+ "advertiserId": {
1018
+ "description": "The ID of the advertiser that owns the created channel.",
772
1019
  "format": "int64",
773
1020
  "location": "path",
1021
+ "pattern": "^[^/]+$",
774
1022
  "required": true,
775
1023
  "type": "string"
776
1024
  },
@@ -779,15 +1027,9 @@
779
1027
  "format": "int64",
780
1028
  "location": "query",
781
1029
  "type": "string"
782
- },
783
- "updateMask": {
784
- "description": "Required. The mask to control which fields to update.",
785
- "format": "google-fieldmask",
786
- "location": "query",
787
- "type": "string"
788
1030
  }
789
1031
  },
790
- "path": "v2/advertisers/{+advertiserId}/channels/{channelId}",
1032
+ "path": "v2/advertisers/{+advertiserId}/channels",
791
1033
  "request": {
792
1034
  "$ref": "Channel"
793
1035
  },
@@ -797,132 +1039,275 @@
797
1039
  "scopes": [
798
1040
  "https://www.googleapis.com/auth/display-video"
799
1041
  ]
800
- }
801
1042
  },
802
- "resources": {
803
- "sites": {
804
- "methods": {
805
- "bulkEdit": {
806
- "description": "Bulk edits sites under a single channel. The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided in BulkEditSitesRequest.created_sites.",
807
- "flatPath": "v2/advertisers/{advertiserId}/channels/{channelsId}/sites:bulkEdit",
808
- "httpMethod": "POST",
809
- "id": "displayvideo.advertisers.channels.sites.bulkEdit",
1043
+ "get": {
1044
+ "description": "Gets a channel for a partner or advertiser.",
1045
+ "flatPath": "v2/advertisers/{advertisersId}/channels/{channelsId}",
1046
+ "httpMethod": "GET",
1047
+ "id": "displayvideo.advertisers.channels.get",
810
1048
  "parameterOrder": [
811
1049
  "advertiserId",
812
1050
  "channelId"
813
1051
  ],
814
1052
  "parameters": {
815
1053
  "advertiserId": {
816
- "description": "The ID of the advertiser that owns the parent channel.",
1054
+ "description": "The ID of the advertiser that owns the fetched channel.",
817
1055
  "format": "int64",
818
1056
  "location": "path",
1057
+ "pattern": "^[^/]+$",
819
1058
  "required": true,
820
1059
  "type": "string"
821
1060
  },
822
1061
  "channelId": {
823
- "description": "Required. The ID of the parent channel to which the sites belong.",
1062
+ "description": "Required. The ID of the channel to fetch.",
824
1063
  "format": "int64",
825
1064
  "location": "path",
826
1065
  "pattern": "^[^/]+$",
827
1066
  "required": true,
828
1067
  "type": "string"
829
- }
830
1068
  },
831
- "path": "v2/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit",
832
- "request": {
833
- "$ref": "BulkEditSitesRequest"
1069
+ "partnerId": {
1070
+ "description": "The ID of the partner that owns the fetched channel.",
1071
+ "format": "int64",
1072
+ "location": "query",
1073
+ "type": "string"
1074
+ }
834
1075
  },
1076
+ "path": "v2/advertisers/{+advertiserId}/channels/{+channelId}",
835
1077
  "response": {
836
- "$ref": "BulkEditSitesResponse"
1078
+ "$ref": "Channel"
837
1079
  },
838
1080
  "scopes": [
839
1081
  "https://www.googleapis.com/auth/display-video"
840
1082
  ]
841
1083
  },
842
- "create": {
843
- "description": "Creates a site in a channel.",
844
- "flatPath": "v2/advertisers/{advertiserId}/channels/{channelsId}/sites",
845
- "httpMethod": "POST",
846
- "id": "displayvideo.advertisers.channels.sites.create",
1084
+ "list": {
1085
+ "description": "Lists channels for a partner or advertiser.",
1086
+ "flatPath": "v2/advertisers/{advertisersId}/channels",
1087
+ "httpMethod": "GET",
1088
+ "id": "displayvideo.advertisers.channels.list",
847
1089
  "parameterOrder": [
848
- "advertiserId",
849
- "channelId"
1090
+ "advertiserId"
850
1091
  ],
851
1092
  "parameters": {
852
1093
  "advertiserId": {
853
- "description": "The ID of the advertiser that owns the parent channel.",
1094
+ "description": "The ID of the advertiser that owns the channels.",
854
1095
  "format": "int64",
855
1096
  "location": "path",
1097
+ "pattern": "^[^/]+$",
856
1098
  "required": true,
857
1099
  "type": "string"
858
1100
  },
859
- "channelId": {
860
- "description": "Required. The ID of the parent channel in which the site will be created.",
861
- "format": "int64",
862
- "location": "path",
863
- "pattern": "^[^/]+$",
864
- "required": true,
1101
+ "filter": {
1102
+ "description": "Allows filtering by channel fields. Supported syntax: * Filter expressions for channel can only contain at most one restriction. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `HAS (:)` operator. Supported fields: * `displayName` Examples: * All channels for which the display name contains \"google\": `displayName : \"google\"`. The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
1103
+ "location": "query",
1104
+ "type": "string"
1105
+ },
1106
+ "orderBy": {
1107
+ "description": "Field by which to sort the list. Acceptable values are: * `displayName` (default) * `channelId` The default sorting order is ascending. To specify descending order for a field, a suffix \" desc\" should be added to the field name. Example: `displayName desc`.",
1108
+ "location": "query",
1109
+ "type": "string"
1110
+ },
1111
+ "pageSize": {
1112
+ "description": "Requested page size. Must be between `1` and `200`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
1113
+ "format": "int32",
1114
+ "location": "query",
1115
+ "type": "integer"
1116
+ },
1117
+ "pageToken": {
1118
+ "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListChannels` method. If not specified, the first page of results will be returned.",
1119
+ "location": "query",
865
1120
  "type": "string"
866
1121
  },
867
1122
  "partnerId": {
868
- "description": "The ID of the partner that owns the parent channel.",
1123
+ "description": "The ID of the partner that owns the channels.",
869
1124
  "format": "int64",
870
1125
  "location": "query",
871
1126
  "type": "string"
872
1127
  }
873
1128
  },
874
- "path": "v2/advertisers/{advertiserId}/channels/{+channelId}/sites",
875
- "request": {
876
- "$ref": "Site"
877
- },
1129
+ "path": "v2/advertisers/{+advertiserId}/channels",
878
1130
  "response": {
879
- "$ref": "Site"
1131
+ "$ref": "ListChannelsResponse"
880
1132
  },
881
1133
  "scopes": [
882
1134
  "https://www.googleapis.com/auth/display-video"
883
1135
  ]
884
1136
  },
885
- "delete": {
886
- "description": "Deletes a site from a channel.",
887
- "flatPath": "v2/advertisers/{advertiserId}/channels/{channelsId}/sites/{sitesId}",
888
- "httpMethod": "DELETE",
889
- "id": "displayvideo.advertisers.channels.sites.delete",
1137
+ "patch": {
1138
+ "description": "Updates a channel. Returns the updated channel if successful.",
1139
+ "flatPath": "v2/advertisers/{advertisersId}/channels/{channelId}",
1140
+ "httpMethod": "PATCH",
1141
+ "id": "displayvideo.advertisers.channels.patch",
890
1142
  "parameterOrder": [
891
1143
  "advertiserId",
892
- "channelId",
893
- "urlOrAppId"
1144
+ "channelId"
894
1145
  ],
895
1146
  "parameters": {
896
1147
  "advertiserId": {
897
- "description": "The ID of the advertiser that owns the parent channel.",
1148
+ "description": "The ID of the advertiser that owns the created channel.",
898
1149
  "format": "int64",
899
1150
  "location": "path",
1151
+ "pattern": "^[^/]+$",
900
1152
  "required": true,
901
1153
  "type": "string"
902
1154
  },
903
1155
  "channelId": {
904
- "description": "Required. The ID of the parent channel to which the site belongs.",
1156
+ "description": "Output only. The unique ID of the channel. Assigned by the system.",
905
1157
  "format": "int64",
906
1158
  "location": "path",
907
- "pattern": "^[^/]+$",
908
1159
  "required": true,
909
1160
  "type": "string"
910
1161
  },
911
1162
  "partnerId": {
912
- "description": "The ID of the partner that owns the parent channel.",
1163
+ "description": "The ID of the partner that owns the created channel.",
913
1164
  "format": "int64",
914
1165
  "location": "query",
915
1166
  "type": "string"
916
1167
  },
917
- "urlOrAppId": {
918
- "description": "Required. The URL or app ID of the site to delete.",
919
- "location": "path",
920
- "pattern": "^[^/]+$",
921
- "required": true,
1168
+ "updateMask": {
1169
+ "description": "Required. The mask to control which fields to update.",
1170
+ "format": "google-fieldmask",
1171
+ "location": "query",
922
1172
  "type": "string"
923
1173
  }
924
1174
  },
925
- "path": "v2/advertisers/{advertiserId}/channels/{+channelId}/sites/{+urlOrAppId}",
1175
+ "path": "v2/advertisers/{+advertiserId}/channels/{channelId}",
1176
+ "request": {
1177
+ "$ref": "Channel"
1178
+ },
1179
+ "response": {
1180
+ "$ref": "Channel"
1181
+ },
1182
+ "scopes": [
1183
+ "https://www.googleapis.com/auth/display-video"
1184
+ ]
1185
+ }
1186
+ },
1187
+ "resources": {
1188
+ "sites": {
1189
+ "methods": {
1190
+ "bulkEdit": {
1191
+ "description": "Bulk edits sites under a single channel. The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided in BulkEditSitesRequest.created_sites.",
1192
+ "flatPath": "v2/advertisers/{advertiserId}/channels/{channelsId}/sites:bulkEdit",
1193
+ "httpMethod": "POST",
1194
+ "id": "displayvideo.advertisers.channels.sites.bulkEdit",
1195
+ "parameterOrder": [
1196
+ "advertiserId",
1197
+ "channelId"
1198
+ ],
1199
+ "parameters": {
1200
+ "advertiserId": {
1201
+ "description": "The ID of the advertiser that owns the parent channel.",
1202
+ "format": "int64",
1203
+ "location": "path",
1204
+ "required": true,
1205
+ "type": "string"
1206
+ },
1207
+ "channelId": {
1208
+ "description": "Required. The ID of the parent channel to which the sites belong.",
1209
+ "format": "int64",
1210
+ "location": "path",
1211
+ "pattern": "^[^/]+$",
1212
+ "required": true,
1213
+ "type": "string"
1214
+ }
1215
+ },
1216
+ "path": "v2/advertisers/{advertiserId}/channels/{+channelId}/sites:bulkEdit",
1217
+ "request": {
1218
+ "$ref": "BulkEditSitesRequest"
1219
+ },
1220
+ "response": {
1221
+ "$ref": "BulkEditSitesResponse"
1222
+ },
1223
+ "scopes": [
1224
+ "https://www.googleapis.com/auth/display-video"
1225
+ ]
1226
+ },
1227
+ "create": {
1228
+ "description": "Creates a site in a channel.",
1229
+ "flatPath": "v2/advertisers/{advertiserId}/channels/{channelsId}/sites",
1230
+ "httpMethod": "POST",
1231
+ "id": "displayvideo.advertisers.channels.sites.create",
1232
+ "parameterOrder": [
1233
+ "advertiserId",
1234
+ "channelId"
1235
+ ],
1236
+ "parameters": {
1237
+ "advertiserId": {
1238
+ "description": "The ID of the advertiser that owns the parent channel.",
1239
+ "format": "int64",
1240
+ "location": "path",
1241
+ "required": true,
1242
+ "type": "string"
1243
+ },
1244
+ "channelId": {
1245
+ "description": "Required. The ID of the parent channel in which the site will be created.",
1246
+ "format": "int64",
1247
+ "location": "path",
1248
+ "pattern": "^[^/]+$",
1249
+ "required": true,
1250
+ "type": "string"
1251
+ },
1252
+ "partnerId": {
1253
+ "description": "The ID of the partner that owns the parent channel.",
1254
+ "format": "int64",
1255
+ "location": "query",
1256
+ "type": "string"
1257
+ }
1258
+ },
1259
+ "path": "v2/advertisers/{advertiserId}/channels/{+channelId}/sites",
1260
+ "request": {
1261
+ "$ref": "Site"
1262
+ },
1263
+ "response": {
1264
+ "$ref": "Site"
1265
+ },
1266
+ "scopes": [
1267
+ "https://www.googleapis.com/auth/display-video"
1268
+ ]
1269
+ },
1270
+ "delete": {
1271
+ "description": "Deletes a site from a channel.",
1272
+ "flatPath": "v2/advertisers/{advertiserId}/channels/{channelsId}/sites/{sitesId}",
1273
+ "httpMethod": "DELETE",
1274
+ "id": "displayvideo.advertisers.channels.sites.delete",
1275
+ "parameterOrder": [
1276
+ "advertiserId",
1277
+ "channelId",
1278
+ "urlOrAppId"
1279
+ ],
1280
+ "parameters": {
1281
+ "advertiserId": {
1282
+ "description": "The ID of the advertiser that owns the parent channel.",
1283
+ "format": "int64",
1284
+ "location": "path",
1285
+ "required": true,
1286
+ "type": "string"
1287
+ },
1288
+ "channelId": {
1289
+ "description": "Required. The ID of the parent channel to which the site belongs.",
1290
+ "format": "int64",
1291
+ "location": "path",
1292
+ "pattern": "^[^/]+$",
1293
+ "required": true,
1294
+ "type": "string"
1295
+ },
1296
+ "partnerId": {
1297
+ "description": "The ID of the partner that owns the parent channel.",
1298
+ "format": "int64",
1299
+ "location": "query",
1300
+ "type": "string"
1301
+ },
1302
+ "urlOrAppId": {
1303
+ "description": "Required. The URL or app ID of the site to delete.",
1304
+ "location": "path",
1305
+ "pattern": "^[^/]+$",
1306
+ "required": true,
1307
+ "type": "string"
1308
+ }
1309
+ },
1310
+ "path": "v2/advertisers/{advertiserId}/channels/{+channelId}/sites/{+urlOrAppId}",
926
1311
  "response": {
927
1312
  "$ref": "Empty"
928
1313
  },
@@ -1302,43 +1687,652 @@
1302
1687
  "advertiserId",
1303
1688
  "insertionOrderId"
1304
1689
  ],
1305
- "parameters": {
1306
- "advertiserId": {
1307
- "description": "Required. The ID of the advertiser this insertion order belongs to.",
1308
- "format": "int64",
1309
- "location": "path",
1310
- "pattern": "^[^/]+$",
1311
- "required": true,
1312
- "type": "string"
1313
- },
1314
- "insertionOrderId": {
1315
- "description": "Required. The ID of the insertion order to fetch.",
1316
- "format": "int64",
1690
+ "parameters": {
1691
+ "advertiserId": {
1692
+ "description": "Required. The ID of the advertiser this insertion order belongs to.",
1693
+ "format": "int64",
1694
+ "location": "path",
1695
+ "pattern": "^[^/]+$",
1696
+ "required": true,
1697
+ "type": "string"
1698
+ },
1699
+ "insertionOrderId": {
1700
+ "description": "Required. The ID of the insertion order to fetch.",
1701
+ "format": "int64",
1702
+ "location": "path",
1703
+ "pattern": "^[^/]+$",
1704
+ "required": true,
1705
+ "type": "string"
1706
+ }
1707
+ },
1708
+ "path": "v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}",
1709
+ "response": {
1710
+ "$ref": "InsertionOrder"
1711
+ },
1712
+ "scopes": [
1713
+ "https://www.googleapis.com/auth/display-video"
1714
+ ]
1715
+ },
1716
+ "list": {
1717
+ "description": "Lists insertion orders in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, insertion orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results.",
1718
+ "flatPath": "v2/advertisers/{advertisersId}/insertionOrders",
1719
+ "httpMethod": "GET",
1720
+ "id": "displayvideo.advertisers.insertionOrders.list",
1721
+ "parameterOrder": [
1722
+ "advertiserId"
1723
+ ],
1724
+ "parameters": {
1725
+ "advertiserId": {
1726
+ "description": "Required. The ID of the advertiser to list insertion orders for.",
1727
+ "format": "int64",
1728
+ "location": "path",
1729
+ "pattern": "^[^/]+$",
1730
+ "required": true,
1731
+ "type": "string"
1732
+ },
1733
+ "filter": {
1734
+ "description": "Allows filtering by insertion order fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All insertion orders under a campaign: `campaignId=\"1234\"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\")` * All insertion orders with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All insertion orders with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
1735
+ "location": "query",
1736
+ "type": "string"
1737
+ },
1738
+ "orderBy": {
1739
+ "description": "Field by which to sort the list. Acceptable values are: * \"displayName\" (default) * \"entityStatus\" * \"updateTime\" The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.",
1740
+ "location": "query",
1741
+ "type": "string"
1742
+ },
1743
+ "pageSize": {
1744
+ "description": "Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
1745
+ "format": "int32",
1746
+ "location": "query",
1747
+ "type": "integer"
1748
+ },
1749
+ "pageToken": {
1750
+ "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInsertionOrders` method. If not specified, the first page of results will be returned.",
1751
+ "location": "query",
1752
+ "type": "string"
1753
+ }
1754
+ },
1755
+ "path": "v2/advertisers/{+advertiserId}/insertionOrders",
1756
+ "response": {
1757
+ "$ref": "ListInsertionOrdersResponse"
1758
+ },
1759
+ "scopes": [
1760
+ "https://www.googleapis.com/auth/display-video"
1761
+ ]
1762
+ },
1763
+ "listAssignedTargetingOptions": {
1764
+ "description": "Lists assigned targeting options of an insertion order across targeting types.",
1765
+ "flatPath": "v2/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}:listAssignedTargetingOptions",
1766
+ "httpMethod": "GET",
1767
+ "id": "displayvideo.advertisers.insertionOrders.listAssignedTargetingOptions",
1768
+ "parameterOrder": [
1769
+ "advertiserId",
1770
+ "insertionOrderId"
1771
+ ],
1772
+ "parameters": {
1773
+ "advertiserId": {
1774
+ "description": "Required. The ID of the advertiser the insertion order belongs to.",
1775
+ "format": "int64",
1776
+ "location": "path",
1777
+ "pattern": "^[^/]+$",
1778
+ "required": true,
1779
+ "type": "string"
1780
+ },
1781
+ "filter": {
1782
+ "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `targetingType` * `inheritance` Examples: * `AssignedTargetingOption` resources of targeting type `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or `TARGETING_TYPE_CHANNEL`: `targetingType=\"TARGETING_TYPE_PROXIMITY_LOCATION_LIST\" OR targetingType=\"TARGETING_TYPE_CHANNEL\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
1783
+ "location": "query",
1784
+ "type": "string"
1785
+ },
1786
+ "insertionOrderId": {
1787
+ "description": "Required. The ID of the insertion order to list assigned targeting options for.",
1788
+ "format": "int64",
1789
+ "location": "path",
1790
+ "pattern": "^[^/]+$",
1791
+ "required": true,
1792
+ "type": "string"
1793
+ },
1794
+ "orderBy": {
1795
+ "description": "Field by which to sort the list. Acceptable values are: * `targetingType` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `targetingType desc`.",
1796
+ "location": "query",
1797
+ "type": "string"
1798
+ },
1799
+ "pageSize": {
1800
+ "description": "Requested page size. The size must be an integer between `1` and `5000`. If unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
1801
+ "format": "int32",
1802
+ "location": "query",
1803
+ "type": "integer"
1804
+ },
1805
+ "pageToken": {
1806
+ "description": "A token that lets the client fetch the next page of results. Typically, this is the value of next_page_token returned from the previous call to `BulkListInsertionOrderAssignedTargetingOptions` method. If not specified, the first page of results will be returned.",
1807
+ "location": "query",
1808
+ "type": "string"
1809
+ }
1810
+ },
1811
+ "path": "v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}:listAssignedTargetingOptions",
1812
+ "response": {
1813
+ "$ref": "BulkListInsertionOrderAssignedTargetingOptionsResponse"
1814
+ },
1815
+ "scopes": [
1816
+ "https://www.googleapis.com/auth/display-video"
1817
+ ]
1818
+ },
1819
+ "patch": {
1820
+ "description": "Updates an existing insertion order. Returns the updated insertion order if successful.",
1821
+ "flatPath": "v2/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}",
1822
+ "httpMethod": "PATCH",
1823
+ "id": "displayvideo.advertisers.insertionOrders.patch",
1824
+ "parameterOrder": [
1825
+ "advertiserId",
1826
+ "insertionOrderId"
1827
+ ],
1828
+ "parameters": {
1829
+ "advertiserId": {
1830
+ "description": "Output only. The unique ID of the advertiser the insertion order belongs to.",
1831
+ "format": "int64",
1832
+ "location": "path",
1833
+ "pattern": "^[^/]+$",
1834
+ "required": true,
1835
+ "type": "string"
1836
+ },
1837
+ "insertionOrderId": {
1838
+ "description": "Output only. The unique ID of the insertion order. Assigned by the system.",
1839
+ "format": "int64",
1840
+ "location": "path",
1841
+ "pattern": "^[^/]+$",
1842
+ "required": true,
1843
+ "type": "string"
1844
+ },
1845
+ "updateMask": {
1846
+ "description": "Required. The mask to control which fields to update.",
1847
+ "format": "google-fieldmask",
1848
+ "location": "query",
1849
+ "type": "string"
1850
+ }
1851
+ },
1852
+ "path": "v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}",
1853
+ "request": {
1854
+ "$ref": "InsertionOrder"
1855
+ },
1856
+ "response": {
1857
+ "$ref": "InsertionOrder"
1858
+ },
1859
+ "scopes": [
1860
+ "https://www.googleapis.com/auth/display-video"
1861
+ ]
1862
+ }
1863
+ },
1864
+ "resources": {
1865
+ "targetingTypes": {
1866
+ "resources": {
1867
+ "assignedTargetingOptions": {
1868
+ "methods": {
1869
+ "create": {
1870
+ "description": "Assigns a targeting option to an insertion order. Returns the assigned targeting option if successful. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`",
1871
+ "flatPath": "v2/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions",
1872
+ "httpMethod": "POST",
1873
+ "id": "displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.create",
1874
+ "parameterOrder": [
1875
+ "advertiserId",
1876
+ "insertionOrderId",
1877
+ "targetingType"
1878
+ ],
1879
+ "parameters": {
1880
+ "advertiserId": {
1881
+ "description": "Required. The ID of the advertiser the insertion order belongs to.",
1882
+ "format": "int64",
1883
+ "location": "path",
1884
+ "pattern": "^[^/]+$",
1885
+ "required": true,
1886
+ "type": "string"
1887
+ },
1888
+ "insertionOrderId": {
1889
+ "description": "Required. The ID of the insertion order the assigned targeting option will belong to.",
1890
+ "format": "int64",
1891
+ "location": "path",
1892
+ "pattern": "^[^/]+$",
1893
+ "required": true,
1894
+ "type": "string"
1895
+ },
1896
+ "targetingType": {
1897
+ "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`",
1898
+ "enum": [
1899
+ "TARGETING_TYPE_UNSPECIFIED",
1900
+ "TARGETING_TYPE_CHANNEL",
1901
+ "TARGETING_TYPE_APP_CATEGORY",
1902
+ "TARGETING_TYPE_APP",
1903
+ "TARGETING_TYPE_URL",
1904
+ "TARGETING_TYPE_DAY_AND_TIME",
1905
+ "TARGETING_TYPE_AGE_RANGE",
1906
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
1907
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
1908
+ "TARGETING_TYPE_GENDER",
1909
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
1910
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
1911
+ "TARGETING_TYPE_PARENTAL_STATUS",
1912
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
1913
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
1914
+ "TARGETING_TYPE_DEVICE_TYPE",
1915
+ "TARGETING_TYPE_AUDIENCE_GROUP",
1916
+ "TARGETING_TYPE_BROWSER",
1917
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
1918
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
1919
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
1920
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
1921
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
1922
+ "TARGETING_TYPE_ENVIRONMENT",
1923
+ "TARGETING_TYPE_CARRIER_AND_ISP",
1924
+ "TARGETING_TYPE_OPERATING_SYSTEM",
1925
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
1926
+ "TARGETING_TYPE_KEYWORD",
1927
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
1928
+ "TARGETING_TYPE_VIEWABILITY",
1929
+ "TARGETING_TYPE_CATEGORY",
1930
+ "TARGETING_TYPE_INVENTORY_SOURCE",
1931
+ "TARGETING_TYPE_LANGUAGE",
1932
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
1933
+ "TARGETING_TYPE_GEO_REGION",
1934
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
1935
+ "TARGETING_TYPE_EXCHANGE",
1936
+ "TARGETING_TYPE_SUB_EXCHANGE",
1937
+ "TARGETING_TYPE_POI",
1938
+ "TARGETING_TYPE_BUSINESS_CHAIN",
1939
+ "TARGETING_TYPE_CONTENT_DURATION",
1940
+ "TARGETING_TYPE_CONTENT_STREAM_TYPE",
1941
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
1942
+ "TARGETING_TYPE_OMID",
1943
+ "TARGETING_TYPE_AUDIO_CONTENT_TYPE",
1944
+ "TARGETING_TYPE_CONTENT_GENRE",
1945
+ "TARGETING_TYPE_YOUTUBE_VIDEO",
1946
+ "TARGETING_TYPE_YOUTUBE_CHANNEL",
1947
+ "TARGETING_TYPE_SESSION_POSITION"
1948
+ ],
1949
+ "enumDescriptions": [
1950
+ "Default value when type is not specified or is unknown in this version.",
1951
+ "Target a channel (a custom group of related websites or apps).",
1952
+ "Target an app category (for example, education or puzzle games).",
1953
+ "Target a specific app (for example, Angry Birds).",
1954
+ "Target a specific url (for example, quora.com).",
1955
+ "Target ads during a chosen time period on a specific day.",
1956
+ "Target ads to a specific age range (for example, 18-24).",
1957
+ "Target ads to the specified regions on a regional location list.",
1958
+ "Target ads to the specified points of interest on a proximity location list.",
1959
+ "Target ads to a specific gender (for example, female or male).",
1960
+ "Target a specific video player size for video ads.",
1961
+ "Target user rewarded content for video ads.",
1962
+ "Target ads to a specific parental status (for example, parent or not a parent).",
1963
+ "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).",
1964
+ "Target ads in a specific content outstream position.",
1965
+ "Target ads to a specific device type (for example, tablet or connected TV).",
1966
+ "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.",
1967
+ "Target ads to specific web browsers (for example, Chrome).",
1968
+ "Target ads to a specific household income range (for example, top 10%).",
1969
+ "Target ads in a specific on screen position.",
1970
+ "Filter web sites through third party verification (for example, IAS or DoubleVerify).",
1971
+ "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).",
1972
+ "Filter website content by sensitive categories (for example, adult).",
1973
+ "Target ads to a specific environment (for example, web or app).",
1974
+ "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).",
1975
+ "Target ads to a specific operating system (for example, macOS).",
1976
+ "Target ads to a specific device make or model (for example, Roku or Samsung).",
1977
+ "Target ads to a specific keyword (for example, dog or retriever).",
1978
+ "Target ads to a specific negative keyword list.",
1979
+ "Target ads to a specific viewability (for example, 80% viewable).",
1980
+ "Target ads to a specific content category (for example, arts & entertainment).",
1981
+ "Purchase impressions from specific deals and auction packages.",
1982
+ "Target ads to a specific language (for example, English or Japanese).",
1983
+ "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.",
1984
+ "Target ads to a specific regional location (for example, a city or state).",
1985
+ "Purchase impressions from a group of deals and auction packages.",
1986
+ "Purchase impressions from specific exchanges.",
1987
+ "Purchase impressions from specific sub-exchanges.",
1988
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
1989
+ "Target ads around locations of a business chain within a specific geo region.",
1990
+ "Target ads to a specific video content duration.",
1991
+ "Target ads to a specific video content stream type.",
1992
+ "Target ads to a specific native content position.",
1993
+ "Target ads in an Open Measurement enabled inventory.",
1994
+ "Target ads to a specific audio content type.",
1995
+ "Target ads to a specific content genre.",
1996
+ "Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
1997
+ "Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
1998
+ "Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API."
1999
+ ],
2000
+ "location": "path",
2001
+ "pattern": "^[^/]+$",
2002
+ "required": true,
2003
+ "type": "string"
2004
+ }
2005
+ },
2006
+ "path": "v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions",
2007
+ "request": {
2008
+ "$ref": "AssignedTargetingOption"
2009
+ },
2010
+ "response": {
2011
+ "$ref": "AssignedTargetingOption"
2012
+ },
2013
+ "scopes": [
2014
+ "https://www.googleapis.com/auth/display-video"
2015
+ ]
2016
+ },
2017
+ "delete": {
2018
+ "description": "Deletes an assigned targeting option from an insertion order. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`",
2019
+ "flatPath": "v2/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}",
2020
+ "httpMethod": "DELETE",
2021
+ "id": "displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.delete",
2022
+ "parameterOrder": [
2023
+ "advertiserId",
2024
+ "insertionOrderId",
2025
+ "targetingType",
2026
+ "assignedTargetingOptionId"
2027
+ ],
2028
+ "parameters": {
2029
+ "advertiserId": {
2030
+ "description": "Required. The ID of the advertiser the insertion order belongs to.",
2031
+ "format": "int64",
2032
+ "location": "path",
2033
+ "pattern": "^[^/]+$",
2034
+ "required": true,
2035
+ "type": "string"
2036
+ },
2037
+ "assignedTargetingOptionId": {
2038
+ "description": "Required. The ID of the assigned targeting option to delete.",
2039
+ "location": "path",
2040
+ "pattern": "^[^/]+$",
2041
+ "required": true,
2042
+ "type": "string"
2043
+ },
2044
+ "insertionOrderId": {
2045
+ "description": "Required. The ID of the insertion order the assigned targeting option belongs to.",
2046
+ "format": "int64",
2047
+ "location": "path",
2048
+ "pattern": "^[^/]+$",
2049
+ "required": true,
2050
+ "type": "string"
2051
+ },
2052
+ "targetingType": {
2053
+ "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY`",
2054
+ "enum": [
2055
+ "TARGETING_TYPE_UNSPECIFIED",
2056
+ "TARGETING_TYPE_CHANNEL",
2057
+ "TARGETING_TYPE_APP_CATEGORY",
2058
+ "TARGETING_TYPE_APP",
2059
+ "TARGETING_TYPE_URL",
2060
+ "TARGETING_TYPE_DAY_AND_TIME",
2061
+ "TARGETING_TYPE_AGE_RANGE",
2062
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
2063
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
2064
+ "TARGETING_TYPE_GENDER",
2065
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
2066
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
2067
+ "TARGETING_TYPE_PARENTAL_STATUS",
2068
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
2069
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
2070
+ "TARGETING_TYPE_DEVICE_TYPE",
2071
+ "TARGETING_TYPE_AUDIENCE_GROUP",
2072
+ "TARGETING_TYPE_BROWSER",
2073
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
2074
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
2075
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
2076
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
2077
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
2078
+ "TARGETING_TYPE_ENVIRONMENT",
2079
+ "TARGETING_TYPE_CARRIER_AND_ISP",
2080
+ "TARGETING_TYPE_OPERATING_SYSTEM",
2081
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
2082
+ "TARGETING_TYPE_KEYWORD",
2083
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
2084
+ "TARGETING_TYPE_VIEWABILITY",
2085
+ "TARGETING_TYPE_CATEGORY",
2086
+ "TARGETING_TYPE_INVENTORY_SOURCE",
2087
+ "TARGETING_TYPE_LANGUAGE",
2088
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
2089
+ "TARGETING_TYPE_GEO_REGION",
2090
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
2091
+ "TARGETING_TYPE_EXCHANGE",
2092
+ "TARGETING_TYPE_SUB_EXCHANGE",
2093
+ "TARGETING_TYPE_POI",
2094
+ "TARGETING_TYPE_BUSINESS_CHAIN",
2095
+ "TARGETING_TYPE_CONTENT_DURATION",
2096
+ "TARGETING_TYPE_CONTENT_STREAM_TYPE",
2097
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
2098
+ "TARGETING_TYPE_OMID",
2099
+ "TARGETING_TYPE_AUDIO_CONTENT_TYPE",
2100
+ "TARGETING_TYPE_CONTENT_GENRE",
2101
+ "TARGETING_TYPE_YOUTUBE_VIDEO",
2102
+ "TARGETING_TYPE_YOUTUBE_CHANNEL",
2103
+ "TARGETING_TYPE_SESSION_POSITION"
2104
+ ],
2105
+ "enumDescriptions": [
2106
+ "Default value when type is not specified or is unknown in this version.",
2107
+ "Target a channel (a custom group of related websites or apps).",
2108
+ "Target an app category (for example, education or puzzle games).",
2109
+ "Target a specific app (for example, Angry Birds).",
2110
+ "Target a specific url (for example, quora.com).",
2111
+ "Target ads during a chosen time period on a specific day.",
2112
+ "Target ads to a specific age range (for example, 18-24).",
2113
+ "Target ads to the specified regions on a regional location list.",
2114
+ "Target ads to the specified points of interest on a proximity location list.",
2115
+ "Target ads to a specific gender (for example, female or male).",
2116
+ "Target a specific video player size for video ads.",
2117
+ "Target user rewarded content for video ads.",
2118
+ "Target ads to a specific parental status (for example, parent or not a parent).",
2119
+ "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).",
2120
+ "Target ads in a specific content outstream position.",
2121
+ "Target ads to a specific device type (for example, tablet or connected TV).",
2122
+ "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.",
2123
+ "Target ads to specific web browsers (for example, Chrome).",
2124
+ "Target ads to a specific household income range (for example, top 10%).",
2125
+ "Target ads in a specific on screen position.",
2126
+ "Filter web sites through third party verification (for example, IAS or DoubleVerify).",
2127
+ "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).",
2128
+ "Filter website content by sensitive categories (for example, adult).",
2129
+ "Target ads to a specific environment (for example, web or app).",
2130
+ "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).",
2131
+ "Target ads to a specific operating system (for example, macOS).",
2132
+ "Target ads to a specific device make or model (for example, Roku or Samsung).",
2133
+ "Target ads to a specific keyword (for example, dog or retriever).",
2134
+ "Target ads to a specific negative keyword list.",
2135
+ "Target ads to a specific viewability (for example, 80% viewable).",
2136
+ "Target ads to a specific content category (for example, arts & entertainment).",
2137
+ "Purchase impressions from specific deals and auction packages.",
2138
+ "Target ads to a specific language (for example, English or Japanese).",
2139
+ "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.",
2140
+ "Target ads to a specific regional location (for example, a city or state).",
2141
+ "Purchase impressions from a group of deals and auction packages.",
2142
+ "Purchase impressions from specific exchanges.",
2143
+ "Purchase impressions from specific sub-exchanges.",
2144
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
2145
+ "Target ads around locations of a business chain within a specific geo region.",
2146
+ "Target ads to a specific video content duration.",
2147
+ "Target ads to a specific video content stream type.",
2148
+ "Target ads to a specific native content position.",
2149
+ "Target ads in an Open Measurement enabled inventory.",
2150
+ "Target ads to a specific audio content type.",
2151
+ "Target ads to a specific content genre.",
2152
+ "Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
2153
+ "Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
2154
+ "Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API."
2155
+ ],
2156
+ "location": "path",
2157
+ "pattern": "^[^/]+$",
2158
+ "required": true,
2159
+ "type": "string"
2160
+ }
2161
+ },
2162
+ "path": "v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}",
2163
+ "response": {
2164
+ "$ref": "Empty"
2165
+ },
2166
+ "scopes": [
2167
+ "https://www.googleapis.com/auth/display-video"
2168
+ ]
2169
+ },
2170
+ "get": {
2171
+ "description": "Gets a single targeting option assigned to an insertion order.",
2172
+ "flatPath": "v2/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions/{assignedTargetingOptionsId}",
2173
+ "httpMethod": "GET",
2174
+ "id": "displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.get",
2175
+ "parameterOrder": [
2176
+ "advertiserId",
2177
+ "insertionOrderId",
2178
+ "targetingType",
2179
+ "assignedTargetingOptionId"
2180
+ ],
2181
+ "parameters": {
2182
+ "advertiserId": {
2183
+ "description": "Required. The ID of the advertiser the insertion order belongs to.",
2184
+ "format": "int64",
2185
+ "location": "path",
2186
+ "pattern": "^[^/]+$",
2187
+ "required": true,
2188
+ "type": "string"
2189
+ },
2190
+ "assignedTargetingOptionId": {
2191
+ "description": "Required. An identifier unique to the targeting type in this insertion order that identifies the assigned targeting option being requested.",
2192
+ "location": "path",
2193
+ "pattern": "^[^/]+$",
2194
+ "required": true,
2195
+ "type": "string"
2196
+ },
2197
+ "insertionOrderId": {
2198
+ "description": "Required. The ID of the insertion order the assigned targeting option belongs to.",
2199
+ "format": "int64",
2200
+ "location": "path",
2201
+ "pattern": "^[^/]+$",
2202
+ "required": true,
2203
+ "type": "string"
2204
+ },
2205
+ "targetingType": {
2206
+ "description": "Required. Identifies the type of this assigned targeting option. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`",
2207
+ "enum": [
2208
+ "TARGETING_TYPE_UNSPECIFIED",
2209
+ "TARGETING_TYPE_CHANNEL",
2210
+ "TARGETING_TYPE_APP_CATEGORY",
2211
+ "TARGETING_TYPE_APP",
2212
+ "TARGETING_TYPE_URL",
2213
+ "TARGETING_TYPE_DAY_AND_TIME",
2214
+ "TARGETING_TYPE_AGE_RANGE",
2215
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
2216
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
2217
+ "TARGETING_TYPE_GENDER",
2218
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
2219
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
2220
+ "TARGETING_TYPE_PARENTAL_STATUS",
2221
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
2222
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
2223
+ "TARGETING_TYPE_DEVICE_TYPE",
2224
+ "TARGETING_TYPE_AUDIENCE_GROUP",
2225
+ "TARGETING_TYPE_BROWSER",
2226
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
2227
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
2228
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
2229
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
2230
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
2231
+ "TARGETING_TYPE_ENVIRONMENT",
2232
+ "TARGETING_TYPE_CARRIER_AND_ISP",
2233
+ "TARGETING_TYPE_OPERATING_SYSTEM",
2234
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
2235
+ "TARGETING_TYPE_KEYWORD",
2236
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
2237
+ "TARGETING_TYPE_VIEWABILITY",
2238
+ "TARGETING_TYPE_CATEGORY",
2239
+ "TARGETING_TYPE_INVENTORY_SOURCE",
2240
+ "TARGETING_TYPE_LANGUAGE",
2241
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
2242
+ "TARGETING_TYPE_GEO_REGION",
2243
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
2244
+ "TARGETING_TYPE_EXCHANGE",
2245
+ "TARGETING_TYPE_SUB_EXCHANGE",
2246
+ "TARGETING_TYPE_POI",
2247
+ "TARGETING_TYPE_BUSINESS_CHAIN",
2248
+ "TARGETING_TYPE_CONTENT_DURATION",
2249
+ "TARGETING_TYPE_CONTENT_STREAM_TYPE",
2250
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
2251
+ "TARGETING_TYPE_OMID",
2252
+ "TARGETING_TYPE_AUDIO_CONTENT_TYPE",
2253
+ "TARGETING_TYPE_CONTENT_GENRE",
2254
+ "TARGETING_TYPE_YOUTUBE_VIDEO",
2255
+ "TARGETING_TYPE_YOUTUBE_CHANNEL",
2256
+ "TARGETING_TYPE_SESSION_POSITION"
2257
+ ],
2258
+ "enumDescriptions": [
2259
+ "Default value when type is not specified or is unknown in this version.",
2260
+ "Target a channel (a custom group of related websites or apps).",
2261
+ "Target an app category (for example, education or puzzle games).",
2262
+ "Target a specific app (for example, Angry Birds).",
2263
+ "Target a specific url (for example, quora.com).",
2264
+ "Target ads during a chosen time period on a specific day.",
2265
+ "Target ads to a specific age range (for example, 18-24).",
2266
+ "Target ads to the specified regions on a regional location list.",
2267
+ "Target ads to the specified points of interest on a proximity location list.",
2268
+ "Target ads to a specific gender (for example, female or male).",
2269
+ "Target a specific video player size for video ads.",
2270
+ "Target user rewarded content for video ads.",
2271
+ "Target ads to a specific parental status (for example, parent or not a parent).",
2272
+ "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).",
2273
+ "Target ads in a specific content outstream position.",
2274
+ "Target ads to a specific device type (for example, tablet or connected TV).",
2275
+ "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.",
2276
+ "Target ads to specific web browsers (for example, Chrome).",
2277
+ "Target ads to a specific household income range (for example, top 10%).",
2278
+ "Target ads in a specific on screen position.",
2279
+ "Filter web sites through third party verification (for example, IAS or DoubleVerify).",
2280
+ "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).",
2281
+ "Filter website content by sensitive categories (for example, adult).",
2282
+ "Target ads to a specific environment (for example, web or app).",
2283
+ "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).",
2284
+ "Target ads to a specific operating system (for example, macOS).",
2285
+ "Target ads to a specific device make or model (for example, Roku or Samsung).",
2286
+ "Target ads to a specific keyword (for example, dog or retriever).",
2287
+ "Target ads to a specific negative keyword list.",
2288
+ "Target ads to a specific viewability (for example, 80% viewable).",
2289
+ "Target ads to a specific content category (for example, arts & entertainment).",
2290
+ "Purchase impressions from specific deals and auction packages.",
2291
+ "Target ads to a specific language (for example, English or Japanese).",
2292
+ "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.",
2293
+ "Target ads to a specific regional location (for example, a city or state).",
2294
+ "Purchase impressions from a group of deals and auction packages.",
2295
+ "Purchase impressions from specific exchanges.",
2296
+ "Purchase impressions from specific sub-exchanges.",
2297
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
2298
+ "Target ads around locations of a business chain within a specific geo region.",
2299
+ "Target ads to a specific video content duration.",
2300
+ "Target ads to a specific video content stream type.",
2301
+ "Target ads to a specific native content position.",
2302
+ "Target ads in an Open Measurement enabled inventory.",
2303
+ "Target ads to a specific audio content type.",
2304
+ "Target ads to a specific content genre.",
2305
+ "Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
2306
+ "Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
2307
+ "Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API."
2308
+ ],
1317
2309
  "location": "path",
1318
2310
  "pattern": "^[^/]+$",
1319
2311
  "required": true,
1320
2312
  "type": "string"
1321
2313
  }
1322
2314
  },
1323
- "path": "v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}",
2315
+ "path": "v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}",
1324
2316
  "response": {
1325
- "$ref": "InsertionOrder"
2317
+ "$ref": "AssignedTargetingOption"
1326
2318
  },
1327
2319
  "scopes": [
1328
2320
  "https://www.googleapis.com/auth/display-video"
1329
2321
  ]
1330
2322
  },
1331
2323
  "list": {
1332
- "description": "Lists insertion orders in an advertiser. The order is defined by the order_by parameter. If a filter by entity_status is not specified, insertion orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results.",
1333
- "flatPath": "v2/advertisers/{advertisersId}/insertionOrders",
2324
+ "description": "Lists the targeting options assigned to an insertion order.",
2325
+ "flatPath": "v2/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}/targetingTypes/{targetingTypesId}/assignedTargetingOptions",
1334
2326
  "httpMethod": "GET",
1335
- "id": "displayvideo.advertisers.insertionOrders.list",
2327
+ "id": "displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.list",
1336
2328
  "parameterOrder": [
1337
- "advertiserId"
2329
+ "advertiserId",
2330
+ "insertionOrderId",
2331
+ "targetingType"
1338
2332
  ],
1339
2333
  "parameters": {
1340
2334
  "advertiserId": {
1341
- "description": "Required. The ID of the advertiser to list insertion orders for.",
2335
+ "description": "Required. The ID of the advertiser the insertion order belongs to.",
1342
2336
  "format": "int64",
1343
2337
  "location": "path",
1344
2338
  "pattern": "^[^/]+$",
@@ -1346,80 +2340,157 @@
1346
2340
  "type": "string"
1347
2341
  },
1348
2342
  "filter": {
1349
- "description": "Allows filtering by insertion order fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` * `entityStatus` * `updateTime` (input in ISO 8601 format, or `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All insertion orders under a campaign: `campaignId=\"1234\"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders under an advertiser: `(entityStatus=\"ENTITY_STATUS_ACTIVE\" OR entityStatus=\"ENTITY_STATUS_PAUSED\")` * All insertion orders with an update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime<=\"2020-11-04T18:54:47Z\"` * All insertion orders with an update time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): `updateTime>=\"2020-11-04T18:54:47Z\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
2343
+ "description": "Allows filtering by assigned targeting option fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedTargetingOptionId` * `inheritance` Examples: * `AssignedTargetingOption` resources with ID 1 or 2: `assignedTargetingOptionId=\"1\" OR assignedTargetingOptionId=\"2\"` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance=\"NOT_INHERITED\" OR inheritance=\"INHERITED_FROM_PARTNER\"` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.",
1350
2344
  "location": "query",
1351
2345
  "type": "string"
1352
2346
  },
2347
+ "insertionOrderId": {
2348
+ "description": "Required. The ID of the insertion order to list assigned targeting options for.",
2349
+ "format": "int64",
2350
+ "location": "path",
2351
+ "pattern": "^[^/]+$",
2352
+ "required": true,
2353
+ "type": "string"
2354
+ },
1353
2355
  "orderBy": {
1354
- "description": "Field by which to sort the list. Acceptable values are: * \"displayName\" (default) * \"entityStatus\" * \"updateTime\" The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `displayName desc`.",
2356
+ "description": "Field by which to sort the list. Acceptable values are: * `assignedTargetingOptionId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix \"desc\" should be added to the field name. Example: `assignedTargetingOptionId desc`.",
1355
2357
  "location": "query",
1356
2358
  "type": "string"
1357
2359
  },
1358
2360
  "pageSize": {
1359
- "description": "Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
2361
+ "description": "Requested page size. Must be between `1` and `5000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.",
1360
2362
  "format": "int32",
1361
2363
  "location": "query",
1362
2364
  "type": "integer"
1363
2365
  },
1364
2366
  "pageToken": {
1365
- "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInsertionOrders` method. If not specified, the first page of results will be returned.",
2367
+ "description": "A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInsertionOrderAssignedTargetingOptions` method. If not specified, the first page of results will be returned.",
1366
2368
  "location": "query",
1367
2369
  "type": "string"
1368
- }
1369
- },
1370
- "path": "v2/advertisers/{+advertiserId}/insertionOrders",
1371
- "response": {
1372
- "$ref": "ListInsertionOrdersResponse"
1373
- },
1374
- "scopes": [
1375
- "https://www.googleapis.com/auth/display-video"
1376
- ]
1377
2370
  },
1378
- "patch": {
1379
- "description": "Updates an existing insertion order. Returns the updated insertion order if successful.",
1380
- "flatPath": "v2/advertisers/{advertisersId}/insertionOrders/{insertionOrdersId}",
1381
- "httpMethod": "PATCH",
1382
- "id": "displayvideo.advertisers.insertionOrders.patch",
1383
- "parameterOrder": [
1384
- "advertiserId",
1385
- "insertionOrderId"
2371
+ "targetingType": {
2372
+ "description": "Required. Identifies the type of assigned targeting options to list. Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY`",
2373
+ "enum": [
2374
+ "TARGETING_TYPE_UNSPECIFIED",
2375
+ "TARGETING_TYPE_CHANNEL",
2376
+ "TARGETING_TYPE_APP_CATEGORY",
2377
+ "TARGETING_TYPE_APP",
2378
+ "TARGETING_TYPE_URL",
2379
+ "TARGETING_TYPE_DAY_AND_TIME",
2380
+ "TARGETING_TYPE_AGE_RANGE",
2381
+ "TARGETING_TYPE_REGIONAL_LOCATION_LIST",
2382
+ "TARGETING_TYPE_PROXIMITY_LOCATION_LIST",
2383
+ "TARGETING_TYPE_GENDER",
2384
+ "TARGETING_TYPE_VIDEO_PLAYER_SIZE",
2385
+ "TARGETING_TYPE_USER_REWARDED_CONTENT",
2386
+ "TARGETING_TYPE_PARENTAL_STATUS",
2387
+ "TARGETING_TYPE_CONTENT_INSTREAM_POSITION",
2388
+ "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION",
2389
+ "TARGETING_TYPE_DEVICE_TYPE",
2390
+ "TARGETING_TYPE_AUDIENCE_GROUP",
2391
+ "TARGETING_TYPE_BROWSER",
2392
+ "TARGETING_TYPE_HOUSEHOLD_INCOME",
2393
+ "TARGETING_TYPE_ON_SCREEN_POSITION",
2394
+ "TARGETING_TYPE_THIRD_PARTY_VERIFIER",
2395
+ "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION",
2396
+ "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION",
2397
+ "TARGETING_TYPE_ENVIRONMENT",
2398
+ "TARGETING_TYPE_CARRIER_AND_ISP",
2399
+ "TARGETING_TYPE_OPERATING_SYSTEM",
2400
+ "TARGETING_TYPE_DEVICE_MAKE_MODEL",
2401
+ "TARGETING_TYPE_KEYWORD",
2402
+ "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST",
2403
+ "TARGETING_TYPE_VIEWABILITY",
2404
+ "TARGETING_TYPE_CATEGORY",
2405
+ "TARGETING_TYPE_INVENTORY_SOURCE",
2406
+ "TARGETING_TYPE_LANGUAGE",
2407
+ "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS",
2408
+ "TARGETING_TYPE_GEO_REGION",
2409
+ "TARGETING_TYPE_INVENTORY_SOURCE_GROUP",
2410
+ "TARGETING_TYPE_EXCHANGE",
2411
+ "TARGETING_TYPE_SUB_EXCHANGE",
2412
+ "TARGETING_TYPE_POI",
2413
+ "TARGETING_TYPE_BUSINESS_CHAIN",
2414
+ "TARGETING_TYPE_CONTENT_DURATION",
2415
+ "TARGETING_TYPE_CONTENT_STREAM_TYPE",
2416
+ "TARGETING_TYPE_NATIVE_CONTENT_POSITION",
2417
+ "TARGETING_TYPE_OMID",
2418
+ "TARGETING_TYPE_AUDIO_CONTENT_TYPE",
2419
+ "TARGETING_TYPE_CONTENT_GENRE",
2420
+ "TARGETING_TYPE_YOUTUBE_VIDEO",
2421
+ "TARGETING_TYPE_YOUTUBE_CHANNEL",
2422
+ "TARGETING_TYPE_SESSION_POSITION"
2423
+ ],
2424
+ "enumDescriptions": [
2425
+ "Default value when type is not specified or is unknown in this version.",
2426
+ "Target a channel (a custom group of related websites or apps).",
2427
+ "Target an app category (for example, education or puzzle games).",
2428
+ "Target a specific app (for example, Angry Birds).",
2429
+ "Target a specific url (for example, quora.com).",
2430
+ "Target ads during a chosen time period on a specific day.",
2431
+ "Target ads to a specific age range (for example, 18-24).",
2432
+ "Target ads to the specified regions on a regional location list.",
2433
+ "Target ads to the specified points of interest on a proximity location list.",
2434
+ "Target ads to a specific gender (for example, female or male).",
2435
+ "Target a specific video player size for video ads.",
2436
+ "Target user rewarded content for video ads.",
2437
+ "Target ads to a specific parental status (for example, parent or not a parent).",
2438
+ "Target video or audio ads in a specific content instream position (for example, pre-roll, mid-roll, or post-roll).",
2439
+ "Target ads in a specific content outstream position.",
2440
+ "Target ads to a specific device type (for example, tablet or connected TV).",
2441
+ "Target ads to an audience or groups of audiences. Singleton field, at most one can exist on a single Lineitem at a time.",
2442
+ "Target ads to specific web browsers (for example, Chrome).",
2443
+ "Target ads to a specific household income range (for example, top 10%).",
2444
+ "Target ads in a specific on screen position.",
2445
+ "Filter web sites through third party verification (for example, IAS or DoubleVerify).",
2446
+ "Filter web sites by specific digital content label ratings (for example, DL-MA: suitable only for mature audiences).",
2447
+ "Filter website content by sensitive categories (for example, adult).",
2448
+ "Target ads to a specific environment (for example, web or app).",
2449
+ "Target ads to a specific network carrier or internet service provider (ISP) (for example, Comcast or Orange).",
2450
+ "Target ads to a specific operating system (for example, macOS).",
2451
+ "Target ads to a specific device make or model (for example, Roku or Samsung).",
2452
+ "Target ads to a specific keyword (for example, dog or retriever).",
2453
+ "Target ads to a specific negative keyword list.",
2454
+ "Target ads to a specific viewability (for example, 80% viewable).",
2455
+ "Target ads to a specific content category (for example, arts & entertainment).",
2456
+ "Purchase impressions from specific deals and auction packages.",
2457
+ "Target ads to a specific language (for example, English or Japanese).",
2458
+ "Target ads to ads.txt authorized sellers. If no targeting option of this type is assigned, the resource uses the \"Authorized Direct Sellers and Resellers\" option by default.",
2459
+ "Target ads to a specific regional location (for example, a city or state).",
2460
+ "Purchase impressions from a group of deals and auction packages.",
2461
+ "Purchase impressions from specific exchanges.",
2462
+ "Purchase impressions from specific sub-exchanges.",
2463
+ "Target ads around a specific point of interest, such as a notable building, a street address, or latitude/longitude coordinates.",
2464
+ "Target ads around locations of a business chain within a specific geo region.",
2465
+ "Target ads to a specific video content duration.",
2466
+ "Target ads to a specific video content stream type.",
2467
+ "Target ads to a specific native content position.",
2468
+ "Target ads in an Open Measurement enabled inventory.",
2469
+ "Target ads to a specific audio content type.",
2470
+ "Target ads to a specific content genre.",
2471
+ "Target ads to a specific YouTube video. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
2472
+ "Target ads to a specific YouTube channel. Targeting of this type cannot be created or updated using the API. Although this targeting is inherited by child resources, **inherited targeting of this type will not be retrieveable**.",
2473
+ "Target ads to a serve it in a certain position of a session. Only supported for Ad Group resources under YouTube Programmatic Reservation line items. Targeting of this type cannot be created or updated using the API."
1386
2474
  ],
1387
- "parameters": {
1388
- "advertiserId": {
1389
- "description": "Output only. The unique ID of the advertiser the insertion order belongs to.",
1390
- "format": "int64",
1391
- "location": "path",
1392
- "pattern": "^[^/]+$",
1393
- "required": true,
1394
- "type": "string"
1395
- },
1396
- "insertionOrderId": {
1397
- "description": "Output only. The unique ID of the insertion order. Assigned by the system.",
1398
- "format": "int64",
1399
2475
  "location": "path",
1400
2476
  "pattern": "^[^/]+$",
1401
2477
  "required": true,
1402
2478
  "type": "string"
1403
- },
1404
- "updateMask": {
1405
- "description": "Required. The mask to control which fields to update.",
1406
- "format": "google-fieldmask",
1407
- "location": "query",
1408
- "type": "string"
1409
2479
  }
1410
2480
  },
1411
- "path": "v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}",
1412
- "request": {
1413
- "$ref": "InsertionOrder"
1414
- },
2481
+ "path": "v2/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions",
1415
2482
  "response": {
1416
- "$ref": "InsertionOrder"
2483
+ "$ref": "ListInsertionOrderAssignedTargetingOptionsResponse"
1417
2484
  },
1418
2485
  "scopes": [
1419
2486
  "https://www.googleapis.com/auth/display-video"
1420
2487
  ]
1421
2488
  }
1422
2489
  }
2490
+ }
2491
+ }
2492
+ }
2493
+ }
1423
2494
  },
1424
2495
  "invoices": {
1425
2496
  "methods": {
@@ -8010,7 +9081,7 @@
8010
9081
  }
8011
9082
  }
8012
9083
  },
8013
- "revision": "20250625",
9084
+ "revision": "20250729",
8014
9085
  "rootUrl": "https://displayvideo.googleapis.com/",
8015
9086
  "schemas": {
8016
9087
  "ActivateManualTriggerRequest": {
@@ -9744,6 +10815,40 @@
9744
10815
  },
9745
10816
  "type": "object"
9746
10817
  },
10818
+ "BulkListCampaignAssignedTargetingOptionsResponse": {
10819
+ "id": "BulkListCampaignAssignedTargetingOptionsResponse",
10820
+ "properties": {
10821
+ "assignedTargetingOptions": {
10822
+ "description": "The list of assigned targeting options. This list will be absent if empty.",
10823
+ "items": {
10824
+ "$ref": "AssignedTargetingOption"
10825
+ },
10826
+ "type": "array"
10827
+ },
10828
+ "nextPageToken": {
10829
+ "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent BulkListCampaignAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.",
10830
+ "type": "string"
10831
+ }
10832
+ },
10833
+ "type": "object"
10834
+ },
10835
+ "BulkListInsertionOrderAssignedTargetingOptionsResponse": {
10836
+ "id": "BulkListInsertionOrderAssignedTargetingOptionsResponse",
10837
+ "properties": {
10838
+ "assignedTargetingOptions": {
10839
+ "description": "The list of assigned targeting options. This list will be absent if empty.",
10840
+ "items": {
10841
+ "$ref": "AssignedTargetingOption"
10842
+ },
10843
+ "type": "array"
10844
+ },
10845
+ "nextPageToken": {
10846
+ "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent BulkListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.",
10847
+ "type": "string"
10848
+ }
10849
+ },
10850
+ "type": "object"
10851
+ },
9747
10852
  "BulkUpdateLineItemsRequest": {
9748
10853
  "description": "Request message for LineItemService.BulkUpdateLineItems.",
9749
10854
  "id": "BulkUpdateLineItemsRequest",
@@ -10965,7 +12070,7 @@ true,
10965
12070
  true,
10966
12071
  true,
10967
12072
  true,
10968
- false,
12073
+ true,
10969
12074
  false,
10970
12075
  false,
10971
12076
  false,
@@ -16021,6 +17126,24 @@ true
16021
17126
  },
16022
17127
  "type": "object"
16023
17128
  },
17129
+ "ListCampaignAssignedTargetingOptionsResponse": {
17130
+ "description": "Response message for ListCampaignAssignedTargetingOptions.",
17131
+ "id": "ListCampaignAssignedTargetingOptionsResponse",
17132
+ "properties": {
17133
+ "assignedTargetingOptions": {
17134
+ "description": "The list of assigned targeting options. This list will be absent if empty.",
17135
+ "items": {
17136
+ "$ref": "AssignedTargetingOption"
17137
+ },
17138
+ "type": "array"
17139
+ },
17140
+ "nextPageToken": {
17141
+ "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListCampaignAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.",
17142
+ "type": "string"
17143
+ }
17144
+ },
17145
+ "type": "object"
17146
+ },
16024
17147
  "ListCampaignsResponse": {
16025
17148
  "id": "ListCampaignsResponse",
16026
17149
  "properties": {
@@ -16191,6 +17314,23 @@ true
16191
17314
  },
16192
17315
  "type": "object"
16193
17316
  },
17317
+ "ListInsertionOrderAssignedTargetingOptionsResponse": {
17318
+ "id": "ListInsertionOrderAssignedTargetingOptionsResponse",
17319
+ "properties": {
17320
+ "assignedTargetingOptions": {
17321
+ "description": "The list of assigned targeting options. This list will be absent if empty.",
17322
+ "items": {
17323
+ "$ref": "AssignedTargetingOption"
17324
+ },
17325
+ "type": "array"
17326
+ },
17327
+ "nextPageToken": {
17328
+ "description": "A token identifying the next page of results. This value should be specified as the pageToken in a subsequent ListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of results. This token will be absent if there are no more assigned_targeting_options to return.",
17329
+ "type": "string"
17330
+ }
17331
+ },
17332
+ "type": "object"
17333
+ },
16194
17334
  "ListInsertionOrdersResponse": {
16195
17335
  "id": "ListInsertionOrdersResponse",
16196
17336
  "properties": {
@@ -18216,7 +19356,7 @@ true,
18216
19356
  true,
18217
19357
  true,
18218
19358
  true,
18219
- false,
19359
+ true,
18220
19360
  false,
18221
19361
  false,
18222
19362
  false,
@@ -18302,7 +19442,7 @@ true,
18302
19442
  true,
18303
19443
  true,
18304
19444
  true,
18305
- false,
19445
+ true,
18306
19446
  false,
18307
19447
  false,
18308
19448
  false,
@@ -19284,6 +20424,25 @@ true
19284
20424
  },
19285
20425
  "type": "object"
19286
20426
  },
20427
+ "VideoAdInventoryControl": {
20428
+ "description": "The video ad inventory control used in certain YouTube line item types.",
20429
+ "id": "VideoAdInventoryControl",
20430
+ "properties": {
20431
+ "allowInFeed": {
20432
+ "description": "Optional. Whether ads can serve as in-feed format.",
20433
+ "type": "boolean"
20434
+ },
20435
+ "allowInStream": {
20436
+ "description": "Optional. Whether ads can serve as in-stream format.",
20437
+ "type": "boolean"
20438
+ },
20439
+ "allowShorts": {
20440
+ "description": "Optional. Whether ads can serve as shorts format.",
20441
+ "type": "boolean"
20442
+ }
20443
+ },
20444
+ "type": "object"
20445
+ },
19287
20446
  "VideoAdSequenceSettings": {
19288
20447
  "description": "Settings related to VideoAdSequence.",
19289
20448
  "id": "VideoAdSequenceSettings",
@@ -19949,6 +21108,10 @@ true
19949
21108
  "$ref": "YoutubeAndPartnersThirdPartyMeasurementSettings",
19950
21109
  "description": "Optional. The third-party measurement settings of the line item."
19951
21110
  },
21111
+ "videoAdInventoryControl": {
21112
+ "$ref": "VideoAdInventoryControl",
21113
+ "description": "Optional. The settings to control which inventory is allowed for this line item."
21114
+ },
19952
21115
  "videoAdSequenceSettings": {
19953
21116
  "$ref": "VideoAdSequenceSettings",
19954
21117
  "description": "Optional. The settings related to VideoAdSequence."