Skip to content

Commit

Permalink
feat: run the generator (#1474)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Dec 4, 2018
1 parent 5b7e388 commit 1e23ebd
Show file tree
Hide file tree
Showing 190 changed files with 14,463 additions and 35,826 deletions.
6 changes: 3 additions & 3 deletions src/apis/accesscontextmanager/v1beta.ts
Expand Up @@ -342,7 +342,7 @@ export namespace accesscontextmanager_v1beta {
* Some services might not provide such metadata. Any method that returns a
* long-running operation should document the metadata type, if any.
*/
metadata?: any;
metadata?: {[key: string]: any;};
/**
* The server-assigned name, which is only unique within the same service
* that originally returns it. If you use the default HTTP mapping, the
Expand All @@ -358,7 +358,7 @@ export namespace accesscontextmanager_v1beta {
* the original method name. For example, if the original method name is
* `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
*/
response?: any;
response?: {[key: string]: any;};
}
/**
* A restriction on the OS type and version of devices making requests.
Expand Down Expand Up @@ -525,7 +525,7 @@ export namespace accesscontextmanager_v1beta {
* A list of messages that carry the error details. There is a common set
* of message types for APIs to use.
*/
details?: any[];
details?: Array<{[key: string]: any;}>;
/**
* A developer-facing error message, which should be in English. Any
* user-facing error message should be localized and sent in the
Expand Down
12 changes: 8 additions & 4 deletions src/apis/adexchangebuyer/v1.2.ts
Expand Up @@ -109,7 +109,8 @@ export namespace adexchangebuyer_v1_2 {
/**
* Your bidder locations that have distinct URLs.
*/
bidderLocation?: any[];
bidderLocation?:
Array<{maximumQps?: number; region?: string; url?: string;}>;
/**
* The nid parameter value used in cookie match requests. Please contact
* your technical account manager if you need to change this.
Expand Down Expand Up @@ -201,20 +202,23 @@ export namespace adexchangebuyer_v1_2 {
* Shows any corrections that were applied to this creative. Read-only. This
* field should not be set in requests.
*/
corrections?: any[];
corrections?: Array<{details?: string[]; reason?: string;}>;
/**
* The reasons for disapproval, if any. Note that not all disapproval
* reasons may be categorized, so it is possible for the creative to have a
* status of DISAPPROVED with an empty list for disapproval_reasons. In this
* case, please reach out to your TAM to help debug the issue. Read-only.
* This field should not be set in requests.
*/
disapprovalReasons?: any[];
disapprovalReasons?: Array<{details?: string[]; reason?: string;}>;
/**
* The filtering reasons for the creative. Read-only. This field should not
* be set in requests.
*/
filteringReasons?: any;
filteringReasons?: {
date?: string;
reasons?: Array<{filteringCount?: string; filteringStatus?: number;}>;
};
/**
* Ad height.
*/
Expand Down
37 changes: 27 additions & 10 deletions src/apis/adexchangebuyer/v1.3.ts
Expand Up @@ -119,7 +119,8 @@ export namespace adexchangebuyer_v1_3 {
/**
* Your bidder locations that have distinct URLs.
*/
bidderLocation?: any[];
bidderLocation?:
Array<{maximumQps?: number; region?: string; url?: string;}>;
/**
* The nid parameter value used in cookie match requests. Please contact
* your technical account manager if you need to change this.
Expand Down Expand Up @@ -279,20 +280,23 @@ export namespace adexchangebuyer_v1_3 {
* Shows any corrections that were applied to this creative. Read-only. This
* field should not be set in requests.
*/
corrections?: any[];
corrections?: Array<{details?: string[]; reason?: string;}>;
/**
* The reasons for disapproval, if any. Note that not all disapproval
* reasons may be categorized, so it is possible for the creative to have a
* status of DISAPPROVED with an empty list for disapproval_reasons. In this
* case, please reach out to your TAM to help debug the issue. Read-only.
* This field should not be set in requests.
*/
disapprovalReasons?: any[];
disapprovalReasons?: Array<{details?: string[]; reason?: string;}>;
/**
* The filtering reasons for the creative. Read-only. This field should not
* be set in requests.
*/
filteringReasons?: any;
filteringReasons?: {
date?: string;
reasons?: Array<{filteringCount?: string; filteringStatus?: number;}>;
};
/**
* Ad height.
*/
Expand All @@ -313,7 +317,20 @@ export namespace adexchangebuyer_v1_3 {
/**
* If nativeAd is set, HTMLSnippet and videoURL should not be set.
*/
nativeAd?: any;
nativeAd?: {
advertiser?: string;
appIcon?: {height?: number; url?: string; width?: number;};
body?: string;
callToAction?: string;
clickTrackingUrl?: string;
headline?: string;
image?: {height?: number; url?: string; width?: number;};
impressionTrackingUrl?: string[];
logo?: {height?: number; url?: string; width?: number;};
price?: string;
starRating?: number;
store?: string;
};
/**
* Detected product categories, if any. Read-only. This field should not be
* set in requests.
Expand Down Expand Up @@ -604,7 +621,7 @@ export namespace adexchangebuyer_v1_3 {
* Requests which allow one of these (width, height) pairs will match. All
* pairs must be supported ad dimensions.
*/
dimensions?: any[];
dimensions?: Array<{height?: string; width?: string;}>;
/**
* Requests with any of these content labels will not match. Values are from
* content-labels.txt in the downloadable files section.
Expand All @@ -617,7 +634,7 @@ export namespace adexchangebuyer_v1_3 {
/**
* Requests containing any of these placements will not match.
*/
excludedPlacements?: any[];
excludedPlacements?: Array<{token?: string; type?: string;}>;
/**
* Requests containing any of these users list ids will not match.
*/
Expand Down Expand Up @@ -662,7 +679,7 @@ export namespace adexchangebuyer_v1_3 {
/**
* Requests containing any of these placements will match.
*/
placements?: any[];
placements?: Array<{token?: string; type?: string;}>;
/**
* Requests matching any of these platforms will match. Possible values are
* PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and
Expand Down Expand Up @@ -1696,12 +1713,12 @@ export namespace adexchangebuyer_v1_3 {
/**
* When specified, only creatives for the given account ids are returned.
*/
accountId?: number;
accountId?: number[];
/**
* When specified, only creatives for the given buyer creative ids are
* returned.
*/
buyerCreativeId?: string;
buyerCreativeId?: string[];
/**
* Maximum number of entries returned on one result page. If not set, the
* default is 100. Optional.
Expand Down
67 changes: 55 additions & 12 deletions src/apis/adexchangebuyer/v1.4.ts
Expand Up @@ -138,7 +138,12 @@ export namespace adexchangebuyer_v1_4 {
/**
* Your bidder locations that have distinct URLs.
*/
bidderLocation?: any[];
bidderLocation?: Array<{
bidProtocol?: string;
maximumQps?: number;
region?: string;
url?: string;
}>;
/**
* The nid parameter value used in cookie match requests. Please contact
* your technical account manager if you need to change this.
Expand Down Expand Up @@ -371,7 +376,16 @@ export namespace adexchangebuyer_v1_4 {
* Shows any corrections that were applied to this creative. Read-only. This
* field should not be set in requests.
*/
corrections?: any[];
corrections?: Array<{
contexts?: Array<{
auctionType?: string[];
contextType?: string;
geoCriteriaId?: number[];
platform?: string[];
}>;
details?: string[];
reason?: string;
}>;
/**
* Creative status identity type that the creative item applies to. Ad
* Exchange real-time bidding is migrating to the sizeless creative
Expand Down Expand Up @@ -401,7 +415,10 @@ export namespace adexchangebuyer_v1_4 {
* The filtering reasons for the creative. Read-only. This field should not
* be set in requests.
*/
filteringReasons?: any;
filteringReasons?: {
date?: string;
reasons?: Array<{filteringCount?: string; filteringStatus?: number;}>;
};
/**
* Ad height.
*/
Expand All @@ -428,7 +445,22 @@ export namespace adexchangebuyer_v1_4 {
* If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside
* of nativeAd should not be set. (The videoURL inside nativeAd can be set.)
*/
nativeAd?: any;
nativeAd?: {
advertiser?: string;
appIcon?: {height?: number; url?: string; width?: number;};
body?: string;
callToAction?: string;
clickLinkUrl?: string;
clickTrackingUrl?: string;
headline?: string;
image?: {height?: number; url?: string; width?: number;};
impressionTrackingUrl?: string[];
logo?: {height?: number; url?: string; width?: number;};
price?: string;
starRating?: number;
store?: string;
videoURL?: string;
};
/**
* Top-level open auction status. Read-only. This field should not be set in
* requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL)
Expand Down Expand Up @@ -462,7 +494,16 @@ export namespace adexchangebuyer_v1_4 {
* Read-only. This field should not be set in requests. See the examples in
* the Creatives guide for more details.
*/
servingRestrictions?: any[];
servingRestrictions?: Array<{
contexts?: Array<{
auctionType?: string[];
contextType?: string;
geoCriteriaId?: number[];
platform?: string[];
}>;
disapprovalReasons?: Array<{details?: string[]; reason?: string;}>;
reason?: string;
}>;
/**
* List of vendor types for the ads that may be shown from this snippet.
* Each vendor type is represented by an integer as defined in vendors.txt.
Expand Down Expand Up @@ -497,7 +538,8 @@ export namespace adexchangebuyer_v1_4 {
/**
* A list of external deal ids and ARC approval status.
*/
dealStatuses?: any[];
dealStatuses?:
Array<{arcStatus?: string; dealId?: string; webPropertyId?: number;}>;
/**
* Resource type.
*/
Expand Down Expand Up @@ -1140,7 +1182,7 @@ export namespace adexchangebuyer_v1_4 {
* Requests which allow one of these (width, height) pairs will match. All
* pairs must be supported ad dimensions.
*/
dimensions?: any[];
dimensions?: Array<{height?: string; width?: string;}>;
/**
* Requests with any of these content labels will not match. Values are from
* content-labels.txt in the downloadable files section.
Expand All @@ -1153,7 +1195,7 @@ export namespace adexchangebuyer_v1_4 {
/**
* Requests containing any of these placements will not match.
*/
excludedPlacements?: any[];
excludedPlacements?: Array<{token?: string; type?: string;}>;
/**
* Requests containing any of these users list ids will not match.
*/
Expand Down Expand Up @@ -1205,7 +1247,7 @@ export namespace adexchangebuyer_v1_4 {
/**
* Requests containing any of these placements will match.
*/
placements?: any[];
placements?: Array<{token?: string; type?: string;}>;
/**
* Requests matching any of these platforms will match. Possible values are
* PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and
Expand Down Expand Up @@ -1244,7 +1286,8 @@ export namespace adexchangebuyer_v1_4 {
* Video requests satisfying any of these player size constraints will
* match.
*/
videoPlayerSizes?: any[];
videoPlayerSizes?:
Array<{aspectRatio?: string; minHeight?: string; minWidth?: string;}>;
}
export interface Schema$PretargetingConfigList {
/**
Expand Down Expand Up @@ -3024,12 +3067,12 @@ export namespace adexchangebuyer_v1_4 {
/**
* When specified, only creatives for the given account ids are returned.
*/
accountId?: number;
accountId?: number[];
/**
* When specified, only creatives for the given buyer creative ids are
* returned.
*/
buyerCreativeId?: string;
buyerCreativeId?: string[];
/**
* When specified, only creatives having the given deals status are
* returned.
Expand Down
3 changes: 2 additions & 1 deletion src/apis/adexchangebuyer2/v2beta1.ts
Expand Up @@ -2235,7 +2235,8 @@ export namespace adexchangebuyer2_v2beta1 {
export interface Schema$RowDimensions {
/**
* The publisher identifier for this row, if a breakdown by
* BreakdownDimension.PUBLISHER_IDENTIFIER was requested.
* [BreakdownDimension.PUBLISHER_IDENTIFIER](https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/bidders.accounts.filterSets#FilterSet.BreakdownDimension)
* was requested.
*/
publisherIdentifier?: string;
/**
Expand Down

0 comments on commit 1e23ebd

Please sign in to comment.