| Index: generated/googleapis/lib/dfareporting/v2_4.dart
|
| diff --git a/generated/googleapis/lib/dfareporting/v2_3.dart b/generated/googleapis/lib/dfareporting/v2_4.dart
|
| similarity index 99%
|
| copy from generated/googleapis/lib/dfareporting/v2_3.dart
|
| copy to generated/googleapis/lib/dfareporting/v2_4.dart
|
| index bb72334efdec219680cc0513323f10846686a8df..f592ddc38a399848abbe994d68d69b026a124768 100644
|
| --- a/generated/googleapis/lib/dfareporting/v2_3.dart
|
| +++ b/generated/googleapis/lib/dfareporting/v2_4.dart
|
| @@ -1,6 +1,6 @@
|
| // This is a generated file (see the discoveryapis_generator project).
|
|
|
| -library googleapis.dfareporting.v2_3;
|
| +library googleapis.dfareporting.v2_4;
|
|
|
| import 'dart:core' as core;
|
| import 'dart:async' as async;
|
| @@ -14,7 +14,7 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
|
| ResumableUploadOptions, DownloadOptions, PartialDownloadOptions,
|
| ByteRange;
|
|
|
| -const core.String USER_AGENT = 'dart-api-client dfareporting/v2.3';
|
| +const core.String USER_AGENT = 'dart-api-client dfareporting/v2.4';
|
|
|
| /** Manage your DoubleClick Campaign Manager ad campaigns and reports. */
|
| class DfareportingApi {
|
| @@ -86,7 +86,7 @@ class DfareportingApi {
|
| UserRolePermissionsResourceApi get userRolePermissions => new UserRolePermissionsResourceApi(_requester);
|
| UserRolesResourceApi get userRoles => new UserRolesResourceApi(_requester);
|
|
|
| - DfareportingApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "dfareporting/v2.3/"}) :
|
| + DfareportingApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "dfareporting/v2.4/"}) :
|
| _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
|
| }
|
|
|
| @@ -962,17 +962,17 @@ class AdsResourceApi {
|
| * [campaignIds] - Select only ads with these campaign IDs.
|
| *
|
| * [compatibility] - Select default ads with the specified compatibility.
|
| - * Applicable when type is AD_SERVING_DEFAULT_AD. WEB and WEB_INTERSTITIAL
|
| - * refer to rendering either on desktop or on mobile devices for regular or
|
| - * interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering
|
| - * in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads
|
| - * developed with the VAST standard.
|
| + * Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and
|
| + * DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile
|
| + * devices for regular or interstitial ads, respectively. APP and
|
| + * APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers
|
| + * to rendering an in-stream video ads developed with the VAST standard.
|
| * Possible string values are:
|
| * - "APP"
|
| * - "APP_INTERSTITIAL"
|
| + * - "DISPLAY"
|
| + * - "DISPLAY_INTERSTITIAL"
|
| * - "IN_STREAM_VIDEO"
|
| - * - "WEB"
|
| - * - "WEB_INTERSTITIAL"
|
| *
|
| * [creativeIds] - Select only ads with these creative IDs assigned.
|
| *
|
| @@ -2495,6 +2495,7 @@ class ChangeLogsResourceApi {
|
| * - "OBJECT_MEDIA_ORDER"
|
| * - "OBJECT_PLACEMENT"
|
| * - "OBJECT_PLACEMENT_STRATEGY"
|
| + * - "OBJECT_PLAYSTORE_LINK"
|
| * - "OBJECT_PROVIDED_LIST_CLIENT"
|
| * - "OBJECT_RATE_CARD"
|
| * - "OBJECT_REMARKETING_LIST"
|
| @@ -3200,9 +3201,9 @@ class CreativeAssetsResourceApi {
|
| if (_uploadMedia == null) {
|
| _url = 'userprofiles/' + commons.Escaper.ecapeVariable('$profileId') + '/creativeAssets/' + commons.Escaper.ecapeVariable('$advertiserId') + '/creativeAssets';
|
| } else if (_uploadOptions is commons.ResumableUploadOptions) {
|
| - _url = '/resumable/upload/dfareporting/v2.3/userprofiles/' + commons.Escaper.ecapeVariable('$profileId') + '/creativeAssets/' + commons.Escaper.ecapeVariable('$advertiserId') + '/creativeAssets';
|
| + _url = '/resumable/upload/dfareporting/v2.4/userprofiles/' + commons.Escaper.ecapeVariable('$profileId') + '/creativeAssets/' + commons.Escaper.ecapeVariable('$advertiserId') + '/creativeAssets';
|
| } else {
|
| - _url = '/upload/dfareporting/v2.3/userprofiles/' + commons.Escaper.ecapeVariable('$profileId') + '/creativeAssets/' + commons.Escaper.ecapeVariable('$advertiserId') + '/creativeAssets';
|
| + _url = '/upload/dfareporting/v2.4/userprofiles/' + commons.Escaper.ecapeVariable('$profileId') + '/creativeAssets/' + commons.Escaper.ecapeVariable('$advertiserId') + '/creativeAssets';
|
| }
|
|
|
|
|
| @@ -6402,6 +6403,11 @@ class InventoryItemsResourceApi {
|
| * - "ASCENDING"
|
| * - "DESCENDING"
|
| *
|
| + * [type] - Select only inventory items with this type.
|
| + * Possible string values are:
|
| + * - "PLANNING_PLACEMENT_TYPE_CREDIT"
|
| + * - "PLANNING_PLACEMENT_TYPE_REGULAR"
|
| + *
|
| * Completes with a [InventoryItemsListResponse].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -6410,7 +6416,7 @@ class InventoryItemsResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<InventoryItemsListResponse> list(core.String profileId, core.String projectId, {core.List<core.String> ids, core.bool inPlan, core.int maxResults, core.List<core.String> orderId, core.String pageToken, core.List<core.String> siteId, core.String sortField, core.String sortOrder}) {
|
| + async.Future<InventoryItemsListResponse> list(core.String profileId, core.String projectId, {core.List<core.String> ids, core.bool inPlan, core.int maxResults, core.List<core.String> orderId, core.String pageToken, core.List<core.String> siteId, core.String sortField, core.String sortOrder, core.String type}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -6448,6 +6454,9 @@ class InventoryItemsResourceApi {
|
| if (sortOrder != null) {
|
| _queryParams["sortOrder"] = [sortOrder];
|
| }
|
| + if (type != null) {
|
| + _queryParams["type"] = [type];
|
| + }
|
|
|
| _url = 'userprofiles/' + commons.Escaper.ecapeVariable('$profileId') + '/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/inventoryItems';
|
|
|
| @@ -8245,11 +8254,11 @@ class PlacementsResourceApi {
|
| * [campaignIds] - Select only placements that belong to these campaigns.
|
| *
|
| * [compatibilities] - Select only placements that are associated with these
|
| - * compatibilities. WEB and WEB_INTERSTITIAL refer to rendering either on
|
| - * desktop or on mobile devices for regular or interstitial ads respectively.
|
| - * APP and APP_INTERSTITIAL are for rendering in mobile apps.IN_STREAM_VIDEO
|
| - * refers to rendering in in-stream video ads developed with the VAST
|
| - * standard.
|
| + * compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either
|
| + * on desktop or on mobile devices for regular or interstitial ads
|
| + * respectively. APP and APP_INTERSTITIAL are for rendering in mobile
|
| + * apps.IN_STREAM_VIDEO refers to rendering in in-stream video ads developed
|
| + * with the VAST standard.
|
| *
|
| * [contentCategoryIds] - Select only placements that are associated with
|
| * these content categories.
|
| @@ -11444,6 +11453,14 @@ class Account {
|
| * - "37" for PLN
|
| * - "39" for INR
|
| * - "40" for THB
|
| + * - "41" for IDR
|
| + * - "42" for CZK
|
| + * - "43" for RON
|
| + * - "44" for HUF
|
| + * - "45" for RUB
|
| + * - "46" for AED
|
| + * - "47" for BGN
|
| + * - "48" for HRK
|
| */
|
| core.String currencyId;
|
| /** Default placement dimensions for this account. */
|
| @@ -12246,16 +12263,19 @@ class Ad {
|
| core.String comments;
|
| /**
|
| * Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
|
| - * WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile
|
| - * devices for regular or interstitial ads, respectively. APP and
|
| - * APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers
|
| - * to rendering an in-stream video ads developed with the VAST standard.
|
| + * DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on
|
| + * mobile devices or in mobile apps for regular or interstitial ads,
|
| + * respectively. APP and APP_INTERSTITIAL are only used for existing default
|
| + * ads. New mobile placements must be assigned DISPLAY or
|
| + * DISPLAY_INTERSTITIAL and default ads created for those placements will be
|
| + * limited to those compatibility types. IN_STREAM_VIDEO refers to rendering
|
| + * in-stream video ads developed with the VAST standard.
|
| * Possible string values are:
|
| * - "APP"
|
| * - "APP_INTERSTITIAL"
|
| + * - "DISPLAY"
|
| + * - "DISPLAY_INTERSTITIAL"
|
| * - "IN_STREAM_VIDEO"
|
| - * - "WEB"
|
| - * - "WEB_INTERSTITIAL"
|
| */
|
| core.String compatibility;
|
| /** Information about the creation of this ad.This is a read-only field. */
|
| @@ -12614,17 +12634,17 @@ class AdSlot {
|
| /** Comment for this ad slot. */
|
| core.String comment;
|
| /**
|
| - * Ad slot compatibility. WEB and WEB_INTERSTITIAL refer to rendering either
|
| - * on desktop or on mobile devices for regular or interstitial ads
|
| - * respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps.
|
| - * IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with
|
| - * the VAST standard.
|
| + * Ad slot compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering
|
| + * either on desktop, mobile devices or in mobile apps for regular or
|
| + * interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering
|
| + * in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads
|
| + * developed with the VAST standard.
|
| * Possible string values are:
|
| - * - "PLANNING_RENDERING_ENVIRONMENT_TYPE_APP"
|
| - * - "PLANNING_RENDERING_ENVIRONMENT_TYPE_APP_INTERSTITIAL"
|
| - * - "PLANNING_RENDERING_ENVIRONMENT_TYPE_IN_STREAM_VIDEO"
|
| - * - "PLANNING_RENDERING_ENVIRONMENT_TYPE_WEB"
|
| - * - "PLANNING_RENDERING_ENVIRONMENT_TYPE_WEB_INTERSTITIAL"
|
| + * - "APP"
|
| + * - "APP_INTERSTITIAL"
|
| + * - "DISPLAY"
|
| + * - "DISPLAY_INTERSTITIAL"
|
| + * - "IN_STREAM_VIDEO"
|
| */
|
| core.String compatibility;
|
| /** Height of this ad slot. */
|
| @@ -14560,6 +14580,7 @@ class Creative {
|
| * Possible string values are:
|
| * - "ARTWORK_TYPE_FLASH"
|
| * - "ARTWORK_TYPE_HTML5"
|
| + * - "ARTWORK_TYPE_IMAGE"
|
| * - "ARTWORK_TYPE_MIXED"
|
| */
|
| core.String artworkType;
|
| @@ -14647,18 +14668,20 @@ class Creative {
|
| core.List<core.String> companionCreatives;
|
| /**
|
| * Compatibilities associated with this creative. This is a read-only field.
|
| - * WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile
|
| - * devices for regular or interstitial ads, respectively. APP and
|
| - * APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers
|
| - * to rendering in in-stream video ads developed with the VAST standard.
|
| - * Applicable to all creative types.
|
| + * DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on
|
| + * mobile devices or in mobile apps for regular or interstitial ads,
|
| + * respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps.
|
| + * Only pre-existing creatives may have these compatibilities since new
|
| + * creatives will either be assigned DISPLAY or DISPLAY_INTERSTITIAL instead.
|
| + * IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with
|
| + * the VAST standard. Applicable to all creative types.
|
| *
|
| * Acceptable values are:
|
| * - "APP"
|
| * - "APP_INTERSTITIAL"
|
| * - "IN_STREAM_VIDEO"
|
| - * - "WEB"
|
| - * - "WEB_INTERSTITIAL"
|
| + * - "DISPLAY"
|
| + * - "DISPLAY_INTERSTITIAL"
|
| */
|
| core.List<core.String> compatibility;
|
| /**
|
| @@ -15308,6 +15331,7 @@ class CreativeAsset {
|
| * Possible string values are:
|
| * - "ARTWORK_TYPE_FLASH"
|
| * - "ARTWORK_TYPE_HTML5"
|
| + * - "ARTWORK_TYPE_IMAGE"
|
| * - "ARTWORK_TYPE_MIXED"
|
| */
|
| core.String artworkType;
|
| @@ -16180,6 +16204,7 @@ class CreativeCustomEvent {
|
| * Possible string values are:
|
| * - "ARTWORK_TYPE_FLASH"
|
| * - "ARTWORK_TYPE_HTML5"
|
| + * - "ARTWORK_TYPE_IMAGE"
|
| * - "ARTWORK_TYPE_MIXED"
|
| */
|
| core.String artworkType;
|
| @@ -16730,6 +16755,7 @@ class CreativeOptimizationConfiguration {
|
| * - "POST_CLICK"
|
| * - "POST_CLICK_AND_IMPRESSION"
|
| * - "POST_IMPRESSION"
|
| + * - "VIDEO_COMPLETION"
|
| */
|
| core.String optimizationModel;
|
|
|
| @@ -17637,6 +17663,14 @@ class DirectorySite {
|
| * - "37" for PLN
|
| * - "39" for INR
|
| * - "40" for THB
|
| + * - "41" for IDR
|
| + * - "42" for CZK
|
| + * - "43" for RON
|
| + * - "44" for HUF
|
| + * - "45" for RUB
|
| + * - "46" for AED
|
| + * - "47" for BGN
|
| + * - "48" for HRK
|
| */
|
| core.String currencyId;
|
| /** Description of this directory site. */
|
| @@ -19877,6 +19911,13 @@ class InventoryItem {
|
| core.String siteId;
|
| /** Subaccount ID of this inventory item. */
|
| core.String subaccountId;
|
| + /**
|
| + * Type of inventory item.
|
| + * Possible string values are:
|
| + * - "PLANNING_PLACEMENT_TYPE_CREDIT"
|
| + * - "PLANNING_PLACEMENT_TYPE_REGULAR"
|
| + */
|
| + core.String type;
|
|
|
| InventoryItem();
|
|
|
| @@ -19938,6 +19979,9 @@ class InventoryItem {
|
| if (_json.containsKey("subaccountId")) {
|
| subaccountId = _json["subaccountId"];
|
| }
|
| + if (_json.containsKey("type")) {
|
| + type = _json["type"];
|
| + }
|
| }
|
|
|
| core.Map toJson() {
|
| @@ -19999,6 +20043,9 @@ class InventoryItem {
|
| if (subaccountId != null) {
|
| _json["subaccountId"] = subaccountId;
|
| }
|
| + if (type != null) {
|
| + _json["type"] = type;
|
| + }
|
| return _json;
|
| }
|
| }
|
| @@ -21624,17 +21671,19 @@ class Placement {
|
| /** Comments for this placement. */
|
| core.String comment;
|
| /**
|
| - * Placement compatibility. WEB and WEB_INTERSTITIAL refer to rendering either
|
| - * on desktop or on mobile devices for regular or interstitial ads,
|
| - * respectively. APP and APP_INTERSTITIAL are for rendering in mobile
|
| - * apps.IN_STREAM_VIDEO refers to rendering in in-stream video ads developed
|
| - * with the VAST standard. This field is required on insertion.
|
| + * Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to
|
| + * rendering on desktop, mobile devices or in mobile apps for regular or
|
| + * interstitial ads respectively. APP and APP_INTERSTITIAL are no longer
|
| + * allowed for new placement insertions. Instead, use DISPLAY or
|
| + * DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream
|
| + * video ads developed with the VAST standard.This field is required on
|
| + * insertion.
|
| * Possible string values are:
|
| * - "APP"
|
| * - "APP_INTERSTITIAL"
|
| + * - "DISPLAY"
|
| + * - "DISPLAY_INTERSTITIAL"
|
| * - "IN_STREAM_VIDEO"
|
| - * - "WEB"
|
| - * - "WEB_INTERSTITIAL"
|
| */
|
| core.String compatibility;
|
| /** ID of the content category assigned to this placement. */
|
| @@ -23653,11 +23702,17 @@ class RemarketingList {
|
| /**
|
| * Product from which this remarketing list was originated.
|
| * Possible string values are:
|
| + * - "REMARKETING_LIST_SOURCE_ADX"
|
| * - "REMARKETING_LIST_SOURCE_DBM"
|
| * - "REMARKETING_LIST_SOURCE_DFA"
|
| + * - "REMARKETING_LIST_SOURCE_DFP"
|
| * - "REMARKETING_LIST_SOURCE_DMP"
|
| * - "REMARKETING_LIST_SOURCE_GA"
|
| + * - "REMARKETING_LIST_SOURCE_GPLUS"
|
| * - "REMARKETING_LIST_SOURCE_OTHER"
|
| + * - "REMARKETING_LIST_SOURCE_PLAY_STORE"
|
| + * - "REMARKETING_LIST_SOURCE_XFP"
|
| + * - "REMARKETING_LIST_SOURCE_YOUTUBE"
|
| */
|
| core.String listSource;
|
| /**
|
| @@ -25792,11 +25847,17 @@ class TargetableRemarketingList {
|
| /**
|
| * Product from which this targetable remarketing list was originated.
|
| * Possible string values are:
|
| + * - "REMARKETING_LIST_SOURCE_ADX"
|
| * - "REMARKETING_LIST_SOURCE_DBM"
|
| * - "REMARKETING_LIST_SOURCE_DFA"
|
| + * - "REMARKETING_LIST_SOURCE_DFP"
|
| * - "REMARKETING_LIST_SOURCE_DMP"
|
| * - "REMARKETING_LIST_SOURCE_GA"
|
| + * - "REMARKETING_LIST_SOURCE_GPLUS"
|
| * - "REMARKETING_LIST_SOURCE_OTHER"
|
| + * - "REMARKETING_LIST_SOURCE_PLAY_STORE"
|
| + * - "REMARKETING_LIST_SOURCE_XFP"
|
| + * - "REMARKETING_LIST_SOURCE_YOUTUBE"
|
| */
|
| core.String listSource;
|
| /**
|
| @@ -26077,7 +26138,9 @@ class ThirdPartyTrackingUrl {
|
| * - "VIDEO_MIDPOINT"
|
| * - "VIDEO_MUTE"
|
| * - "VIDEO_PAUSE"
|
| + * - "VIDEO_PROGRESS"
|
| * - "VIDEO_REWIND"
|
| + * - "VIDEO_SKIP"
|
| * - "VIDEO_START"
|
| * - "VIDEO_STOP"
|
| * - "VIDEO_THIRD_QUARTILE"
|
|
|