Skip to content

Commit ce3b9d9

Browse files
yoshi-automationsofisl
authored andcommitted
feat(authorizedbuyersmarketplace): update the API
#### authorizedbuyersmarketplace:v1 The following keys were added: - schemas.Deal.properties.eligibleSeatIds.description - schemas.Deal.properties.eligibleSeatIds.items.type - schemas.Deal.properties.eligibleSeatIds.readOnly - schemas.Deal.properties.eligibleSeatIds.type - schemas.Deal.properties.mediaPlanner.$ref - schemas.Deal.properties.mediaPlanner.description - schemas.Deal.properties.mediaPlanner.readOnly - schemas.MediaPlanner.description - schemas.MediaPlanner.id - schemas.MediaPlanner.properties.accountId.description - schemas.MediaPlanner.properties.accountId.readOnly - schemas.MediaPlanner.properties.accountId.type - schemas.MediaPlanner.type The following keys were changed: - resources.bidders.resources.finalizedDeals.methods.list.parameters.filter.description - resources.buyers.resources.finalizedDeals.methods.list.parameters.filter.description - schemas.Deal.properties.billedBuyer.description - schemas.Deal.properties.buyer.description
1 parent f660310 commit ce3b9d9

File tree

2 files changed

+51
-9
lines changed

2 files changed

+51
-9
lines changed

discovery/authorizedbuyersmarketplace-v1.json

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
],
120120
"parameters": {
121121
"filter": {
122-
"description": "Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * deal.displayName * deal.dealType * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * dealServingStatus",
122+
"description": "Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * deal.displayName * deal.dealType * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * deal.eligibleSeatIds * dealServingStatus",
123123
"location": "query",
124124
"type": "string"
125125
},
@@ -767,7 +767,7 @@
767767
],
768768
"parameters": {
769769
"filter": {
770-
"description": "Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * deal.displayName * deal.dealType * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * dealServingStatus",
770+
"description": "Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * deal.displayName * deal.dealType * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * deal.eligibleSeatIds * dealServingStatus",
771771
"location": "query",
772772
"type": "string"
773773
},
@@ -1307,7 +1307,7 @@
13071307
}
13081308
}
13091309
},
1310-
"revision": "20231213",
1310+
"revision": "20240312",
13111311
"rootUrl": "https://authorizedbuyersmarketplace.googleapis.com/",
13121312
"schemas": {
13131313
"AcceptProposalRequest": {
@@ -1774,12 +1774,12 @@
17741774
"id": "Deal",
17751775
"properties": {
17761776
"billedBuyer": {
1777-
"description": "Output only. When the client field is populated, this field refers to the buyer who creates and manages the client buyer and gets billed on behalf of the client buyer; when the buyer field is populated, this field is the same value as buyer. Format : `buyers/{buyerAccountId}`",
1777+
"description": "Output only. When the client field is populated, this field refers to the buyer who creates and manages the client buyer and gets billed on behalf of the client buyer; when the buyer field is populated, this field is the same value as buyer; when the deal belongs to a media planner account, this field will be empty. Format : `buyers/{buyerAccountId}`",
17781778
"readOnly": true,
17791779
"type": "string"
17801780
},
17811781
"buyer": {
1782-
"description": "Output only. Refers to a buyer in The Realtime-bidding API. Format: `buyers/{buyerAccountId}`",
1782+
"description": "Output only. Refers to a buyer in Real-time Bidding API's Buyer resource. Format: `buyers/{buyerAccountId}`",
17831783
"readOnly": true,
17841784
"type": "string"
17851785
},
@@ -1831,6 +1831,14 @@
18311831
"readOnly": true,
18321832
"type": "string"
18331833
},
1834+
"eligibleSeatIds": {
1835+
"description": "Output only. If set, this field contains the list of DSP specific seat ids set by media planners that are eligible to transact on this deal. The seat ID is in the calling DSP's namespace.",
1836+
"items": {
1837+
"type": "string"
1838+
},
1839+
"readOnly": true,
1840+
"type": "array"
1841+
},
18341842
"estimatedGrossSpend": {
18351843
"$ref": "Money",
18361844
"description": "Specified by buyers in request for proposal (RFP) to notify publisher the total estimated spend for the proposal. Publishers will receive this information and send back proposed deals accordingly."
@@ -1845,6 +1853,11 @@
18451853
"format": "google-datetime",
18461854
"type": "string"
18471855
},
1856+
"mediaPlanner": {
1857+
"$ref": "MediaPlanner",
1858+
"description": "Output only. Refers to a buyer in Real-time Bidding API's Buyer resource. This field represents a media planner (For example, agency or big advertiser).",
1859+
"readOnly": true
1860+
},
18481861
"name": {
18491862
"description": "Immutable. The unique identifier of the deal. Auto-generated by the server when a deal is created. Format: buyers/{accountId}/proposals/{proposalId}/deals/{dealId}",
18501863
"type": "string"
@@ -2340,6 +2353,18 @@
23402353
},
23412354
"type": "object"
23422355
},
2356+
"MediaPlanner": {
2357+
"description": "Describes a single Media Planner account.",
2358+
"id": "MediaPlanner",
2359+
"properties": {
2360+
"accountId": {
2361+
"description": "Output only. Account ID of the media planner.",
2362+
"readOnly": true,
2363+
"type": "string"
2364+
}
2365+
},
2366+
"type": "object"
2367+
},
23432368
"MobileApplicationTargeting": {
23442369
"description": "Mobile application targeting settings.",
23452370
"id": "MobileApplicationTargeting",

src/apis/authorizedbuyersmarketplace/v1.ts

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -377,11 +377,11 @@ export namespace authorizedbuyersmarketplace_v1 {
377377
*/
378378
export interface Schema$Deal {
379379
/**
380-
* Output only. When the client field is populated, this field refers to the buyer who creates and manages the client buyer and gets billed on behalf of the client buyer; when the buyer field is populated, this field is the same value as buyer. Format : `buyers/{buyerAccountId\}`
380+
* Output only. When the client field is populated, this field refers to the buyer who creates and manages the client buyer and gets billed on behalf of the client buyer; when the buyer field is populated, this field is the same value as buyer; when the deal belongs to a media planner account, this field will be empty. Format : `buyers/{buyerAccountId\}`
381381
*/
382382
billedBuyer?: string | null;
383383
/**
384-
* Output only. Refers to a buyer in The Realtime-bidding API. Format: `buyers/{buyerAccountId\}`
384+
* Output only. Refers to a buyer in Real-time Bidding API's Buyer resource. Format: `buyers/{buyerAccountId\}`
385385
*/
386386
buyer?: string | null;
387387
/**
@@ -412,6 +412,10 @@ export namespace authorizedbuyersmarketplace_v1 {
412412
* Output only. The name of the deal. Maximum length of 255 unicode characters is allowed. Control characters are not allowed. Buyers cannot update this field. Note: Not to be confused with name, which is a unique identifier of the deal.
413413
*/
414414
displayName?: string | null;
415+
/**
416+
* Output only. If set, this field contains the list of DSP specific seat ids set by media planners that are eligible to transact on this deal. The seat ID is in the calling DSP's namespace.
417+
*/
418+
eligibleSeatIds?: string[] | null;
415419
/**
416420
* Specified by buyers in request for proposal (RFP) to notify publisher the total estimated spend for the proposal. Publishers will receive this information and send back proposed deals accordingly.
417421
*/
@@ -424,6 +428,10 @@ export namespace authorizedbuyersmarketplace_v1 {
424428
* Proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (for example, in milliseconds) will be truncated towards the start of time in seconds.
425429
*/
426430
flightStartTime?: string | null;
431+
/**
432+
* Output only. Refers to a buyer in Real-time Bidding API's Buyer resource. This field represents a media planner (For example, agency or big advertiser).
433+
*/
434+
mediaPlanner?: Schema$MediaPlanner;
427435
/**
428436
* Immutable. The unique identifier of the deal. Auto-generated by the server when a deal is created. Format: buyers/{accountId\}/proposals/{proposalId\}/deals/{dealId\}
429437
*/
@@ -716,6 +724,15 @@ export namespace authorizedbuyersmarketplace_v1 {
716724
*/
717725
videoTargeting?: Schema$VideoTargeting;
718726
}
727+
/**
728+
* Describes a single Media Planner account.
729+
*/
730+
export interface Schema$MediaPlanner {
731+
/**
732+
* Output only. Account ID of the media planner.
733+
*/
734+
accountId?: string | null;
735+
}
719736
/**
720737
* Mobile application targeting settings.
721738
*/
@@ -1352,7 +1369,7 @@ export namespace authorizedbuyersmarketplace_v1 {
13521369
export interface Params$Resource$Bidders$Finalizeddeals$List
13531370
extends StandardParameters {
13541371
/**
1355-
* Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * deal.displayName * deal.dealType * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * dealServingStatus
1372+
* Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * deal.displayName * deal.dealType * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * deal.eligibleSeatIds * dealServingStatus
13561373
*/
13571374
filter?: string;
13581375
/**
@@ -3799,7 +3816,7 @@ export namespace authorizedbuyersmarketplace_v1 {
37993816
export interface Params$Resource$Buyers$Finalizeddeals$List
38003817
extends StandardParameters {
38013818
/**
3802-
* Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * deal.displayName * deal.dealType * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * dealServingStatus
3819+
* Optional query string using the [Cloud API list filtering syntax](https://developers.google.com/authorized-buyers/apis/guides/list-filters) Supported columns for filtering are: * deal.displayName * deal.dealType * deal.createTime * deal.updateTime * deal.flightStartTime * deal.flightEndTime * deal.eligibleSeatIds * dealServingStatus
38033820
*/
38043821
filter?: string;
38053822
/**

0 commit comments

Comments
 (0)