Skip to content

Commit

Permalink
feat(adexchangebuyer2): update the API
Browse files Browse the repository at this point in the history
#### adexchangebuyer2:v2beta1
The following keys were added:
- schemas.PublisherProfile.properties.mobileApps.description
- schemas.PublisherProfile.properties.mobileApps.items.$ref
- schemas.PublisherProfile.properties.mobileApps.type
- schemas.PublisherProfileMobileApplication.description
- schemas.PublisherProfileMobileApplication.id
- schemas.PublisherProfileMobileApplication.properties.appStore.description
- schemas.PublisherProfileMobileApplication.properties.appStore.enum
- schemas.PublisherProfileMobileApplication.properties.appStore.enumDescriptions
- schemas.PublisherProfileMobileApplication.properties.appStore.type
- schemas.PublisherProfileMobileApplication.properties.externalAppId.description
- schemas.PublisherProfileMobileApplication.properties.externalAppId.type
- schemas.PublisherProfileMobileApplication.properties.name.description
- schemas.PublisherProfileMobileApplication.properties.name.type
- schemas.PublisherProfileMobileApplication.type
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Nov 30, 2020
1 parent ae890e0 commit 92b94ae
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 97 deletions.
58 changes: 57 additions & 1 deletion discovery/adexchangebuyer2-v2beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2500,7 +2500,7 @@
}
}
},
"revision": "20201017",
"revision": "20201125",
"rootUrl": "https://adexchangebuyer.googleapis.com/",
"schemas": {
"AbsoluteDateRange": {
Expand Down Expand Up @@ -5461,6 +5461,13 @@
"description": "URL to additional marketing and sales materials.",
"type": "string"
},
"mobileApps": {
"description": "The list of apps represented in this publisher profile. Empty if this is a parent profile.",
"items": {
"$ref": "PublisherProfileMobileApplication"
},
"type": "array"
},
"overview": {
"description": "Overview of the publisher.",
"type": "string"
Expand Down Expand Up @@ -5495,6 +5502,55 @@
},
"type": "object"
},
"PublisherProfileMobileApplication": {
"description": "A mobile application that contains a external app ID, name, and app store.",
"id": "PublisherProfileMobileApplication",
"properties": {
"appStore": {
"description": "The app store the app belongs to.",
"enum": [
"APP_STORE_TYPE_UNSPECIFIED",
"APPLE_ITUNES",
"GOOGLE_PLAY",
"ROKU",
"AMAZON_FIRETV",
"PLAYSTATION",
"XBOX",
"SAMSUNG_TV",
"AMAZON",
"OPPO",
"SAMSUNG",
"VIVO",
"XIAOMI"
],
"enumDescriptions": [
"A placeholder for an unknown app store.",
"Apple iTunes",
"Google Play",
"Roku",
"Amazon Fire TV",
"Playstation",
"Xbox",
"Samsung TV",
"Amazon Appstore",
"OPPO App Market",
"Samsung Galaxy Store",
"VIVO App Store",
"Xiaomi GetApps"
],
"type": "string"
},
"externalAppId": {
"description": "The external ID for the app from its app store.",
"type": "string"
},
"name": {
"description": "The name of the app.",
"type": "string"
}
},
"type": "object"
},
"RealtimeTimeRange": {
"description": "An open-ended realtime time range specified by the start timestamp. For filter sets that specify a realtime time range RTB metrics continue to be aggregated throughout the lifetime of the filter set.",
"id": "RealtimeTimeRange",
Expand Down
158 changes: 62 additions & 96 deletions src/apis/adexchangebuyer2/v2beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1806,6 +1806,10 @@ export namespace adexchangebuyer2_v2beta1 {
* URL to additional marketing and sales materials.
*/
mediaKitUrl?: string | null;
/**
* The list of apps represented in this publisher profile. Empty if this is a parent profile.
*/
mobileApps?: Schema$PublisherProfileMobileApplication[];
/**
* Overview of the publisher.
*/
Expand Down Expand Up @@ -1835,6 +1839,23 @@ export namespace adexchangebuyer2_v2beta1 {
*/
topHeadlines?: string[] | null;
}
/**
* A mobile application that contains a external app ID, name, and app store.
*/
export interface Schema$PublisherProfileMobileApplication {
/**
* The app store the app belongs to.
*/
appStore?: string | null;
/**
* The external ID for the app from its app store.
*/
externalAppId?: string | null;
/**
* The name of the app.
*/
name?: string | null;
}
/**
* An open-ended realtime time range specified by the start timestamp. For filter sets that specify a realtime time range RTB metrics continue to be aggregated throughout the lifetime of the filter set.
*/
Expand Down Expand Up @@ -7600,6 +7621,7 @@ export namespace adexchangebuyer2_v2beta1 {
* // "isParent": false,
* // "logoUrl": "my_logoUrl",
* // "mediaKitUrl": "my_mediaKitUrl",
* // "mobileApps": [],
* // "overview": "my_overview",
* // "programmaticDealsContact": "my_programmaticDealsContact",
* // "publisherProfileId": "my_publisherProfileId",
Expand Down Expand Up @@ -9479,42 +9501,28 @@ export namespace adexchangebuyer2_v2beta1 {
params: Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives$List,
options:
| MethodOptions
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>,
callback: BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>,
callback: BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>
): void;
list(
params: Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives$List,
callback: BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>
callback: BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>
): void;
list(
callback: BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>
callback: BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>
): void;
list(
paramsOrCallback?:
| Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives$List
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>
| BodyResponseCallback<Readable>
):
| void
Expand Down Expand Up @@ -9559,9 +9567,9 @@ export namespace adexchangebuyer2_v2beta1 {
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>(parameters);
return createAPIRequest<Schema$ListCreativeStatusBreakdownByCreativeResponse>(
parameters
);
}
}
}
Expand Down Expand Up @@ -9670,42 +9678,28 @@ export namespace adexchangebuyer2_v2beta1 {
params: Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Details$List,
options:
| MethodOptions
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>,
callback: BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>,
callback: BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>
): void;
list(
params: Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Details$List,
callback: BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>
callback: BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>
): void;
list(
callback: BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>
callback: BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>
): void;
list(
paramsOrCallback?:
| Params$Resource$Bidders$Accounts$Filtersets$Filteredbids$Details$List
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>
| BodyResponseCallback<Readable>
):
| void
Expand Down Expand Up @@ -9750,9 +9744,9 @@ export namespace adexchangebuyer2_v2beta1 {
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<
Schema$ListCreativeStatusBreakdownByDetailResponse
>(parameters);
return createAPIRequest<Schema$ListCreativeStatusBreakdownByDetailResponse>(
parameters
);
}
}
}
Expand Down Expand Up @@ -11855,42 +11849,28 @@ export namespace adexchangebuyer2_v2beta1 {
params: Params$Resource$Bidders$Filtersets$Filteredbids$Creatives$List,
options:
| MethodOptions
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>,
callback: BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>,
callback: BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>
): void;
list(
params: Params$Resource$Bidders$Filtersets$Filteredbids$Creatives$List,
callback: BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>
callback: BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>
): void;
list(
callback: BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>
callback: BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>
): void;
list(
paramsOrCallback?:
| Params$Resource$Bidders$Filtersets$Filteredbids$Creatives$List
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByCreativeResponse>
| BodyResponseCallback<Readable>
):
| void
Expand Down Expand Up @@ -11935,9 +11915,9 @@ export namespace adexchangebuyer2_v2beta1 {
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<
Schema$ListCreativeStatusBreakdownByCreativeResponse
>(parameters);
return createAPIRequest<Schema$ListCreativeStatusBreakdownByCreativeResponse>(
parameters
);
}
}
}
Expand Down Expand Up @@ -12045,42 +12025,28 @@ export namespace adexchangebuyer2_v2beta1 {
params: Params$Resource$Bidders$Filtersets$Filteredbids$Details$List,
options:
| MethodOptions
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>,
callback: BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>,
callback: BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>
): void;
list(
params: Params$Resource$Bidders$Filtersets$Filteredbids$Details$List,
callback: BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>
callback: BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>
): void;
list(
callback: BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>
callback: BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>
): void;
list(
paramsOrCallback?:
| Params$Resource$Bidders$Filtersets$Filteredbids$Details$List
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<
Schema$ListCreativeStatusBreakdownByDetailResponse
>
| BodyResponseCallback<Schema$ListCreativeStatusBreakdownByDetailResponse>
| BodyResponseCallback<Readable>
):
| void
Expand Down Expand Up @@ -12125,9 +12091,9 @@ export namespace adexchangebuyer2_v2beta1 {
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<
Schema$ListCreativeStatusBreakdownByDetailResponse
>(parameters);
return createAPIRequest<Schema$ListCreativeStatusBreakdownByDetailResponse>(
parameters
);
}
}
}
Expand Down

0 comments on commit 92b94ae

Please sign in to comment.