@maxim_mazurok/gapi.client.displayvideo-v4 0.2.20250930 → 0.2.20251023

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 (2) hide show
  1. package/index.d.ts +805 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://displayvideo.googleapis.com/$discovery/rest?version=v4
12
- // Revision: 20250930
12
+ // Revision: 20251023
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -36,6 +36,18 @@ declare namespace gapi.client {
36
36
  /** Required. The minimum percentage of the video ad's volume required in order for an impression to be recorded. */
37
37
  minimumVolume?: string;
38
38
  }
39
+ interface AdAsset {
40
+ /** Output only. Asset ID of the ad asset. */
41
+ adAssetId?: string;
42
+ /** Required. The type of the ad asset. */
43
+ adAssetType?: string;
44
+ /** Output only. The entity status of the ad asset. */
45
+ entityStatus?: string;
46
+ /** Identifier. The resource name of the ad asset. */
47
+ name?: string;
48
+ /** The youtube video asset of the ad asset. */
49
+ youtubeVideoAsset?: YoutubeVideoAsset;
50
+ }
39
51
  interface AdGroup {
40
52
  /** The format of the ads in the ad group. */
41
53
  adGroupFormat?: string;
@@ -63,6 +75,8 @@ declare namespace gapi.client {
63
75
  adGroupAdId?: string;
64
76
  /** The unique ID of the ad group that the ad belongs to. */
65
77
  adGroupId?: string;
78
+ /** The policy approval status of the ad. */
79
+ adPolicy?: AdPolicy;
66
80
  /** List of URLs used by the ad. */
67
81
  adUrls?: AdUrl[];
68
82
  /** The unique ID of the advertiser the ad belongs to. */
@@ -130,6 +144,165 @@ declare namespace gapi.client {
130
144
  /** Optional. IAB viewability threshold for video ads. */
131
145
  videoIabViewability?: string;
132
146
  }
147
+ interface AdPolicy {
148
+ /** The policy approval status of an ad. Indicating the ad policy approval decision. */
149
+ adPolicyApprovalStatus?: string;
150
+ /** The policy review status of an ad. Indicating where the review process the ad is currently at. */
151
+ adPolicyReviewStatus?: string;
152
+ /** The policy topic entries for the ad, including the topic, restriction level, and guidance on how to fix policy issues. */
153
+ adPolicyTopicEntry?: AdPolicyTopicEntry[];
154
+ }
155
+ interface AdPolicyCriterionRestriction {
156
+ /** Only used today to represent a country criterion id. */
157
+ countryCriterionId?: string;
158
+ /** Localized name for the country. Could be empty. */
159
+ countryLabel?: string;
160
+ }
161
+ interface AdPolicyTopicAppealInfo {
162
+ /** Only available when appeal_type is APPEAL_FORM. */
163
+ appealFormLink?: string;
164
+ /** Indicate whether the policy topic can be self-service appeal or appeal form. */
165
+ appealType?: string;
166
+ }
167
+ interface AdPolicyTopicConstraint {
168
+ /** Countries where the resource's domain is not covered by the certificates associated with it. */
169
+ certificateDomainMismatchCountryList?: AdPolicyTopicConstraintAdPolicyCountryConstraintList;
170
+ /** Countries where a certificate is required for serving. */
171
+ certificateMissingCountryList?: AdPolicyTopicConstraintAdPolicyCountryConstraintList;
172
+ /** Countries where the ad cannot serve. */
173
+ countryConstraint?: AdPolicyTopicConstraintAdPolicyCountryConstraintList;
174
+ /** Certificate is required to serve in any country and the existing certificate does not cover the ad's domain. */
175
+ globalCertificateDomainMismatch?: any;
176
+ /** Certificate is required to serve in any country. */
177
+ globalCertificateMissing?: any;
178
+ /** Link to the form to request a certificate for the policy topic constraint. */
179
+ requestCertificateFormLink?: string;
180
+ /** Reseller constraint. */
181
+ resellerConstraint?: any;
182
+ }
183
+ interface AdPolicyTopicConstraintAdPolicyCountryConstraintList {
184
+ /** Countries where the ad cannot serve. */
185
+ countries?: AdPolicyCriterionRestriction[];
186
+ }
187
+ interface AdPolicyTopicConstraintAdPolicyGlobalCertificateDomainMismatchConstraint {}
188
+ interface AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint {}
189
+ interface AdPolicyTopicConstraintAdPolicyResellerConstraint {}
190
+ interface AdPolicyTopicEntry {
191
+ /** Ad policy appeal related information for the policy topic. */
192
+ appealInfo?: AdPolicyTopicAppealInfo;
193
+ /** Ad policy help center link for the policy topic. */
194
+ helpCenterLink?: string;
195
+ /** The source of the policy decision. */
196
+ policyDecisionType?: string;
197
+ /** The policy enforcement means used in the policy review. */
198
+ policyEnforcementMeans?: string;
199
+ /** Localized label text for policy. (Trademarks in text, Contains Alcohol, etc.) */
200
+ policyLabel?: string;
201
+ /** The policy topic of an ad policy topic entry. (TRADEMARKS, ALCOHOL, etc.) */
202
+ policyTopic?: string;
203
+ /** The policy topic constraints. */
204
+ policyTopicConstraints?: AdPolicyTopicConstraint[];
205
+ /** Short summary description of the policy topic. */
206
+ policyTopicDescription?: string;
207
+ /** The policy topic evidences. */
208
+ policyTopicEvidences?: AdPolicyTopicEvidence[];
209
+ /** The policy topic entry type. */
210
+ policyTopicType?: string;
211
+ }
212
+ interface AdPolicyTopicEvidence {
213
+ /** Counterfeit enforcement that caused a policy violation. */
214
+ counterfeit?: AdPolicyTopicEvidenceCounterfeit;
215
+ /** Mismatch between the ad destinations URLs. */
216
+ destinationMismatch?: AdPolicyTopicEvidenceDestinationMismatch;
217
+ /** Destination not working because of HTTP error or DNS error. */
218
+ destinationNotWorking?: AdPolicyTopicEvidenceDestinationNotWorking;
219
+ /** The text in the destination of the ad that is causing a policy violation. */
220
+ destinationTextList?: AdPolicyTopicEvidenceDestinationTextList;
221
+ /** HTTP code returned when the final URL was crawled. */
222
+ httpCode?: number;
223
+ /** The language the ad was detected to be written in. This is an IETF language tag such as "en-US". */
224
+ languageCode?: string;
225
+ /** Legal related regulation enforcement that caused a policy violation. */
226
+ legalRemoval?: AdPolicyTopicEvidenceLegalRemoval;
227
+ /** T&S proactive enforcement that caused a policy violation. */
228
+ regionalRequirements?: AdPolicyTopicEvidenceRegionalRequirements;
229
+ /** List of evidence found in the text of the ad. */
230
+ textList?: AdPolicyTopicEvidenceTextList;
231
+ /** Trademark terms that caused a policy violation. */
232
+ trademark?: AdPolicyTopicEvidenceTrademark;
233
+ /** List of websites linked with the ad. */
234
+ websiteList?: AdPolicyTopicEvidenceWebsiteList;
235
+ }
236
+ interface AdPolicyTopicEvidenceCounterfeit {
237
+ /** The content or product owners that make the complainants. */
238
+ owners?: string[];
239
+ }
240
+ interface AdPolicyTopicEvidenceDestinationMismatch {
241
+ /** The set of URLs that do not match each other. The list can include single or multiple uri types. Example 1: [DISPLAY_URL, FINAL_URL] means ad display URL does not match with the ad final URL. Example 2: [FINAL_URL] means ad final URL did not match the crawled url, which is also considered as destinationmismatch. */
242
+ uriTypes?: string[];
243
+ }
244
+ interface AdPolicyTopicEvidenceDestinationNotWorking {
245
+ /** The device platform of the not working url. */
246
+ device?: string;
247
+ /** The type of DNS error. */
248
+ dnsErrorType?: string;
249
+ /** The full URL that didn't work. */
250
+ expandedUri?: string;
251
+ /** The HTTP error code. */
252
+ httpErrorCode?: string;
253
+ /** The last checked time of the not working url. */
254
+ lastCheckedTime?: string;
255
+ }
256
+ interface AdPolicyTopicEvidenceDestinationTextList {
257
+ /** Destination text that caused the policy finding. */
258
+ destinationTexts?: string[];
259
+ }
260
+ interface AdPolicyTopicEvidenceLegalRemoval {
261
+ /** The legal removal complaint type. */
262
+ complaintType?: string;
263
+ /** The restricted countries due to the legal removal. */
264
+ countryRestrictions?: AdPolicyCriterionRestriction[];
265
+ /** Whether the restriction is from DMCA regulation. */
266
+ dmca?: AdPolicyTopicEvidenceLegalRemovalDmca;
267
+ /** Whether the restriction is from local legal regulation. */
268
+ localLegal?: AdPolicyTopicEvidenceLegalRemovalLocalLegal;
269
+ /** The urls that are restricted due to the legal removal. */
270
+ restrictedUris?: string[];
271
+ }
272
+ interface AdPolicyTopicEvidenceLegalRemovalDmca {
273
+ /** The entity who makes the legal complaint. */
274
+ complainant?: string;
275
+ }
276
+ interface AdPolicyTopicEvidenceLegalRemovalLocalLegal {
277
+ /** Type of law for the legal notice. */
278
+ lawType?: string;
279
+ }
280
+ interface AdPolicyTopicEvidenceRegionalRequirements {
281
+ /** List of regional requirements. */
282
+ regionalRequirementsEntries?: AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry[];
283
+ }
284
+ interface AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry {
285
+ /** The restricted countries due to the legal policy. */
286
+ countryRestrictions?: AdPolicyCriterionRestriction[];
287
+ /** The legal policy that is violated. */
288
+ legalPolicy?: string;
289
+ }
290
+ interface AdPolicyTopicEvidenceTextList {
291
+ /** The fragments of text from the resource that caused the policy finding. */
292
+ texts?: string[];
293
+ }
294
+ interface AdPolicyTopicEvidenceTrademark {
295
+ /** Criteria that are geo restrictions. */
296
+ countryRestrictions?: AdPolicyCriterionRestriction[];
297
+ /** The trademark content owner. */
298
+ owner?: string;
299
+ /** The trademark term. */
300
+ term?: string;
301
+ }
302
+ interface AdPolicyTopicEvidenceWebsiteList {
303
+ /** Websites that caused the policy finding. */
304
+ websites?: string[];
305
+ }
133
306
  interface AdUrl {
134
307
  /** The type of the Ad URL. */
135
308
  type?: string;
@@ -578,6 +751,14 @@ declare namespace gapi.client {
578
751
  /** The total sum of charges made under this budget, including tax, in micros of the invoice's currency. For example, if currency_code is `USD`, then 1000000 represents one US dollar. */
579
752
  totalAmountMicros?: string;
580
753
  }
754
+ interface BulkCreateAdAssetsRequest {
755
+ /** Required. Ad assets to create. Only supports youtube video assets for now. */
756
+ adAssets?: AdAsset[];
757
+ }
758
+ interface BulkCreateAdAssetsResponse {
759
+ /** The uploaded video ad assets, if successful. */
760
+ adAssets?: AdAsset[];
761
+ }
581
762
  interface BulkEditAdvertiserAssignedTargetingOptionsRequest {
582
763
  /** The assigned targeting options to create in batch, specified as a list of `CreateAssignedTargetingOptionsRequest`. Supported targeting types: * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * `TARGETING_TYPE_OMID` * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_INVENTORY_MODE` */
583
764
  createRequests?: CreateAssignedTargetingOptionsRequest[];
@@ -1008,6 +1189,10 @@ declare namespace gapi.client {
1008
1189
  /** Required. The name used to identify this counter event in reports. */
1009
1190
  reportingName?: string;
1010
1191
  }
1192
+ interface CreateAdAssetRequest {
1193
+ /** Required. Ad assets to create. Only supports youtube video assets for now. */
1194
+ adAsset?: AdAsset;
1195
+ }
1011
1196
  interface CreateAssetRequest {
1012
1197
  /** Required. The filename of the asset, including the file extension. The filename must be UTF-8 encoded with a maximum size of 240 bytes. */
1013
1198
  filename?: string;
@@ -2041,6 +2226,12 @@ declare namespace gapi.client {
2041
2226
  /** Required. The type of the line item's flight dates. */
2042
2227
  flightDateType?: string;
2043
2228
  }
2229
+ interface ListAdAssetsResponse {
2230
+ /** The list of ad assets. This list will be absent if empty. */
2231
+ adAssets?: AdAsset[];
2232
+ /** A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAdAssets` method to retrieve the next page of results. */
2233
+ nextPageToken?: string;
2234
+ }
2044
2235
  interface ListAdGroupAdsResponse {
2045
2236
  /** The list of ad group ads. This list will be absent if empty. */
2046
2237
  adGroupAds?: AdGroupAd[];
@@ -2251,6 +2442,12 @@ declare namespace gapi.client {
2251
2442
  /** The list of users. This list will be absent if empty. */
2252
2443
  users?: User[];
2253
2444
  }
2445
+ interface ListYoutubeAssetAssociationsResponse {
2446
+ /** A token to retrieve the next page of results. */
2447
+ nextPageToken?: string;
2448
+ /** The list of associations. This list will be absent if empty. */
2449
+ youtubeAssetAssociations?: YoutubeAssetAssociation[];
2450
+ }
2254
2451
  interface LocationList {
2255
2452
  /** Required. Immutable. The unique ID of the advertiser the location list belongs to. */
2256
2453
  advertiserId?: string;
@@ -2909,6 +3106,16 @@ declare namespace gapi.client {
2909
3106
  /** Optional. The registry provides unique creative identifiers. */
2910
3107
  registry?: string;
2911
3108
  }
3109
+ interface UploadAdAssetRequest {
3110
+ /** Required. The type of the ad asset. Only supports image assets for now. */
3111
+ adAssetType?: string;
3112
+ /** Required. The filename of the ad asset, including the file extension. The filename must be UTF-8 encoded with a maximum size of 240 bytes. */
3113
+ filename?: string;
3114
+ }
3115
+ interface UploadAdAssetResponse {
3116
+ /** The uploaded ad asset, if successful. */
3117
+ adAsset?: AdAsset;
3118
+ }
2912
3119
  interface UrlAssignedTargetingOptionDetails {
2913
3120
  /** Indicates if this option is being negatively targeted. */
2914
3121
  negative?: boolean;
@@ -3059,12 +3266,68 @@ declare namespace gapi.client {
3059
3266
  /** The view frequency cap settings of the line item. The max_views field in this settings object must be used if assigning a limited cap. */
3060
3267
  viewFrequencyCap?: FrequencyCap;
3061
3268
  }
3269
+ interface YoutubeAssetAssociation {
3270
+ /** Required. The linked YouTube asset in the association. */
3271
+ linkedYoutubeAsset?: YoutubeAssetAssociationLinkedYouTubeAsset;
3272
+ /** Identifier. The resource name of the association. For line item level associations: The name pattern is `advertisers/{advertiser_id}/lineItems/{line_item_id}/youtubeAssetTypes/{youtube_asset_type}/youtubeAssetAssociations/{youtube_asset_association_id}`. For ad group level associations: The name pattern is `advertisers/{advertiser_id}/adGroups/{ad_group_id}/youtubeAssetTypes/{youtube_asset_type}/youtubeAssetAssociations/{youtube_asset_association_id}`. For location and affiliate location associations: {youtube_asset_association_id} is the linked asset set ID if the YouTube asset type (location or affiliate location) is enabled on the linked line item or ad group, 0 if disabled. For sitelink associations: {youtube_asset_association_id} is the linked asset ID. */
3273
+ name?: string;
3274
+ /** Required. The type of the linked YouTube asset in the association. */
3275
+ youtubeAssetType?: string;
3276
+ }
3277
+ interface YoutubeAssetAssociationAffiliateLocationAssetFilter {
3278
+ /** Optional. The matching function that contains details about how the affiliate location asset filter matches affiliate location assets. When creating associations with affiliate location asset filters: This field is required only for affiliate location asset filters of AffiliateLocationMatchingType#SELECTED_CHAINS. */
3279
+ affiliateLocationMatchingFunction?: YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationMatchingFunction;
3280
+ /** Required. The matching type of this affiliate location asset filter. */
3281
+ affiliateLocationMatchingType?: string;
3282
+ /** Output only. The ID of the asset set that matches the affiliate location assets eligible for serving. */
3283
+ assetSetId?: string;
3284
+ }
3285
+ interface YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationChain {
3286
+ /** Required. ID of the affiliate location chain. */
3287
+ chainId?: string;
3288
+ }
3289
+ interface YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationMatchingFunction {
3290
+ /** Optional. The chains that match the affiliate location assets for serving. This is required to set when linking with affiliate location asset filters of AffiliateLocationMatchingType#SELECTED_CHAINS. */
3291
+ chains?: YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationChain[];
3292
+ }
3293
+ interface YoutubeAssetAssociationLinkedYouTubeAsset {
3294
+ /** The linked affiliate location asset filter. */
3295
+ affiliateLocationAssetFilter?: YoutubeAssetAssociationAffiliateLocationAssetFilter;
3296
+ /** The linked location asset filter. */
3297
+ locationAssetFilter?: YoutubeAssetAssociationLocationAssetFilter;
3298
+ /** The linked sitelink asset. */
3299
+ sitelinkAsset?: YoutubeAssetAssociationSitelinkAsset;
3300
+ }
3301
+ interface YoutubeAssetAssociationLocationAssetFilter {
3302
+ /** Output only. The ID of the asset set that matches the location assets eligible for serving. */
3303
+ assetSetId?: string;
3304
+ /** Optional. The matching function that contains details about how the location asset filter matches location assets. This field should only be set for location asset filters of LocationMatchingType#FILTER or LocationMatchingType#SELECTED_ASSETS. When creating associations with location asset filters: This field is required only for location asset filters of LocationMatchingType#FILTER or LocationMatchingType#SELECTED_ASSETS. */
3305
+ locationMatchingFunction?: YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction;
3306
+ /** Required. The matching type of this location asset filter. */
3307
+ locationMatchingType?: string;
3308
+ }
3309
+ interface YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction {
3310
+ /** Optional. The business name filter. This can be set only when linking with location asset filters of LocationMatchingType#FILTER. This is optional when linking with location asset filters of LocationMatchingType#FILTER. */
3311
+ business?: string;
3312
+ /** Optional. The label filters. Label filters are OR'ed together. This can be set only when linking with location asset filters of LocationMatchingType#FILTER. This is optional when linking with location asset filters of LocationMatchingType#FILTER. */
3313
+ labels?: string[];
3314
+ /** Optional. The selected location asset IDs. This is required to set when linking with location asset filters of LocationMatchingType#SELECTED_ASSETS. */
3315
+ locationAssetIds?: string[];
3316
+ }
3317
+ interface YoutubeAssetAssociationSitelinkAsset {
3318
+ /** Required. ID of the sitelink asset. */
3319
+ assetId?: string;
3320
+ }
3062
3321
  interface YoutubeChannelAssignedTargetingOptionDetails {
3063
3322
  /** The YouTube uploader channel id or the channel code of a YouTube channel. */
3064
3323
  channelId?: string;
3065
3324
  /** Indicates if this option is being negatively targeted. */
3066
3325
  negative?: boolean;
3067
3326
  }
3327
+ interface YoutubeVideoAsset {
3328
+ /** Required. The youtube video id of the asset. This is the 11 char string value used in the Youtube video URL. */
3329
+ youtubeVideoId?: string;
3330
+ }
3068
3331
  interface YoutubeVideoAssignedTargetingOptionDetails {
3069
3332
  /** Indicates if this option is being negatively targeted. */
3070
3333
  negative?: boolean;
@@ -3077,6 +3340,246 @@ declare namespace gapi.client {
3077
3340
  /** The reason why the video data is not available. */
3078
3341
  unavailableReason?: string;
3079
3342
  }
3343
+ interface AdAssetsResource {
3344
+ /** BulkCreate video assets for Ad. Only supports youtube video assets for now. */
3345
+ bulkCreate(request: {
3346
+ /** V1 error format. */
3347
+ '$.xgafv'?: string;
3348
+ /** OAuth access token. */
3349
+ access_token?: string;
3350
+ /** Required. The ID of the advertiser this ad asset belongs to. */
3351
+ advertiserId: string;
3352
+ /** Data format for response. */
3353
+ alt?: string;
3354
+ /** JSONP */
3355
+ callback?: string;
3356
+ /** Selector specifying which fields to include in a partial response. */
3357
+ fields?: string;
3358
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3359
+ key?: string;
3360
+ /** OAuth 2.0 token for the current user. */
3361
+ oauth_token?: string;
3362
+ /** Returns response with indentations and line breaks. */
3363
+ prettyPrint?: boolean;
3364
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3365
+ quotaUser?: string;
3366
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3367
+ upload_protocol?: string;
3368
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3369
+ uploadType?: string;
3370
+ /** Request body */
3371
+ resource: BulkCreateAdAssetsRequest;
3372
+ }): Request<BulkCreateAdAssetsResponse>;
3373
+ bulkCreate(
3374
+ request: {
3375
+ /** V1 error format. */
3376
+ '$.xgafv'?: string;
3377
+ /** OAuth access token. */
3378
+ access_token?: string;
3379
+ /** Required. The ID of the advertiser this ad asset belongs to. */
3380
+ advertiserId: string;
3381
+ /** Data format for response. */
3382
+ alt?: string;
3383
+ /** JSONP */
3384
+ callback?: string;
3385
+ /** Selector specifying which fields to include in a partial response. */
3386
+ fields?: string;
3387
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3388
+ key?: string;
3389
+ /** OAuth 2.0 token for the current user. */
3390
+ oauth_token?: string;
3391
+ /** Returns response with indentations and line breaks. */
3392
+ prettyPrint?: boolean;
3393
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3394
+ quotaUser?: string;
3395
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3396
+ upload_protocol?: string;
3397
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3398
+ uploadType?: string;
3399
+ },
3400
+ body: BulkCreateAdAssetsRequest,
3401
+ ): Request<BulkCreateAdAssetsResponse>;
3402
+ /** Create a video asset for Ad. Only supports youtube video assets for now. */
3403
+ create(request: {
3404
+ /** V1 error format. */
3405
+ '$.xgafv'?: string;
3406
+ /** OAuth access token. */
3407
+ access_token?: string;
3408
+ /** Required. The ID of the advertiser this ad asset belongs to. */
3409
+ advertiserId: string;
3410
+ /** Data format for response. */
3411
+ alt?: string;
3412
+ /** JSONP */
3413
+ callback?: string;
3414
+ /** Selector specifying which fields to include in a partial response. */
3415
+ fields?: string;
3416
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3417
+ key?: string;
3418
+ /** OAuth 2.0 token for the current user. */
3419
+ oauth_token?: string;
3420
+ /** Returns response with indentations and line breaks. */
3421
+ prettyPrint?: boolean;
3422
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3423
+ quotaUser?: string;
3424
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3425
+ upload_protocol?: string;
3426
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3427
+ uploadType?: string;
3428
+ /** Request body */
3429
+ resource: CreateAdAssetRequest;
3430
+ }): Request<AdAsset>;
3431
+ create(
3432
+ request: {
3433
+ /** V1 error format. */
3434
+ '$.xgafv'?: string;
3435
+ /** OAuth access token. */
3436
+ access_token?: string;
3437
+ /** Required. The ID of the advertiser this ad asset belongs to. */
3438
+ advertiserId: string;
3439
+ /** Data format for response. */
3440
+ alt?: string;
3441
+ /** JSONP */
3442
+ callback?: string;
3443
+ /** Selector specifying which fields to include in a partial response. */
3444
+ fields?: string;
3445
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3446
+ key?: string;
3447
+ /** OAuth 2.0 token for the current user. */
3448
+ oauth_token?: string;
3449
+ /** Returns response with indentations and line breaks. */
3450
+ prettyPrint?: boolean;
3451
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3452
+ quotaUser?: string;
3453
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3454
+ upload_protocol?: string;
3455
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3456
+ uploadType?: string;
3457
+ },
3458
+ body: CreateAdAssetRequest,
3459
+ ): Request<AdAsset>;
3460
+ /** Get an ad asset by ad asset ID. Only supports youtube video assets. */
3461
+ get(request?: {
3462
+ /** V1 error format. */
3463
+ '$.xgafv'?: string;
3464
+ /** OAuth access token. */
3465
+ access_token?: string;
3466
+ /** Required. The ID of the ad asset to fetch. */
3467
+ adAssetId: string;
3468
+ /** Required. The ID of the advertiser this ad asset belongs to. */
3469
+ advertiserId: string;
3470
+ /** Data format for response. */
3471
+ alt?: string;
3472
+ /** JSONP */
3473
+ callback?: string;
3474
+ /** Selector specifying which fields to include in a partial response. */
3475
+ fields?: string;
3476
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3477
+ key?: string;
3478
+ /** OAuth 2.0 token for the current user. */
3479
+ oauth_token?: string;
3480
+ /** Returns response with indentations and line breaks. */
3481
+ prettyPrint?: boolean;
3482
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3483
+ quotaUser?: string;
3484
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3485
+ upload_protocol?: string;
3486
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3487
+ uploadType?: string;
3488
+ }): Request<AdAsset>;
3489
+ /** List ad assets by advertiser ID. Only supports youtube video ad assets. */
3490
+ list(request?: {
3491
+ /** V1 error format. */
3492
+ '$.xgafv'?: string;
3493
+ /** OAuth access token. */
3494
+ access_token?: string;
3495
+ /** Required. The ID of the advertiser to list assets for. */
3496
+ advertiserId: string;
3497
+ /** Data format for response. */
3498
+ alt?: string;
3499
+ /** JSONP */
3500
+ callback?: string;
3501
+ /** Selector specifying which fields to include in a partial response. */
3502
+ fields?: string;
3503
+ /** Optional. Filter expression to restrict the ad assets to return. The supported fields are: * `youtubeVideoAsset.youtubeVideoId` * `entityStatus` Examples: * `entityStatus=ENTITY_STATUS_ACTIVE` */
3504
+ filter?: string;
3505
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3506
+ key?: string;
3507
+ /** OAuth 2.0 token for the current user. */
3508
+ oauth_token?: string;
3509
+ /** Optional. Field by which to sort the list. Acceptable values are: * `entityStatus` * `youtubeVideoAsset.youtubeVideoId` * `adAssetId` (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: `assetId desc`. */
3510
+ orderBy?: string;
3511
+ /** Optional. Requested page size. Must be between `1` and `5000`. If unspecified will default to `5000`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. */
3512
+ pageSize?: number;
3513
+ /** Optional. 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 `ListAssets` method. If not specified, the first page of results will be returned. */
3514
+ pageToken?: string;
3515
+ /** Returns response with indentations and line breaks. */
3516
+ prettyPrint?: boolean;
3517
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3518
+ quotaUser?: string;
3519
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3520
+ upload_protocol?: string;
3521
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3522
+ uploadType?: string;
3523
+ }): Request<ListAdAssetsResponse>;
3524
+ /** Uploads an ad asset. Returns the ID of the newly uploaded ad asset if successful. */
3525
+ upload(request: {
3526
+ /** V1 error format. */
3527
+ '$.xgafv'?: string;
3528
+ /** OAuth access token. */
3529
+ access_token?: string;
3530
+ /** Required. The ID of the advertiser this ad asset belongs to. */
3531
+ advertiserId: string;
3532
+ /** Data format for response. */
3533
+ alt?: string;
3534
+ /** JSONP */
3535
+ callback?: string;
3536
+ /** Selector specifying which fields to include in a partial response. */
3537
+ fields?: string;
3538
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3539
+ key?: string;
3540
+ /** OAuth 2.0 token for the current user. */
3541
+ oauth_token?: string;
3542
+ /** Returns response with indentations and line breaks. */
3543
+ prettyPrint?: boolean;
3544
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3545
+ quotaUser?: string;
3546
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3547
+ upload_protocol?: string;
3548
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3549
+ uploadType?: string;
3550
+ /** Request body */
3551
+ resource: UploadAdAssetRequest;
3552
+ }): Request<UploadAdAssetResponse>;
3553
+ upload(
3554
+ request: {
3555
+ /** V1 error format. */
3556
+ '$.xgafv'?: string;
3557
+ /** OAuth access token. */
3558
+ access_token?: string;
3559
+ /** Required. The ID of the advertiser this ad asset belongs to. */
3560
+ advertiserId: string;
3561
+ /** Data format for response. */
3562
+ alt?: string;
3563
+ /** JSONP */
3564
+ callback?: string;
3565
+ /** Selector specifying which fields to include in a partial response. */
3566
+ fields?: string;
3567
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3568
+ key?: string;
3569
+ /** OAuth 2.0 token for the current user. */
3570
+ oauth_token?: string;
3571
+ /** Returns response with indentations and line breaks. */
3572
+ prettyPrint?: boolean;
3573
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3574
+ quotaUser?: string;
3575
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3576
+ upload_protocol?: string;
3577
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3578
+ uploadType?: string;
3579
+ },
3580
+ body: UploadAdAssetRequest,
3581
+ ): Request<UploadAdAssetResponse>;
3582
+ }
3080
3583
  interface AdGroupAdsResource {
3081
3584
  /** Gets an ad group ad. */
3082
3585
  get(request?: {
@@ -3220,6 +3723,155 @@ declare namespace gapi.client {
3220
3723
  interface TargetingTypesResource {
3221
3724
  assignedTargetingOptions: AssignedTargetingOptionsResource;
3222
3725
  }
3726
+ interface YoutubeAssetAssociationsResource {
3727
+ /** Creates a new association between an entity (line item or ad group) and a YouTube asset. Returns the newly created association if successful. */
3728
+ create(request: {
3729
+ /** V1 error format. */
3730
+ '$.xgafv'?: string;
3731
+ /** OAuth access token. */
3732
+ access_token?: string;
3733
+ /** The unique ID of the ad group linked. */
3734
+ adGroupId: string;
3735
+ /** Required. The ID of the advertiser this request is for. */
3736
+ advertiserId: string;
3737
+ /** Data format for response. */
3738
+ alt?: string;
3739
+ /** JSONP */
3740
+ callback?: string;
3741
+ /** Selector specifying which fields to include in a partial response. */
3742
+ fields?: string;
3743
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3744
+ key?: string;
3745
+ /** The unique ID of the line item linked. */
3746
+ 'linkedEntity.lineItemId'?: string;
3747
+ /** OAuth 2.0 token for the current user. */
3748
+ oauth_token?: string;
3749
+ /** Returns response with indentations and line breaks. */
3750
+ prettyPrint?: boolean;
3751
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3752
+ quotaUser?: string;
3753
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3754
+ upload_protocol?: string;
3755
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3756
+ uploadType?: string;
3757
+ /** Required. The type of the linked YouTube asset in the association. */
3758
+ youtubeAssetType: string;
3759
+ /** Request body */
3760
+ resource: YoutubeAssetAssociation;
3761
+ }): Request<YoutubeAssetAssociation>;
3762
+ create(
3763
+ request: {
3764
+ /** V1 error format. */
3765
+ '$.xgafv'?: string;
3766
+ /** OAuth access token. */
3767
+ access_token?: string;
3768
+ /** The unique ID of the ad group linked. */
3769
+ adGroupId: string;
3770
+ /** Required. The ID of the advertiser this request is for. */
3771
+ advertiserId: string;
3772
+ /** Data format for response. */
3773
+ alt?: string;
3774
+ /** JSONP */
3775
+ callback?: string;
3776
+ /** Selector specifying which fields to include in a partial response. */
3777
+ fields?: string;
3778
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3779
+ key?: string;
3780
+ /** The unique ID of the line item linked. */
3781
+ 'linkedEntity.lineItemId'?: string;
3782
+ /** OAuth 2.0 token for the current user. */
3783
+ oauth_token?: string;
3784
+ /** Returns response with indentations and line breaks. */
3785
+ prettyPrint?: boolean;
3786
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3787
+ quotaUser?: string;
3788
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3789
+ upload_protocol?: string;
3790
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3791
+ uploadType?: string;
3792
+ /** Required. The type of the linked YouTube asset in the association. */
3793
+ youtubeAssetType: string;
3794
+ },
3795
+ body: YoutubeAssetAssociation,
3796
+ ): Request<YoutubeAssetAssociation>;
3797
+ /** Deletes an existing association between an entity (line item or ad group) and a YouTube asset. */
3798
+ delete(request?: {
3799
+ /** V1 error format. */
3800
+ '$.xgafv'?: string;
3801
+ /** OAuth access token. */
3802
+ access_token?: string;
3803
+ /** The unique ID of the ad group linked. */
3804
+ adGroupId: string;
3805
+ /** Required. The ID of the advertiser this request is for. */
3806
+ advertiserId: string;
3807
+ /** Data format for response. */
3808
+ alt?: string;
3809
+ /** JSONP */
3810
+ callback?: string;
3811
+ /** Selector specifying which fields to include in a partial response. */
3812
+ fields?: string;
3813
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3814
+ key?: string;
3815
+ /** The unique ID of the line item linked. */
3816
+ 'linkedEntity.lineItemId'?: string;
3817
+ /** OAuth 2.0 token for the current user. */
3818
+ oauth_token?: string;
3819
+ /** Returns response with indentations and line breaks. */
3820
+ prettyPrint?: boolean;
3821
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3822
+ quotaUser?: string;
3823
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3824
+ upload_protocol?: string;
3825
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3826
+ uploadType?: string;
3827
+ /** Required. The ID of the YouTube asset in the association. For location associations: This should be the ID of the asset set linked, or 0 if the association stands for location asset is disabled. For affiliate location associations: This should be the ID of the asset set linked, or 0 if the association stands for affiliate location asset is disabled. For sitelink associations: This should be the ID of the sitelink asset linked. */
3828
+ youtubeAssetAssociationId: string;
3829
+ /** Required. The YouTube asset type this request is for. */
3830
+ youtubeAssetType: string;
3831
+ }): Request<{}>;
3832
+ /** Lists the YouTube asset associations for given resource. */
3833
+ list(request?: {
3834
+ /** V1 error format. */
3835
+ '$.xgafv'?: string;
3836
+ /** OAuth access token. */
3837
+ access_token?: string;
3838
+ /** The unique ID of the ad group linked. */
3839
+ adGroupId: string;
3840
+ /** Required. The ID of the advertiser this request is for. */
3841
+ advertiserId: string;
3842
+ /** Data format for response. */
3843
+ alt?: string;
3844
+ /** JSONP */
3845
+ callback?: string;
3846
+ /** Selector specifying which fields to include in a partial response. */
3847
+ fields?: string;
3848
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3849
+ key?: string;
3850
+ /** The unique ID of the line item linked. */
3851
+ 'linkedEntity.lineItemId'?: string;
3852
+ /** OAuth 2.0 token for the current user. */
3853
+ oauth_token?: string;
3854
+ /** Optional. Field by which to sort the list. The only acceptable values are: `linkedYoutubeAsset.locationAssetFilter.assetSetId`, `linkedYoutubeAsset.affiliateLocationAssetFilter.assetSetId`, `linkedYoutubeAsset.sitelinkAsset.assetId` The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be added to the field name. Example: `linkedYoutubeAsset.sitelinkAsset.assetId desc`. */
3855
+ orderBy?: string;
3856
+ /** Optional. Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. */
3857
+ pageSize?: number;
3858
+ /** Optional. A token identifying a page of results the server should return. */
3859
+ pageToken?: string;
3860
+ /** Returns response with indentations and line breaks. */
3861
+ prettyPrint?: boolean;
3862
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3863
+ quotaUser?: string;
3864
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
3865
+ upload_protocol?: string;
3866
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3867
+ uploadType?: string;
3868
+ /** Required. The type of YouTube asset in the association. */
3869
+ youtubeAssetType: string;
3870
+ }): Request<ListYoutubeAssetAssociationsResponse>;
3871
+ }
3872
+ interface YoutubeAssetTypesResource {
3873
+ youtubeAssetAssociations: YoutubeAssetAssociationsResource;
3874
+ }
3223
3875
  interface AdGroupsResource {
3224
3876
  /** Lists assigned targeting options for multiple ad groups across targeting types. Inherited assigned targeting options are not included. */
3225
3877
  bulkListAssignedTargetingOptions(request?: {
@@ -3323,6 +3975,7 @@ declare namespace gapi.client {
3323
3975
  uploadType?: string;
3324
3976
  }): Request<ListAdGroupsResponse>;
3325
3977
  targetingTypes: TargetingTypesResource;
3978
+ youtubeAssetTypes: YoutubeAssetTypesResource;
3326
3979
  }
3327
3980
  interface AssetsResource {
3328
3981
  /** Uploads an asset. Returns the ID of the newly uploaded asset if successful. The asset file size should be no more than 10 MB for images, 200 MB for ZIP files, and 1 GB for videos. Must be used within the [multipart media upload process](/display-video/api/guides/how-tos/upload#multipart). Examples using provided client libraries can be found in our [Creating Creatives guide](/display-video/api/guides/creating-creatives/overview#upload_an_asset). */
@@ -5079,6 +5732,155 @@ declare namespace gapi.client {
5079
5732
  interface TargetingTypesResource {
5080
5733
  assignedTargetingOptions: AssignedTargetingOptionsResource;
5081
5734
  }
5735
+ interface YoutubeAssetAssociationsResource {
5736
+ /** Creates a new association between an entity (line item or ad group) and a YouTube asset. Returns the newly created association if successful. */
5737
+ create(request: {
5738
+ /** V1 error format. */
5739
+ '$.xgafv'?: string;
5740
+ /** OAuth access token. */
5741
+ access_token?: string;
5742
+ /** Required. The ID of the advertiser this request is for. */
5743
+ advertiserId: string;
5744
+ /** Data format for response. */
5745
+ alt?: string;
5746
+ /** JSONP */
5747
+ callback?: string;
5748
+ /** Selector specifying which fields to include in a partial response. */
5749
+ fields?: string;
5750
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5751
+ key?: string;
5752
+ /** The unique ID of the line item linked. */
5753
+ lineItemId: string;
5754
+ /** The unique ID of the ad group linked. */
5755
+ 'linkedEntity.adGroupId'?: string;
5756
+ /** OAuth 2.0 token for the current user. */
5757
+ oauth_token?: string;
5758
+ /** Returns response with indentations and line breaks. */
5759
+ prettyPrint?: boolean;
5760
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
5761
+ quotaUser?: string;
5762
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5763
+ upload_protocol?: string;
5764
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5765
+ uploadType?: string;
5766
+ /** Required. The type of the linked YouTube asset in the association. */
5767
+ youtubeAssetType: string;
5768
+ /** Request body */
5769
+ resource: YoutubeAssetAssociation;
5770
+ }): Request<YoutubeAssetAssociation>;
5771
+ create(
5772
+ request: {
5773
+ /** V1 error format. */
5774
+ '$.xgafv'?: string;
5775
+ /** OAuth access token. */
5776
+ access_token?: string;
5777
+ /** Required. The ID of the advertiser this request is for. */
5778
+ advertiserId: string;
5779
+ /** Data format for response. */
5780
+ alt?: string;
5781
+ /** JSONP */
5782
+ callback?: string;
5783
+ /** Selector specifying which fields to include in a partial response. */
5784
+ fields?: string;
5785
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5786
+ key?: string;
5787
+ /** The unique ID of the line item linked. */
5788
+ lineItemId: string;
5789
+ /** The unique ID of the ad group linked. */
5790
+ 'linkedEntity.adGroupId'?: string;
5791
+ /** OAuth 2.0 token for the current user. */
5792
+ oauth_token?: string;
5793
+ /** Returns response with indentations and line breaks. */
5794
+ prettyPrint?: boolean;
5795
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
5796
+ quotaUser?: string;
5797
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5798
+ upload_protocol?: string;
5799
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5800
+ uploadType?: string;
5801
+ /** Required. The type of the linked YouTube asset in the association. */
5802
+ youtubeAssetType: string;
5803
+ },
5804
+ body: YoutubeAssetAssociation,
5805
+ ): Request<YoutubeAssetAssociation>;
5806
+ /** Deletes an existing association between an entity (line item or ad group) and a YouTube asset. */
5807
+ delete(request?: {
5808
+ /** V1 error format. */
5809
+ '$.xgafv'?: string;
5810
+ /** OAuth access token. */
5811
+ access_token?: string;
5812
+ /** Required. The ID of the advertiser this request is for. */
5813
+ advertiserId: string;
5814
+ /** Data format for response. */
5815
+ alt?: string;
5816
+ /** JSONP */
5817
+ callback?: string;
5818
+ /** Selector specifying which fields to include in a partial response. */
5819
+ fields?: string;
5820
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5821
+ key?: string;
5822
+ /** The unique ID of the line item linked. */
5823
+ lineItemId: string;
5824
+ /** The unique ID of the ad group linked. */
5825
+ 'linkedEntity.adGroupId'?: string;
5826
+ /** OAuth 2.0 token for the current user. */
5827
+ oauth_token?: string;
5828
+ /** Returns response with indentations and line breaks. */
5829
+ prettyPrint?: boolean;
5830
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
5831
+ quotaUser?: string;
5832
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5833
+ upload_protocol?: string;
5834
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5835
+ uploadType?: string;
5836
+ /** Required. The ID of the YouTube asset in the association. For location associations: This should be the ID of the asset set linked, or 0 if the association stands for location asset is disabled. For affiliate location associations: This should be the ID of the asset set linked, or 0 if the association stands for affiliate location asset is disabled. For sitelink associations: This should be the ID of the sitelink asset linked. */
5837
+ youtubeAssetAssociationId: string;
5838
+ /** Required. The YouTube asset type this request is for. */
5839
+ youtubeAssetType: string;
5840
+ }): Request<{}>;
5841
+ /** Lists the YouTube asset associations for given resource. */
5842
+ list(request?: {
5843
+ /** V1 error format. */
5844
+ '$.xgafv'?: string;
5845
+ /** OAuth access token. */
5846
+ access_token?: string;
5847
+ /** Required. The ID of the advertiser this request is for. */
5848
+ advertiserId: string;
5849
+ /** Data format for response. */
5850
+ alt?: string;
5851
+ /** JSONP */
5852
+ callback?: string;
5853
+ /** Selector specifying which fields to include in a partial response. */
5854
+ fields?: string;
5855
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5856
+ key?: string;
5857
+ /** The unique ID of the line item linked. */
5858
+ lineItemId: string;
5859
+ /** The unique ID of the ad group linked. */
5860
+ 'linkedEntity.adGroupId'?: string;
5861
+ /** OAuth 2.0 token for the current user. */
5862
+ oauth_token?: string;
5863
+ /** Optional. Field by which to sort the list. The only acceptable values are: `linkedYoutubeAsset.locationAssetFilter.assetSetId`, `linkedYoutubeAsset.affiliateLocationAssetFilter.assetSetId`, `linkedYoutubeAsset.sitelinkAsset.assetId` The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be added to the field name. Example: `linkedYoutubeAsset.sitelinkAsset.assetId desc`. */
5864
+ orderBy?: string;
5865
+ /** Optional. Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. */
5866
+ pageSize?: number;
5867
+ /** Optional. A token identifying a page of results the server should return. */
5868
+ pageToken?: string;
5869
+ /** Returns response with indentations and line breaks. */
5870
+ prettyPrint?: boolean;
5871
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
5872
+ quotaUser?: string;
5873
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
5874
+ upload_protocol?: string;
5875
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
5876
+ uploadType?: string;
5877
+ /** Required. The type of YouTube asset in the association. */
5878
+ youtubeAssetType: string;
5879
+ }): Request<ListYoutubeAssetAssociationsResponse>;
5880
+ }
5881
+ interface YoutubeAssetTypesResource {
5882
+ youtubeAssetAssociations: YoutubeAssetAssociationsResource;
5883
+ }
5082
5884
  interface LineItemsResource {
5083
5885
  /** Bulk edits targeting options under multiple line items. The operation will delete the assigned targeting options provided in BulkEditAssignedTargetingOptionsRequest.delete_requests and then create the assigned targeting options provided in BulkEditAssignedTargetingOptionsRequest.create_requests. Requests to this endpoint cannot be made concurrently with the following requests updating the same line item: * lineItems.bulkUpdate * lineItems.patch * assignedTargetingOptions.create * assignedTargetingOptions.delete YouTube & Partners line items cannot be created or updated using the API. */
5084
5886
  bulkEditAssignedTargetingOptions(request: {
@@ -5571,6 +6373,7 @@ declare namespace gapi.client {
5571
6373
  body: LineItem,
5572
6374
  ): Request<LineItem>;
5573
6375
  targetingTypes: TargetingTypesResource;
6376
+ youtubeAssetTypes: YoutubeAssetTypesResource;
5574
6377
  }
5575
6378
  interface AssignedLocationsResource {
5576
6379
  /** Bulk edits multiple assignments between locations and a single location list. The operation will delete the assigned locations provided in deletedAssignedLocations and then create the assigned locations provided in createdAssignedLocations. */
@@ -6923,6 +7726,7 @@ declare namespace gapi.client {
6923
7726
  },
6924
7727
  body: Advertiser,
6925
7728
  ): Request<Advertiser>;
7729
+ adAssets: AdAssetsResource;
6926
7730
  adGroupAds: AdGroupAdsResource;
6927
7731
  adGroups: AdGroupsResource;
6928
7732
  assets: AssetsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.displayvideo-v4",
3
- "version": "0.2.20250930",
3
+ "version": "0.2.20251023",
4
4
  "description": "TypeScript typings for Display & Video 360 API v4",
5
5
  "repository": {
6
6
  "type": "git",