@maxim_mazurok/gapi.client.displayvideo-v4 0.2.20251023 → 0.2.20251027
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.
- package/index.d.ts +114 -114
- 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:
|
|
12
|
+
// Revision: 20251027
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -37,7 +37,7 @@ declare namespace gapi.client {
|
|
|
37
37
|
minimumVolume?: string;
|
|
38
38
|
}
|
|
39
39
|
interface AdAsset {
|
|
40
|
-
/** Output only.
|
|
40
|
+
/** Output only. The ID of the ad asset. Referred to as the asset ID when assigned to an ad. */
|
|
41
41
|
adAssetId?: string;
|
|
42
42
|
/** Required. The type of the ad asset. */
|
|
43
43
|
adAssetType?: string;
|
|
@@ -45,7 +45,7 @@ declare namespace gapi.client {
|
|
|
45
45
|
entityStatus?: string;
|
|
46
46
|
/** Identifier. The resource name of the ad asset. */
|
|
47
47
|
name?: string;
|
|
48
|
-
/**
|
|
48
|
+
/** Youtube video asset data. */
|
|
49
49
|
youtubeVideoAsset?: YoutubeVideoAsset;
|
|
50
50
|
}
|
|
51
51
|
interface AdGroup {
|
|
@@ -73,7 +73,7 @@ declare namespace gapi.client {
|
|
|
73
73
|
interface AdGroupAd {
|
|
74
74
|
/** The unique ID of the ad. Assigned by the system. */
|
|
75
75
|
adGroupAdId?: string;
|
|
76
|
-
/** The unique ID of the ad group that the ad belongs to. */
|
|
76
|
+
/** The unique ID of the ad group that the ad belongs to. *Caution*: Parent ad groups for Demand Gen ads are not currently retrieveable using `advertisers.adGroups.list` or `advertisers.adGroups.get`. Demand Gen ads can be identified by the absence of the `ad_details` union field. */
|
|
77
77
|
adGroupId?: string;
|
|
78
78
|
/** The policy approval status of the ad. */
|
|
79
79
|
adPolicy?: AdPolicy;
|
|
@@ -145,23 +145,23 @@ declare namespace gapi.client {
|
|
|
145
145
|
videoIabViewability?: string;
|
|
146
146
|
}
|
|
147
147
|
interface AdPolicy {
|
|
148
|
-
/** The policy approval status of an ad
|
|
148
|
+
/** The policy approval status of an ad, indicating the approval decision. */
|
|
149
149
|
adPolicyApprovalStatus?: string;
|
|
150
|
-
/** The policy review status of an ad
|
|
150
|
+
/** The policy review status of an ad, indicating where in the review process the ad is currently. */
|
|
151
151
|
adPolicyReviewStatus?: string;
|
|
152
|
-
/** The policy topic
|
|
152
|
+
/** The entries for each policy topic identified as relating to the ad. Each entry includes the topic, restriction level, and guidance on how to fix policy issues. */
|
|
153
153
|
adPolicyTopicEntry?: AdPolicyTopicEntry[];
|
|
154
154
|
}
|
|
155
155
|
interface AdPolicyCriterionRestriction {
|
|
156
|
-
/**
|
|
156
|
+
/** The country criterion id. */
|
|
157
157
|
countryCriterionId?: string;
|
|
158
|
-
/** Localized name for the country.
|
|
158
|
+
/** Localized name for the country. May be empty. */
|
|
159
159
|
countryLabel?: string;
|
|
160
160
|
}
|
|
161
161
|
interface AdPolicyTopicAppealInfo {
|
|
162
|
-
/** Only available when appeal_type is APPEAL_FORM
|
|
162
|
+
/** Only available when appeal_type is `APPEAL_FORM`. */
|
|
163
163
|
appealFormLink?: string;
|
|
164
|
-
/**
|
|
164
|
+
/** Whether the decision can be appealed through a self-service appeal or an appeal form. */
|
|
165
165
|
appealType?: string;
|
|
166
166
|
}
|
|
167
167
|
interface AdPolicyTopicConstraint {
|
|
@@ -175,7 +175,7 @@ declare namespace gapi.client {
|
|
|
175
175
|
globalCertificateDomainMismatch?: any;
|
|
176
176
|
/** Certificate is required to serve in any country. */
|
|
177
177
|
globalCertificateMissing?: any;
|
|
178
|
-
/** Link to the form to request a certificate for the
|
|
178
|
+
/** Link to the form to request a certificate for the constraint. */
|
|
179
179
|
requestCertificateFormLink?: string;
|
|
180
180
|
/** Reseller constraint. */
|
|
181
181
|
resellerConstraint?: any;
|
|
@@ -188,7 +188,7 @@ declare namespace gapi.client {
|
|
|
188
188
|
interface AdPolicyTopicConstraintAdPolicyGlobalCertificateMissingConstraint {}
|
|
189
189
|
interface AdPolicyTopicConstraintAdPolicyResellerConstraint {}
|
|
190
190
|
interface AdPolicyTopicEntry {
|
|
191
|
-
/**
|
|
191
|
+
/** Information on how to appeal the policy decision. */
|
|
192
192
|
appealInfo?: AdPolicyTopicAppealInfo;
|
|
193
193
|
/** Ad policy help center link for the policy topic. */
|
|
194
194
|
helpCenterLink?: string;
|
|
@@ -196,31 +196,31 @@ declare namespace gapi.client {
|
|
|
196
196
|
policyDecisionType?: string;
|
|
197
197
|
/** The policy enforcement means used in the policy review. */
|
|
198
198
|
policyEnforcementMeans?: string;
|
|
199
|
-
/** Localized label text for policy.
|
|
199
|
+
/** Localized label text for policy. Examples include "Trademarks in text", "Contains Alcohol", etc. */
|
|
200
200
|
policyLabel?: string;
|
|
201
|
-
/** The policy topic
|
|
201
|
+
/** The policy topic. Examples include "TRADEMARKS", "ALCOHOL", etc. */
|
|
202
202
|
policyTopic?: string;
|
|
203
|
-
/** The policy
|
|
203
|
+
/** The serving constraints relevant to the policy decision. */
|
|
204
204
|
policyTopicConstraints?: AdPolicyTopicConstraint[];
|
|
205
|
-
/**
|
|
205
|
+
/** A short summary description of the policy topic. */
|
|
206
206
|
policyTopicDescription?: string;
|
|
207
|
-
/** The policy
|
|
207
|
+
/** The evidence used in the policy decision. */
|
|
208
208
|
policyTopicEvidences?: AdPolicyTopicEvidence[];
|
|
209
|
-
/**
|
|
209
|
+
/** How ad serving will be affected due to the relation to the ad policy topic. */
|
|
210
210
|
policyTopicType?: string;
|
|
211
211
|
}
|
|
212
212
|
interface AdPolicyTopicEvidence {
|
|
213
213
|
/** Counterfeit enforcement that caused a policy violation. */
|
|
214
214
|
counterfeit?: AdPolicyTopicEvidenceCounterfeit;
|
|
215
|
-
/**
|
|
215
|
+
/** A mismatch between the ad destination URLs. */
|
|
216
216
|
destinationMismatch?: AdPolicyTopicEvidenceDestinationMismatch;
|
|
217
|
-
/**
|
|
217
|
+
/** Information on HTTP or DNS errors related to the ad destination. */
|
|
218
218
|
destinationNotWorking?: AdPolicyTopicEvidenceDestinationNotWorking;
|
|
219
219
|
/** The text in the destination of the ad that is causing a policy violation. */
|
|
220
220
|
destinationTextList?: AdPolicyTopicEvidenceDestinationTextList;
|
|
221
221
|
/** HTTP code returned when the final URL was crawled. */
|
|
222
222
|
httpCode?: number;
|
|
223
|
-
/** The language the ad was detected to be written in. This
|
|
223
|
+
/** The language the ad was detected to be written in. This field uses IETF language tags, such as "en-US". */
|
|
224
224
|
languageCode?: string;
|
|
225
225
|
/** Legal related regulation enforcement that caused a policy violation. */
|
|
226
226
|
legalRemoval?: AdPolicyTopicEvidenceLegalRemoval;
|
|
@@ -234,15 +234,15 @@ declare namespace gapi.client {
|
|
|
234
234
|
websiteList?: AdPolicyTopicEvidenceWebsiteList;
|
|
235
235
|
}
|
|
236
236
|
interface AdPolicyTopicEvidenceCounterfeit {
|
|
237
|
-
/** The content or product owners that
|
|
237
|
+
/** The content or product owners that made a complaint. */
|
|
238
238
|
owners?: string[];
|
|
239
239
|
}
|
|
240
240
|
interface AdPolicyTopicEvidenceDestinationMismatch {
|
|
241
|
-
/** The set of URLs that do not match
|
|
241
|
+
/** The set of URLs that do not match. 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 destination mismatch. */
|
|
242
242
|
uriTypes?: string[];
|
|
243
243
|
}
|
|
244
244
|
interface AdPolicyTopicEvidenceDestinationNotWorking {
|
|
245
|
-
/** The device
|
|
245
|
+
/** The device where visiting the URL resulted in the error. */
|
|
246
246
|
device?: string;
|
|
247
247
|
/** The type of DNS error. */
|
|
248
248
|
dnsErrorType?: string;
|
|
@@ -250,7 +250,7 @@ declare namespace gapi.client {
|
|
|
250
250
|
expandedUri?: string;
|
|
251
251
|
/** The HTTP error code. */
|
|
252
252
|
httpErrorCode?: string;
|
|
253
|
-
/** The last
|
|
253
|
+
/** The last time the error was seen when navigating to URL. */
|
|
254
254
|
lastCheckedTime?: string;
|
|
255
255
|
}
|
|
256
256
|
interface AdPolicyTopicEvidenceDestinationTextList {
|
|
@@ -258,19 +258,19 @@ declare namespace gapi.client {
|
|
|
258
258
|
destinationTexts?: string[];
|
|
259
259
|
}
|
|
260
260
|
interface AdPolicyTopicEvidenceLegalRemoval {
|
|
261
|
-
/** The
|
|
261
|
+
/** The type of complaint causing the legal removal. */
|
|
262
262
|
complaintType?: string;
|
|
263
|
-
/** The restricted
|
|
263
|
+
/** The countries restricted due to the legal removal. */
|
|
264
264
|
countryRestrictions?: AdPolicyCriterionRestriction[];
|
|
265
|
-
/**
|
|
265
|
+
/** Details on the DMCA regulation legal removal. */
|
|
266
266
|
dmca?: AdPolicyTopicEvidenceLegalRemovalDmca;
|
|
267
|
-
/**
|
|
267
|
+
/** Details on the local legal regulation legal removal. */
|
|
268
268
|
localLegal?: AdPolicyTopicEvidenceLegalRemovalLocalLegal;
|
|
269
|
-
/** The urls
|
|
269
|
+
/** The urls restricted due to the legal removal. */
|
|
270
270
|
restrictedUris?: string[];
|
|
271
271
|
}
|
|
272
272
|
interface AdPolicyTopicEvidenceLegalRemovalDmca {
|
|
273
|
-
/** The entity who
|
|
273
|
+
/** The entity who made the legal complaint. */
|
|
274
274
|
complainant?: string;
|
|
275
275
|
}
|
|
276
276
|
interface AdPolicyTopicEvidenceLegalRemovalLocalLegal {
|
|
@@ -282,9 +282,9 @@ declare namespace gapi.client {
|
|
|
282
282
|
regionalRequirementsEntries?: AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry[];
|
|
283
283
|
}
|
|
284
284
|
interface AdPolicyTopicEvidenceRegionalRequirementsRegionalRequirementsEntry {
|
|
285
|
-
/** The restricted
|
|
285
|
+
/** The countries restricted due to the legal policy. */
|
|
286
286
|
countryRestrictions?: AdPolicyCriterionRestriction[];
|
|
287
|
-
/** The legal policy that is violated. */
|
|
287
|
+
/** The legal policy that is being violated. */
|
|
288
288
|
legalPolicy?: string;
|
|
289
289
|
}
|
|
290
290
|
interface AdPolicyTopicEvidenceTextList {
|
|
@@ -292,7 +292,7 @@ declare namespace gapi.client {
|
|
|
292
292
|
texts?: string[];
|
|
293
293
|
}
|
|
294
294
|
interface AdPolicyTopicEvidenceTrademark {
|
|
295
|
-
/**
|
|
295
|
+
/** Countries where the policy violation is relevant. */
|
|
296
296
|
countryRestrictions?: AdPolicyCriterionRestriction[];
|
|
297
297
|
/** The trademark content owner. */
|
|
298
298
|
owner?: string;
|
|
@@ -752,11 +752,11 @@ declare namespace gapi.client {
|
|
|
752
752
|
totalAmountMicros?: string;
|
|
753
753
|
}
|
|
754
754
|
interface BulkCreateAdAssetsRequest {
|
|
755
|
-
/** Required. Ad assets to create. Only supports
|
|
755
|
+
/** Required. Ad assets to create. Only supports assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`. */
|
|
756
756
|
adAssets?: AdAsset[];
|
|
757
757
|
}
|
|
758
758
|
interface BulkCreateAdAssetsResponse {
|
|
759
|
-
/** The
|
|
759
|
+
/** The created ad assets. */
|
|
760
760
|
adAssets?: AdAsset[];
|
|
761
761
|
}
|
|
762
762
|
interface BulkEditAdvertiserAssignedTargetingOptionsRequest {
|
|
@@ -1190,7 +1190,7 @@ declare namespace gapi.client {
|
|
|
1190
1190
|
reportingName?: string;
|
|
1191
1191
|
}
|
|
1192
1192
|
interface CreateAdAssetRequest {
|
|
1193
|
-
/** Required.
|
|
1193
|
+
/** Required. The ad asset to create. Only supports assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`. */
|
|
1194
1194
|
adAsset?: AdAsset;
|
|
1195
1195
|
}
|
|
1196
1196
|
interface CreateAssetRequest {
|
|
@@ -2227,7 +2227,7 @@ declare namespace gapi.client {
|
|
|
2227
2227
|
flightDateType?: string;
|
|
2228
2228
|
}
|
|
2229
2229
|
interface ListAdAssetsResponse {
|
|
2230
|
-
/** The list of ad assets. This list will be absent if empty. */
|
|
2230
|
+
/** The list of ad assets. The list will only contain assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`. This list will be absent if empty. */
|
|
2231
2231
|
adAssets?: AdAsset[];
|
|
2232
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
2233
|
nextPageToken?: string;
|
|
@@ -2443,9 +2443,9 @@ declare namespace gapi.client {
|
|
|
2443
2443
|
users?: User[];
|
|
2444
2444
|
}
|
|
2445
2445
|
interface ListYoutubeAssetAssociationsResponse {
|
|
2446
|
-
/** A token to retrieve the next page of results. */
|
|
2446
|
+
/** A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListYoutubeAssetAssociations` method to retrieve the next page of results. */
|
|
2447
2447
|
nextPageToken?: string;
|
|
2448
|
-
/** The list of associations. This list will be absent if empty. */
|
|
2448
|
+
/** The list of asset associations. This list will be absent if empty. */
|
|
2449
2449
|
youtubeAssetAssociations?: YoutubeAssetAssociation[];
|
|
2450
2450
|
}
|
|
2451
2451
|
interface LocationList {
|
|
@@ -3107,13 +3107,13 @@ declare namespace gapi.client {
|
|
|
3107
3107
|
registry?: string;
|
|
3108
3108
|
}
|
|
3109
3109
|
interface UploadAdAssetRequest {
|
|
3110
|
-
/** Required. The type of the ad asset. Only
|
|
3110
|
+
/** Required. The type of the ad asset. Only `AD_ASSET_TYPE_IMAGE` is supported. */
|
|
3111
3111
|
adAssetType?: string;
|
|
3112
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
3113
|
filename?: string;
|
|
3114
3114
|
}
|
|
3115
3115
|
interface UploadAdAssetResponse {
|
|
3116
|
-
/** The
|
|
3116
|
+
/** The created ad asset. */
|
|
3117
3117
|
adAsset?: AdAsset;
|
|
3118
3118
|
}
|
|
3119
3119
|
interface UrlAssignedTargetingOptionDetails {
|
|
@@ -3267,15 +3267,15 @@ declare namespace gapi.client {
|
|
|
3267
3267
|
viewFrequencyCap?: FrequencyCap;
|
|
3268
3268
|
}
|
|
3269
3269
|
interface YoutubeAssetAssociation {
|
|
3270
|
-
/** Required. The
|
|
3270
|
+
/** Required. The YouTube asset associated with the resource. */
|
|
3271
3271
|
linkedYoutubeAsset?: YoutubeAssetAssociationLinkedYouTubeAsset;
|
|
3272
|
-
/** Identifier. The resource name of the association. For line item
|
|
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 `YOUTUBE_ASSET_TYPE_LOCATION` and `YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION` associations: `youtube_asset_association_id` is the ID of the asset set linked, or 0 if the location_matching_type or affiliate_location_matching_type is `DISABLED`. For `YOUTUBE_ASSET_TYPE_SITELINK` associations: `youtube_asset_association_id` is be the ID of the sitelink asset linked. */
|
|
3273
3273
|
name?: string;
|
|
3274
|
-
/** Required. The type of
|
|
3274
|
+
/** Required. The type of YouTube asset associated with the resource. */
|
|
3275
3275
|
youtubeAssetType?: string;
|
|
3276
3276
|
}
|
|
3277
3277
|
interface YoutubeAssetAssociationAffiliateLocationAssetFilter {
|
|
3278
|
-
/** Optional. The matching function that
|
|
3278
|
+
/** Optional. The matching function that determines how the affiliate location asset filter matches affiliate location assets. This field is required and can only be set for if affiliate_location_matching_type is `SELECTED_CHAINS`. */
|
|
3279
3279
|
affiliateLocationMatchingFunction?: YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationMatchingFunction;
|
|
3280
3280
|
/** Required. The matching type of this affiliate location asset filter. */
|
|
3281
3281
|
affiliateLocationMatchingType?: string;
|
|
@@ -3287,31 +3287,31 @@ declare namespace gapi.client {
|
|
|
3287
3287
|
chainId?: string;
|
|
3288
3288
|
}
|
|
3289
3289
|
interface YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationMatchingFunction {
|
|
3290
|
-
/** Optional. The
|
|
3290
|
+
/** Optional. The selected affiliate location chain IDs. This field is required if affiliate_location_matching_type is `SELECTED_CHAINS`. */
|
|
3291
3291
|
chains?: YoutubeAssetAssociationAffiliateLocationAssetFilterAffiliateLocationChain[];
|
|
3292
3292
|
}
|
|
3293
3293
|
interface YoutubeAssetAssociationLinkedYouTubeAsset {
|
|
3294
|
-
/**
|
|
3294
|
+
/** An affiliate location asset filter. This can be set only when youtube_asset_type is `YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION`. */
|
|
3295
3295
|
affiliateLocationAssetFilter?: YoutubeAssetAssociationAffiliateLocationAssetFilter;
|
|
3296
|
-
/**
|
|
3296
|
+
/** A location asset filter. This can be set only when youtube_asset_type is `YOUTUBE_ASSET_TYPE_LOCATION`. */
|
|
3297
3297
|
locationAssetFilter?: YoutubeAssetAssociationLocationAssetFilter;
|
|
3298
|
-
/**
|
|
3298
|
+
/** A sitelink asset. This can be set only when youtube_asset_type is `YOUTUBE_ASSET_TYPE_SITELINK`. */
|
|
3299
3299
|
sitelinkAsset?: YoutubeAssetAssociationSitelinkAsset;
|
|
3300
3300
|
}
|
|
3301
3301
|
interface YoutubeAssetAssociationLocationAssetFilter {
|
|
3302
3302
|
/** Output only. The ID of the asset set that matches the location assets eligible for serving. */
|
|
3303
3303
|
assetSetId?: string;
|
|
3304
|
-
/** Optional. The matching function that
|
|
3304
|
+
/** Optional. The matching function that determines how the location asset filter matches location assets. This field is required and can only be set for if location_matching_type is `FILTER` or `SELECTED_ASSETS`. */
|
|
3305
3305
|
locationMatchingFunction?: YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction;
|
|
3306
3306
|
/** Required. The matching type of this location asset filter. */
|
|
3307
3307
|
locationMatchingType?: string;
|
|
3308
3308
|
}
|
|
3309
3309
|
interface YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction {
|
|
3310
|
-
/** Optional. The business name
|
|
3310
|
+
/** Optional. The business name to match with. This field is optional and can only be set if location_matching_type is `FILTER`. */
|
|
3311
3311
|
business?: string;
|
|
3312
|
-
/** Optional. The
|
|
3312
|
+
/** Optional. The labels to match with. Labels are logically OR'ed together. This field is optional and can only be set if location_matching_type is `FILTER`. */
|
|
3313
3313
|
labels?: string[];
|
|
3314
|
-
/** Optional. The selected location asset IDs. This is required
|
|
3314
|
+
/** Optional. The selected location asset IDs. This field is required if location_matching_type is `SELECTED_ASSETS`. */
|
|
3315
3315
|
locationAssetIds?: string[];
|
|
3316
3316
|
}
|
|
3317
3317
|
interface YoutubeAssetAssociationSitelinkAsset {
|
|
@@ -3325,7 +3325,7 @@ declare namespace gapi.client {
|
|
|
3325
3325
|
negative?: boolean;
|
|
3326
3326
|
}
|
|
3327
3327
|
interface YoutubeVideoAsset {
|
|
3328
|
-
/** Required. The
|
|
3328
|
+
/** Required. The YouTube video id of the asset. This is the 11 char string value used in the YouTube video URL. */
|
|
3329
3329
|
youtubeVideoId?: string;
|
|
3330
3330
|
}
|
|
3331
3331
|
interface YoutubeVideoAssignedTargetingOptionDetails {
|
|
@@ -3341,13 +3341,13 @@ declare namespace gapi.client {
|
|
|
3341
3341
|
unavailableReason?: string;
|
|
3342
3342
|
}
|
|
3343
3343
|
interface AdAssetsResource {
|
|
3344
|
-
/**
|
|
3344
|
+
/** Creates multiple ad assets in a single request. Returns the newly-created ad assets if successful. Only supports the creation of assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`. */
|
|
3345
3345
|
bulkCreate(request: {
|
|
3346
3346
|
/** V1 error format. */
|
|
3347
3347
|
'$.xgafv'?: string;
|
|
3348
3348
|
/** OAuth access token. */
|
|
3349
3349
|
access_token?: string;
|
|
3350
|
-
/** Required. The ID of the advertiser
|
|
3350
|
+
/** Required. The ID of the advertiser these ad assets belong to. */
|
|
3351
3351
|
advertiserId: string;
|
|
3352
3352
|
/** Data format for response. */
|
|
3353
3353
|
alt?: string;
|
|
@@ -3376,7 +3376,7 @@ declare namespace gapi.client {
|
|
|
3376
3376
|
'$.xgafv'?: string;
|
|
3377
3377
|
/** OAuth access token. */
|
|
3378
3378
|
access_token?: string;
|
|
3379
|
-
/** Required. The ID of the advertiser
|
|
3379
|
+
/** Required. The ID of the advertiser these ad assets belong to. */
|
|
3380
3380
|
advertiserId: string;
|
|
3381
3381
|
/** Data format for response. */
|
|
3382
3382
|
alt?: string;
|
|
@@ -3399,7 +3399,7 @@ declare namespace gapi.client {
|
|
|
3399
3399
|
},
|
|
3400
3400
|
body: BulkCreateAdAssetsRequest,
|
|
3401
3401
|
): Request<BulkCreateAdAssetsResponse>;
|
|
3402
|
-
/**
|
|
3402
|
+
/** Creates an ad asset. Returns the newly-created ad asset if successful. Only supports the creation of assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`. */
|
|
3403
3403
|
create(request: {
|
|
3404
3404
|
/** V1 error format. */
|
|
3405
3405
|
'$.xgafv'?: string;
|
|
@@ -3457,13 +3457,13 @@ declare namespace gapi.client {
|
|
|
3457
3457
|
},
|
|
3458
3458
|
body: CreateAdAssetRequest,
|
|
3459
3459
|
): Request<AdAsset>;
|
|
3460
|
-
/**
|
|
3460
|
+
/** Gets an ad asset. Only supports the retrieval of assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`. */
|
|
3461
3461
|
get(request?: {
|
|
3462
3462
|
/** V1 error format. */
|
|
3463
3463
|
'$.xgafv'?: string;
|
|
3464
3464
|
/** OAuth access token. */
|
|
3465
3465
|
access_token?: string;
|
|
3466
|
-
/** Required. The ID of the ad asset to fetch. */
|
|
3466
|
+
/** Required. The ID of the ad asset to fetch. Only supports assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO` */
|
|
3467
3467
|
adAssetId: string;
|
|
3468
3468
|
/** Required. The ID of the advertiser this ad asset belongs to. */
|
|
3469
3469
|
advertiserId: string;
|
|
@@ -3486,13 +3486,13 @@ declare namespace gapi.client {
|
|
|
3486
3486
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3487
3487
|
uploadType?: string;
|
|
3488
3488
|
}): Request<AdAsset>;
|
|
3489
|
-
/**
|
|
3489
|
+
/** Lists ad assets under an advertiser ID. Only supports the retrieval of assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO`. */
|
|
3490
3490
|
list(request?: {
|
|
3491
3491
|
/** V1 error format. */
|
|
3492
3492
|
'$.xgafv'?: string;
|
|
3493
3493
|
/** OAuth access token. */
|
|
3494
3494
|
access_token?: string;
|
|
3495
|
-
/** Required. The ID of the advertiser
|
|
3495
|
+
/** Required. The ID of the advertiser the ad assets belong to. */
|
|
3496
3496
|
advertiserId: string;
|
|
3497
3497
|
/** Data format for response. */
|
|
3498
3498
|
alt?: string;
|
|
@@ -3500,17 +3500,17 @@ declare namespace gapi.client {
|
|
|
3500
3500
|
callback?: string;
|
|
3501
3501
|
/** Selector specifying which fields to include in a partial response. */
|
|
3502
3502
|
fields?: string;
|
|
3503
|
-
/** Optional.
|
|
3503
|
+
/** Optional. Allows filtering of the results by ad asset fields. Supported syntax: * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `youtubeVideoAsset.youtubeVideoId` * `entityStatus` Examples: * All active YouTube video ad assets under an advertiser: `entityStatus=ENTITY_STATUS_ACTIVE` */
|
|
3504
3504
|
filter?: string;
|
|
3505
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
3506
|
key?: string;
|
|
3507
3507
|
/** OAuth 2.0 token for the current user. */
|
|
3508
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: `
|
|
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: `adAssetId desc`. */
|
|
3510
3510
|
orderBy?: string;
|
|
3511
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
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 `
|
|
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 `ListAdAssets` method. If not specified, the first page of results will be returned. */
|
|
3514
3514
|
pageToken?: string;
|
|
3515
3515
|
/** Returns response with indentations and line breaks. */
|
|
3516
3516
|
prettyPrint?: boolean;
|
|
@@ -3521,7 +3521,7 @@ declare namespace gapi.client {
|
|
|
3521
3521
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3522
3522
|
uploadType?: string;
|
|
3523
3523
|
}): Request<ListAdAssetsResponse>;
|
|
3524
|
-
/** Uploads an ad asset. Returns the ID of the newly
|
|
3524
|
+
/** Uploads and creates an ad asset. Returns the ID of the newly-created ad asset if successful. Only supports the uploading of assets with the AdAssetType `AD_ASSET_TYPE_IMAGE`. */
|
|
3525
3525
|
upload(request: {
|
|
3526
3526
|
/** V1 error format. */
|
|
3527
3527
|
'$.xgafv'?: string;
|
|
@@ -3724,15 +3724,15 @@ declare namespace gapi.client {
|
|
|
3724
3724
|
assignedTargetingOptions: AssignedTargetingOptionsResource;
|
|
3725
3725
|
}
|
|
3726
3726
|
interface YoutubeAssetAssociationsResource {
|
|
3727
|
-
/** Creates a new association between
|
|
3727
|
+
/** Creates a new association between the identified resource and a YouTube asset. Returns the newly-created association. *Warning:* This method is only available to an informed subset of users. */
|
|
3728
3728
|
create(request: {
|
|
3729
3729
|
/** V1 error format. */
|
|
3730
3730
|
'$.xgafv'?: string;
|
|
3731
3731
|
/** OAuth access token. */
|
|
3732
3732
|
access_token?: string;
|
|
3733
|
-
/** The
|
|
3733
|
+
/** The ID of an ad group. */
|
|
3734
3734
|
adGroupId: string;
|
|
3735
|
-
/** Required. The ID of the advertiser
|
|
3735
|
+
/** Required. The ID of the advertiser that the linked entity belongs to. */
|
|
3736
3736
|
advertiserId: string;
|
|
3737
3737
|
/** Data format for response. */
|
|
3738
3738
|
alt?: string;
|
|
@@ -3742,7 +3742,7 @@ declare namespace gapi.client {
|
|
|
3742
3742
|
fields?: string;
|
|
3743
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
3744
|
key?: string;
|
|
3745
|
-
/** The
|
|
3745
|
+
/** The ID of a line item. */
|
|
3746
3746
|
'linkedEntity.lineItemId'?: string;
|
|
3747
3747
|
/** OAuth 2.0 token for the current user. */
|
|
3748
3748
|
oauth_token?: string;
|
|
@@ -3754,7 +3754,7 @@ declare namespace gapi.client {
|
|
|
3754
3754
|
upload_protocol?: string;
|
|
3755
3755
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3756
3756
|
uploadType?: string;
|
|
3757
|
-
/** Required. The type of
|
|
3757
|
+
/** Required. The type of YouTube asset associated with the resource. */
|
|
3758
3758
|
youtubeAssetType: string;
|
|
3759
3759
|
/** Request body */
|
|
3760
3760
|
resource: YoutubeAssetAssociation;
|
|
@@ -3765,9 +3765,9 @@ declare namespace gapi.client {
|
|
|
3765
3765
|
'$.xgafv'?: string;
|
|
3766
3766
|
/** OAuth access token. */
|
|
3767
3767
|
access_token?: string;
|
|
3768
|
-
/** The
|
|
3768
|
+
/** The ID of an ad group. */
|
|
3769
3769
|
adGroupId: string;
|
|
3770
|
-
/** Required. The ID of the advertiser
|
|
3770
|
+
/** Required. The ID of the advertiser that the linked entity belongs to. */
|
|
3771
3771
|
advertiserId: string;
|
|
3772
3772
|
/** Data format for response. */
|
|
3773
3773
|
alt?: string;
|
|
@@ -3777,7 +3777,7 @@ declare namespace gapi.client {
|
|
|
3777
3777
|
fields?: string;
|
|
3778
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
3779
|
key?: string;
|
|
3780
|
-
/** The
|
|
3780
|
+
/** The ID of a line item. */
|
|
3781
3781
|
'linkedEntity.lineItemId'?: string;
|
|
3782
3782
|
/** OAuth 2.0 token for the current user. */
|
|
3783
3783
|
oauth_token?: string;
|
|
@@ -3789,20 +3789,20 @@ declare namespace gapi.client {
|
|
|
3789
3789
|
upload_protocol?: string;
|
|
3790
3790
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3791
3791
|
uploadType?: string;
|
|
3792
|
-
/** Required. The type of
|
|
3792
|
+
/** Required. The type of YouTube asset associated with the resource. */
|
|
3793
3793
|
youtubeAssetType: string;
|
|
3794
3794
|
},
|
|
3795
3795
|
body: YoutubeAssetAssociation,
|
|
3796
3796
|
): Request<YoutubeAssetAssociation>;
|
|
3797
|
-
/** Deletes an existing association between
|
|
3797
|
+
/** Deletes an existing association between the identified resource and a YouTube asset. *Warning:* This method is only available to an informed subset of users. */
|
|
3798
3798
|
delete(request?: {
|
|
3799
3799
|
/** V1 error format. */
|
|
3800
3800
|
'$.xgafv'?: string;
|
|
3801
3801
|
/** OAuth access token. */
|
|
3802
3802
|
access_token?: string;
|
|
3803
|
-
/** The
|
|
3803
|
+
/** The ID of an ad group. */
|
|
3804
3804
|
adGroupId: string;
|
|
3805
|
-
/** Required. The ID of the advertiser
|
|
3805
|
+
/** Required. The ID of the advertiser that the linked entity belongs to. */
|
|
3806
3806
|
advertiserId: string;
|
|
3807
3807
|
/** Data format for response. */
|
|
3808
3808
|
alt?: string;
|
|
@@ -3812,7 +3812,7 @@ declare namespace gapi.client {
|
|
|
3812
3812
|
fields?: string;
|
|
3813
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
3814
|
key?: string;
|
|
3815
|
-
/** The
|
|
3815
|
+
/** The ID of a line item. */
|
|
3816
3816
|
'linkedEntity.lineItemId'?: string;
|
|
3817
3817
|
/** OAuth 2.0 token for the current user. */
|
|
3818
3818
|
oauth_token?: string;
|
|
@@ -3824,20 +3824,20 @@ declare namespace gapi.client {
|
|
|
3824
3824
|
upload_protocol?: string;
|
|
3825
3825
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3826
3826
|
uploadType?: string;
|
|
3827
|
-
/** Required. The ID of the YouTube asset in the association. For
|
|
3827
|
+
/** Required. The ID of the YouTube asset in the association. For `YOUTUBE_ASSET_TYPE_LOCATION` and `YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION` associations: This should be the ID of the asset set linked, or 0 if the location_asset_filter or affiliate_location_asset_filter is `DISABLED`. For `YOUTUBE_ASSET_TYPE_SITELINK` associations: This should be the ID of the sitelink asset linked. */
|
|
3828
3828
|
youtubeAssetAssociationId: string;
|
|
3829
|
-
/** Required. The YouTube asset
|
|
3829
|
+
/** Required. The type of YouTube asset associated with the resource. */
|
|
3830
3830
|
youtubeAssetType: string;
|
|
3831
3831
|
}): Request<{}>;
|
|
3832
|
-
/** Lists the YouTube asset associations
|
|
3832
|
+
/** Lists the YouTube asset associations linked to the given resource. */
|
|
3833
3833
|
list(request?: {
|
|
3834
3834
|
/** V1 error format. */
|
|
3835
3835
|
'$.xgafv'?: string;
|
|
3836
3836
|
/** OAuth access token. */
|
|
3837
3837
|
access_token?: string;
|
|
3838
|
-
/** The
|
|
3838
|
+
/** The ID of an ad group. */
|
|
3839
3839
|
adGroupId: string;
|
|
3840
|
-
/** Required. The ID of the advertiser
|
|
3840
|
+
/** Required. The ID of the advertiser that the linked entity belongs to. */
|
|
3841
3841
|
advertiserId: string;
|
|
3842
3842
|
/** Data format for response. */
|
|
3843
3843
|
alt?: string;
|
|
@@ -3847,15 +3847,15 @@ declare namespace gapi.client {
|
|
|
3847
3847
|
fields?: string;
|
|
3848
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
3849
|
key?: string;
|
|
3850
|
-
/** The
|
|
3850
|
+
/** The ID of a line item. */
|
|
3851
3851
|
'linkedEntity.lineItemId'?: string;
|
|
3852
3852
|
/** OAuth 2.0 token for the current user. */
|
|
3853
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`. */
|
|
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
3855
|
orderBy?: string;
|
|
3856
|
-
/** Optional. Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. */
|
|
3856
|
+
/** Optional. Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. */
|
|
3857
3857
|
pageSize?: number;
|
|
3858
|
-
/** Optional. A token identifying a page of results the server should return. */
|
|
3858
|
+
/** 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 `ListYoutubeAssetAssociations` method. If not specified, the first page of results will be returned. */
|
|
3859
3859
|
pageToken?: string;
|
|
3860
3860
|
/** Returns response with indentations and line breaks. */
|
|
3861
3861
|
prettyPrint?: boolean;
|
|
@@ -3865,7 +3865,7 @@ declare namespace gapi.client {
|
|
|
3865
3865
|
upload_protocol?: string;
|
|
3866
3866
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3867
3867
|
uploadType?: string;
|
|
3868
|
-
/** Required. The type of YouTube asset
|
|
3868
|
+
/** Required. The type of YouTube asset being associated with the resource. */
|
|
3869
3869
|
youtubeAssetType: string;
|
|
3870
3870
|
}): Request<ListYoutubeAssetAssociationsResponse>;
|
|
3871
3871
|
}
|
|
@@ -5733,13 +5733,13 @@ declare namespace gapi.client {
|
|
|
5733
5733
|
assignedTargetingOptions: AssignedTargetingOptionsResource;
|
|
5734
5734
|
}
|
|
5735
5735
|
interface YoutubeAssetAssociationsResource {
|
|
5736
|
-
/** Creates a new association between
|
|
5736
|
+
/** Creates a new association between the identified resource and a YouTube asset. Returns the newly-created association. *Warning:* This method is only available to an informed subset of users. */
|
|
5737
5737
|
create(request: {
|
|
5738
5738
|
/** V1 error format. */
|
|
5739
5739
|
'$.xgafv'?: string;
|
|
5740
5740
|
/** OAuth access token. */
|
|
5741
5741
|
access_token?: string;
|
|
5742
|
-
/** Required. The ID of the advertiser
|
|
5742
|
+
/** Required. The ID of the advertiser that the linked entity belongs to. */
|
|
5743
5743
|
advertiserId: string;
|
|
5744
5744
|
/** Data format for response. */
|
|
5745
5745
|
alt?: string;
|
|
@@ -5749,9 +5749,9 @@ declare namespace gapi.client {
|
|
|
5749
5749
|
fields?: string;
|
|
5750
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
5751
|
key?: string;
|
|
5752
|
-
/** The
|
|
5752
|
+
/** The ID of a line item. */
|
|
5753
5753
|
lineItemId: string;
|
|
5754
|
-
/** The
|
|
5754
|
+
/** The ID of an ad group. */
|
|
5755
5755
|
'linkedEntity.adGroupId'?: string;
|
|
5756
5756
|
/** OAuth 2.0 token for the current user. */
|
|
5757
5757
|
oauth_token?: string;
|
|
@@ -5763,7 +5763,7 @@ declare namespace gapi.client {
|
|
|
5763
5763
|
upload_protocol?: string;
|
|
5764
5764
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5765
5765
|
uploadType?: string;
|
|
5766
|
-
/** Required. The type of
|
|
5766
|
+
/** Required. The type of YouTube asset associated with the resource. */
|
|
5767
5767
|
youtubeAssetType: string;
|
|
5768
5768
|
/** Request body */
|
|
5769
5769
|
resource: YoutubeAssetAssociation;
|
|
@@ -5774,7 +5774,7 @@ declare namespace gapi.client {
|
|
|
5774
5774
|
'$.xgafv'?: string;
|
|
5775
5775
|
/** OAuth access token. */
|
|
5776
5776
|
access_token?: string;
|
|
5777
|
-
/** Required. The ID of the advertiser
|
|
5777
|
+
/** Required. The ID of the advertiser that the linked entity belongs to. */
|
|
5778
5778
|
advertiserId: string;
|
|
5779
5779
|
/** Data format for response. */
|
|
5780
5780
|
alt?: string;
|
|
@@ -5784,9 +5784,9 @@ declare namespace gapi.client {
|
|
|
5784
5784
|
fields?: string;
|
|
5785
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
5786
|
key?: string;
|
|
5787
|
-
/** The
|
|
5787
|
+
/** The ID of a line item. */
|
|
5788
5788
|
lineItemId: string;
|
|
5789
|
-
/** The
|
|
5789
|
+
/** The ID of an ad group. */
|
|
5790
5790
|
'linkedEntity.adGroupId'?: string;
|
|
5791
5791
|
/** OAuth 2.0 token for the current user. */
|
|
5792
5792
|
oauth_token?: string;
|
|
@@ -5798,18 +5798,18 @@ declare namespace gapi.client {
|
|
|
5798
5798
|
upload_protocol?: string;
|
|
5799
5799
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5800
5800
|
uploadType?: string;
|
|
5801
|
-
/** Required. The type of
|
|
5801
|
+
/** Required. The type of YouTube asset associated with the resource. */
|
|
5802
5802
|
youtubeAssetType: string;
|
|
5803
5803
|
},
|
|
5804
5804
|
body: YoutubeAssetAssociation,
|
|
5805
5805
|
): Request<YoutubeAssetAssociation>;
|
|
5806
|
-
/** Deletes an existing association between
|
|
5806
|
+
/** Deletes an existing association between the identified resource and a YouTube asset. *Warning:* This method is only available to an informed subset of users. */
|
|
5807
5807
|
delete(request?: {
|
|
5808
5808
|
/** V1 error format. */
|
|
5809
5809
|
'$.xgafv'?: string;
|
|
5810
5810
|
/** OAuth access token. */
|
|
5811
5811
|
access_token?: string;
|
|
5812
|
-
/** Required. The ID of the advertiser
|
|
5812
|
+
/** Required. The ID of the advertiser that the linked entity belongs to. */
|
|
5813
5813
|
advertiserId: string;
|
|
5814
5814
|
/** Data format for response. */
|
|
5815
5815
|
alt?: string;
|
|
@@ -5819,9 +5819,9 @@ declare namespace gapi.client {
|
|
|
5819
5819
|
fields?: string;
|
|
5820
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
5821
|
key?: string;
|
|
5822
|
-
/** The
|
|
5822
|
+
/** The ID of a line item. */
|
|
5823
5823
|
lineItemId: string;
|
|
5824
|
-
/** The
|
|
5824
|
+
/** The ID of an ad group. */
|
|
5825
5825
|
'linkedEntity.adGroupId'?: string;
|
|
5826
5826
|
/** OAuth 2.0 token for the current user. */
|
|
5827
5827
|
oauth_token?: string;
|
|
@@ -5833,18 +5833,18 @@ declare namespace gapi.client {
|
|
|
5833
5833
|
upload_protocol?: string;
|
|
5834
5834
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5835
5835
|
uploadType?: string;
|
|
5836
|
-
/** Required. The ID of the YouTube asset in the association. For
|
|
5836
|
+
/** Required. The ID of the YouTube asset in the association. For `YOUTUBE_ASSET_TYPE_LOCATION` and `YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION` associations: This should be the ID of the asset set linked, or 0 if the location_asset_filter or affiliate_location_asset_filter is `DISABLED`. For `YOUTUBE_ASSET_TYPE_SITELINK` associations: This should be the ID of the sitelink asset linked. */
|
|
5837
5837
|
youtubeAssetAssociationId: string;
|
|
5838
|
-
/** Required. The YouTube asset
|
|
5838
|
+
/** Required. The type of YouTube asset associated with the resource. */
|
|
5839
5839
|
youtubeAssetType: string;
|
|
5840
5840
|
}): Request<{}>;
|
|
5841
|
-
/** Lists the YouTube asset associations
|
|
5841
|
+
/** Lists the YouTube asset associations linked to the given resource. */
|
|
5842
5842
|
list(request?: {
|
|
5843
5843
|
/** V1 error format. */
|
|
5844
5844
|
'$.xgafv'?: string;
|
|
5845
5845
|
/** OAuth access token. */
|
|
5846
5846
|
access_token?: string;
|
|
5847
|
-
/** Required. The ID of the advertiser
|
|
5847
|
+
/** Required. The ID of the advertiser that the linked entity belongs to. */
|
|
5848
5848
|
advertiserId: string;
|
|
5849
5849
|
/** Data format for response. */
|
|
5850
5850
|
alt?: string;
|
|
@@ -5854,17 +5854,17 @@ declare namespace gapi.client {
|
|
|
5854
5854
|
fields?: string;
|
|
5855
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
5856
|
key?: string;
|
|
5857
|
-
/** The
|
|
5857
|
+
/** The ID of a line item. */
|
|
5858
5858
|
lineItemId: string;
|
|
5859
|
-
/** The
|
|
5859
|
+
/** The ID of an ad group. */
|
|
5860
5860
|
'linkedEntity.adGroupId'?: string;
|
|
5861
5861
|
/** OAuth 2.0 token for the current user. */
|
|
5862
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`. */
|
|
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
5864
|
orderBy?: string;
|
|
5865
|
-
/** Optional. Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. */
|
|
5865
|
+
/** Optional. Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified. */
|
|
5866
5866
|
pageSize?: number;
|
|
5867
|
-
/** Optional. A token identifying a page of results the server should return. */
|
|
5867
|
+
/** 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 `ListYoutubeAssetAssociations` method. If not specified, the first page of results will be returned. */
|
|
5868
5868
|
pageToken?: string;
|
|
5869
5869
|
/** Returns response with indentations and line breaks. */
|
|
5870
5870
|
prettyPrint?: boolean;
|
|
@@ -5874,7 +5874,7 @@ declare namespace gapi.client {
|
|
|
5874
5874
|
upload_protocol?: string;
|
|
5875
5875
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5876
5876
|
uploadType?: string;
|
|
5877
|
-
/** Required. The type of YouTube asset
|
|
5877
|
+
/** Required. The type of YouTube asset being associated with the resource. */
|
|
5878
5878
|
youtubeAssetType: string;
|
|
5879
5879
|
}): Request<ListYoutubeAssetAssociationsResponse>;
|
|
5880
5880
|
}
|