Skip to content

Commit 76088b5

Browse files
feat(displayvideo): update the api
#### displayvideo:v3 The following keys were added: - schemas.AssignedTargetingOption.properties.contentThemeExclusionDetails.$ref (Total Keys: 1) - schemas.ContentThemeAssignedTargetingOptionDetails (Total Keys: 6) - schemas.ContentThemeTargetingOptionDetails (Total Keys: 4) - schemas.TargetingOption.properties.contentThemeDetails.$ref (Total Keys: 1) #### displayvideo:v4 The following keys were added: - schemas.AssignedTargetingOption.properties.contentThemeExclusionDetails.$ref (Total Keys: 1) - schemas.ContentThemeAssignedTargetingOptionDetails (Total Keys: 6) - schemas.ContentThemeTargetingOptionDetails (Total Keys: 4) - schemas.TargetingOption.properties.contentThemeDetails.$ref (Total Keys: 1)
1 parent 32191c2 commit 76088b5

25 files changed

+770
-103
lines changed

docs/dyn/displayvideo_v3.advertisers.adGroups.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@ <h3>Method Details</h3>
239239
&quot;contentStreamType&quot;: &quot;A String&quot;, # Output only. The content stream type.
240240
&quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`.
241241
},
242+
&quot;contentThemeExclusionDetails&quot;: { # Targeting details for content theme. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. # Content theme details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. Content theme are targeting exclusions. Advertiser level content theme exclusions, if set, are always applied in serving (even though they aren&#x27;t visible in resource settings). Resource settings can exclude content theme in addition to advertiser exclusions.
243+
&quot;contentTheme&quot;: &quot;A String&quot;, # Output only. An enum for the DV360 content theme classifier.
244+
&quot;excludedContentTheme&quot;: &quot;A String&quot;, # Required. An enum for the DV360 content theme classified to be EXCLUDED.
245+
&quot;excludedTargetingOptionId&quot;: &quot;A String&quot;, # Required. ID of the content theme to be EXCLUDED.
246+
},
242247
&quot;dayAndTimeDetails&quot;: { # Representation of a segment of time defined on a specific day of the week and with a start and end time. The time represented by `start_hour` must be before the time represented by `end_hour`. # Day and time details. This field will be populated when the targeting_type is `TARGETING_TYPE_DAY_AND_TIME`.
243248
&quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. The day of the week for this day and time targeting setting.
244249
&quot;endHour&quot;: 42, # Required. The end hour for day and time targeting. Must be between 1 (1 hour after start of day) and 24 (end of day).

docs/dyn/displayvideo_v3.advertisers.adGroups.targetingTypes.assignedTargetingOptions.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ <h3>Method Details</h3>
150150
TARGETING_TYPE_YOUTUBE_VIDEO - 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**.
151151
TARGETING_TYPE_YOUTUBE_CHANNEL - 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**.
152152
TARGETING_TYPE_SESSION_POSITION - 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.
153+
TARGETING_TYPE_CONTENT_THEME_EXCLUSION - Filter website content by content themes (for example, religion).
153154
assignedTargetingOptionId: string, Required. An identifier unique to the targeting type in this line item that identifies the assigned targeting option being requested. (required)
154155
x__xgafv: string, V1 error format.
155156
Allowed values
@@ -277,6 +278,11 @@ <h3>Method Details</h3>
277278
&quot;contentStreamType&quot;: &quot;A String&quot;, # Output only. The content stream type.
278279
&quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`.
279280
},
281+
&quot;contentThemeExclusionDetails&quot;: { # Targeting details for content theme. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. # Content theme details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. Content theme are targeting exclusions. Advertiser level content theme exclusions, if set, are always applied in serving (even though they aren&#x27;t visible in resource settings). Resource settings can exclude content theme in addition to advertiser exclusions.
282+
&quot;contentTheme&quot;: &quot;A String&quot;, # Output only. An enum for the DV360 content theme classifier.
283+
&quot;excludedContentTheme&quot;: &quot;A String&quot;, # Required. An enum for the DV360 content theme classified to be EXCLUDED.
284+
&quot;excludedTargetingOptionId&quot;: &quot;A String&quot;, # Required. ID of the content theme to be EXCLUDED.
285+
},
280286
&quot;dayAndTimeDetails&quot;: { # Representation of a segment of time defined on a specific day of the week and with a start and end time. The time represented by `start_hour` must be before the time represented by `end_hour`. # Day and time details. This field will be populated when the targeting_type is `TARGETING_TYPE_DAY_AND_TIME`.
281287
&quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. The day of the week for this day and time targeting setting.
282288
&quot;endHour&quot;: 42, # Required. The end hour for day and time targeting. Must be between 1 (1 hour after start of day) and 24 (end of day).
@@ -539,6 +545,7 @@ <h3>Method Details</h3>
539545
TARGETING_TYPE_YOUTUBE_VIDEO - 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**.
540546
TARGETING_TYPE_YOUTUBE_CHANNEL - 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**.
541547
TARGETING_TYPE_SESSION_POSITION - 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.
548+
TARGETING_TYPE_CONTENT_THEME_EXCLUSION - Filter website content by content themes (for example, religion).
542549
filter: string, Optional. 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` Examples: * `AssignedTargetingOption` resources with ID 1 or 2: `assignedTargetingOptionId=&quot;1&quot; OR assignedTargetingOptionId=&quot;2&quot;` 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.
543550
orderBy: string, Optional. 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 &quot;desc&quot; should be added to the field name. Example: `assignedTargetingOptionId desc`.
544551
pageSize: integer, Optional. 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.
@@ -671,6 +678,11 @@ <h3>Method Details</h3>
671678
&quot;contentStreamType&quot;: &quot;A String&quot;, # Output only. The content stream type.
672679
&quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`.
673680
},
681+
&quot;contentThemeExclusionDetails&quot;: { # Targeting details for content theme. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. # Content theme details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. Content theme are targeting exclusions. Advertiser level content theme exclusions, if set, are always applied in serving (even though they aren&#x27;t visible in resource settings). Resource settings can exclude content theme in addition to advertiser exclusions.
682+
&quot;contentTheme&quot;: &quot;A String&quot;, # Output only. An enum for the DV360 content theme classifier.
683+
&quot;excludedContentTheme&quot;: &quot;A String&quot;, # Required. An enum for the DV360 content theme classified to be EXCLUDED.
684+
&quot;excludedTargetingOptionId&quot;: &quot;A String&quot;, # Required. ID of the content theme to be EXCLUDED.
685+
},
674686
&quot;dayAndTimeDetails&quot;: { # Representation of a segment of time defined on a specific day of the week and with a start and end time. The time represented by `start_hour` must be before the time represented by `end_hour`. # Day and time details. This field will be populated when the targeting_type is `TARGETING_TYPE_DAY_AND_TIME`.
675687
&quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. The day of the week for this day and time targeting setting.
676688
&quot;endHour&quot;: 42, # Required. The end hour for day and time targeting. Must be between 1 (1 hour after start of day) and 24 (end of day).

docs/dyn/displayvideo_v3.advertisers.campaigns.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,11 @@ <h3>Method Details</h3>
616616
&quot;contentStreamType&quot;: &quot;A String&quot;, # Output only. The content stream type.
617617
&quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`.
618618
},
619+
&quot;contentThemeExclusionDetails&quot;: { # Targeting details for content theme. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. # Content theme details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. Content theme are targeting exclusions. Advertiser level content theme exclusions, if set, are always applied in serving (even though they aren&#x27;t visible in resource settings). Resource settings can exclude content theme in addition to advertiser exclusions.
620+
&quot;contentTheme&quot;: &quot;A String&quot;, # Output only. An enum for the DV360 content theme classifier.
621+
&quot;excludedContentTheme&quot;: &quot;A String&quot;, # Required. An enum for the DV360 content theme classified to be EXCLUDED.
622+
&quot;excludedTargetingOptionId&quot;: &quot;A String&quot;, # Required. ID of the content theme to be EXCLUDED.
623+
},
619624
&quot;dayAndTimeDetails&quot;: { # Representation of a segment of time defined on a specific day of the week and with a start and end time. The time represented by `start_hour` must be before the time represented by `end_hour`. # Day and time details. This field will be populated when the targeting_type is `TARGETING_TYPE_DAY_AND_TIME`.
620625
&quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. The day of the week for this day and time targeting setting.
621626
&quot;endHour&quot;: 42, # Required. The end hour for day and time targeting. Must be between 1 (1 hour after start of day) and 24 (end of day).

docs/dyn/displayvideo_v3.advertisers.campaigns.targetingTypes.assignedTargetingOptions.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ <h3>Method Details</h3>
150150
TARGETING_TYPE_YOUTUBE_VIDEO - 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**.
151151
TARGETING_TYPE_YOUTUBE_CHANNEL - 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**.
152152
TARGETING_TYPE_SESSION_POSITION - 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.
153+
TARGETING_TYPE_CONTENT_THEME_EXCLUSION - Filter website content by content themes (for example, religion).
153154
assignedTargetingOptionId: string, Required. An identifier unique to the targeting type in this campaign that identifies the assigned targeting option being requested. (required)
154155
x__xgafv: string, V1 error format.
155156
Allowed values
@@ -277,6 +278,11 @@ <h3>Method Details</h3>
277278
&quot;contentStreamType&quot;: &quot;A String&quot;, # Output only. The content stream type.
278279
&quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`.
279280
},
281+
&quot;contentThemeExclusionDetails&quot;: { # Targeting details for content theme. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. # Content theme details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. Content theme are targeting exclusions. Advertiser level content theme exclusions, if set, are always applied in serving (even though they aren&#x27;t visible in resource settings). Resource settings can exclude content theme in addition to advertiser exclusions.
282+
&quot;contentTheme&quot;: &quot;A String&quot;, # Output only. An enum for the DV360 content theme classifier.
283+
&quot;excludedContentTheme&quot;: &quot;A String&quot;, # Required. An enum for the DV360 content theme classified to be EXCLUDED.
284+
&quot;excludedTargetingOptionId&quot;: &quot;A String&quot;, # Required. ID of the content theme to be EXCLUDED.
285+
},
280286
&quot;dayAndTimeDetails&quot;: { # Representation of a segment of time defined on a specific day of the week and with a start and end time. The time represented by `start_hour` must be before the time represented by `end_hour`. # Day and time details. This field will be populated when the targeting_type is `TARGETING_TYPE_DAY_AND_TIME`.
281287
&quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. The day of the week for this day and time targeting setting.
282288
&quot;endHour&quot;: 42, # Required. The end hour for day and time targeting. Must be between 1 (1 hour after start of day) and 24 (end of day).
@@ -539,6 +545,7 @@ <h3>Method Details</h3>
539545
TARGETING_TYPE_YOUTUBE_VIDEO - 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**.
540546
TARGETING_TYPE_YOUTUBE_CHANNEL - 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**.
541547
TARGETING_TYPE_SESSION_POSITION - 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.
548+
TARGETING_TYPE_CONTENT_THEME_EXCLUSION - Filter website content by content themes (for example, religion).
542549
filter: string, 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=&quot;1&quot; OR assignedTargetingOptionId=&quot;2&quot;` * `AssignedTargetingOption` resources with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER` `inheritance=&quot;NOT_INHERITED&quot; OR inheritance=&quot;INHERITED_FROM_PARTNER&quot;` 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.
543550
orderBy: string, 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 &quot;desc&quot; should be added to the field name. Example: `assignedTargetingOptionId desc`.
544551
pageSize: integer, 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.
@@ -671,6 +678,11 @@ <h3>Method Details</h3>
671678
&quot;contentStreamType&quot;: &quot;A String&quot;, # Output only. The content stream type.
672679
&quot;targetingOptionId&quot;: &quot;A String&quot;, # Required. The targeting_option_id field when targeting_type is `TARGETING_TYPE_CONTENT_STREAM_TYPE`.
673680
},
681+
&quot;contentThemeExclusionDetails&quot;: { # Targeting details for content theme. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. # Content theme details. This field will be populated when the targeting_type is `TARGETING_TYPE_CONTENT_THEME_EXCLUSION`. Content theme are targeting exclusions. Advertiser level content theme exclusions, if set, are always applied in serving (even though they aren&#x27;t visible in resource settings). Resource settings can exclude content theme in addition to advertiser exclusions.
682+
&quot;contentTheme&quot;: &quot;A String&quot;, # Output only. An enum for the DV360 content theme classifier.
683+
&quot;excludedContentTheme&quot;: &quot;A String&quot;, # Required. An enum for the DV360 content theme classified to be EXCLUDED.
684+
&quot;excludedTargetingOptionId&quot;: &quot;A String&quot;, # Required. ID of the content theme to be EXCLUDED.
685+
},
674686
&quot;dayAndTimeDetails&quot;: { # Representation of a segment of time defined on a specific day of the week and with a start and end time. The time represented by `start_hour` must be before the time represented by `end_hour`. # Day and time details. This field will be populated when the targeting_type is `TARGETING_TYPE_DAY_AND_TIME`.
675687
&quot;dayOfWeek&quot;: &quot;A String&quot;, # Required. The day of the week for this day and time targeting setting.
676688
&quot;endHour&quot;: 42, # Required. The end hour for day and time targeting. Must be between 1 (1 hour after start of day) and 24 (end of day).

0 commit comments

Comments
 (0)