Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Unified Diff: generated/googleapis/lib/dfareporting/v2_7.dart

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: generated/googleapis/lib/dfareporting/v2_7.dart
diff --git a/generated/googleapis/lib/dfareporting/v2_6.dart b/generated/googleapis/lib/dfareporting/v2_7.dart
similarity index 98%
copy from generated/googleapis/lib/dfareporting/v2_6.dart
copy to generated/googleapis/lib/dfareporting/v2_7.dart
index fdd0947cfca005eb2c5c9091682ec0ac109e169c..3be632b32948b9682671ed714d7c4a939a947ac1 100644
--- a/generated/googleapis/lib/dfareporting/v2_6.dart
+++ b/generated/googleapis/lib/dfareporting/v2_7.dart
@@ -1,6 +1,6 @@
// This is a generated file (see the discoveryapis_generator project).
-library googleapis.dfareporting.v2_6;
+library googleapis.dfareporting.v2_7;
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.6';
+const core.String USER_AGENT = 'dart-api-client dfareporting/v2.7';
/** Manages your DoubleClick Campaign Manager ad campaigns and reports. */
class DfareportingApi {
@@ -92,8 +92,9 @@ class DfareportingApi {
UserRolePermissionGroupsResourceApi get userRolePermissionGroups => new UserRolePermissionGroupsResourceApi(_requester);
UserRolePermissionsResourceApi get userRolePermissions => new UserRolePermissionsResourceApi(_requester);
UserRolesResourceApi get userRoles => new UserRolesResourceApi(_requester);
+ VideoFormatsResourceApi get videoFormats => new VideoFormatsResourceApi(_requester);
- DfareportingApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "dfareporting/v2.6/"}) :
+ DfareportingApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "dfareporting/v2.7/"}) :
_requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
}
@@ -430,7 +431,8 @@ class AccountUserProfilesResourceApi {
}
/**
- * Retrieves a list of account user profiles, possibly filtered.
+ * Retrieves a list of account user profiles, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -675,7 +677,8 @@ class AccountsResourceApi {
}
/**
- * Retrieves the list of accounts, possibly filtered.
+ * Retrieves the list of accounts, possibly filtered. This method supports
+ * paging.
*
* Request parameters:
*
@@ -952,7 +955,7 @@ class AdsResourceApi {
}
/**
- * Retrieves a list of ads, possibly filtered.
+ * Retrieves a list of ads, possibly filtered. This method supports paging.
*
* Request parameters:
*
@@ -986,33 +989,6 @@ class AdsResourceApi {
* [creativeOptimizationConfigurationIds] - Select only ads with these
* creative optimization configuration IDs.
*
- * [creativeType] - Select only ads with the specified creativeType.
- * Possible string values are:
- * - "BRAND_SAFE_DEFAULT_INSTREAM_VIDEO"
- * - "CUSTOM_DISPLAY"
- * - "CUSTOM_DISPLAY_INTERSTITIAL"
- * - "DISPLAY"
- * - "DISPLAY_IMAGE_GALLERY"
- * - "DISPLAY_REDIRECT"
- * - "FLASH_INPAGE"
- * - "HTML5_BANNER"
- * - "IMAGE"
- * - "INSTREAM_VIDEO"
- * - "INSTREAM_VIDEO_REDIRECT"
- * - "INTERNAL_REDIRECT"
- * - "INTERSTITIAL_INTERNAL_REDIRECT"
- * - "RICH_MEDIA_DISPLAY_BANNER"
- * - "RICH_MEDIA_DISPLAY_EXPANDING"
- * - "RICH_MEDIA_DISPLAY_INTERSTITIAL"
- * - "RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL"
- * - "RICH_MEDIA_IM_EXPAND"
- * - "RICH_MEDIA_INPAGE_FLOATING"
- * - "RICH_MEDIA_MOBILE_IN_APP"
- * - "RICH_MEDIA_PEEL_DOWN"
- * - "TRACKING_TEXT"
- * - "VPAID_LINEAR_VIDEO"
- * - "VPAID_NON_LINEAR_VIDEO"
- *
* [dynamicClickTracker] - Select only dynamic click trackers. Applicable when
* type is AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers.
* If false, select static click trackers. Leave unset to select both.
@@ -1065,7 +1041,7 @@ class AdsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<AdsListResponse> list(core.String profileId, {core.bool active, core.String advertiserId, core.bool archived, core.List<core.String> audienceSegmentIds, core.List<core.String> campaignIds, core.String compatibility, core.List<core.String> creativeIds, core.List<core.String> creativeOptimizationConfigurationIds, core.String creativeType, core.bool dynamicClickTracker, core.List<core.String> ids, core.List<core.String> landingPageIds, core.int maxResults, core.String overriddenEventTagId, core.String pageToken, core.List<core.String> placementIds, core.List<core.String> remarketingListIds, core.String searchString, core.List<core.String> sizeIds, core.String sortField, core.String sortOrder, core.bool sslCompliant, core.bool sslRequired, core.List<core.String> type}) {
+ async.Future<AdsListResponse> list(core.String profileId, {core.bool active, core.String advertiserId, core.bool archived, core.List<core.String> audienceSegmentIds, core.List<core.String> campaignIds, core.String compatibility, core.List<core.String> creativeIds, core.List<core.String> creativeOptimizationConfigurationIds, core.bool dynamicClickTracker, core.List<core.String> ids, core.List<core.String> landingPageIds, core.int maxResults, core.String overriddenEventTagId, core.String pageToken, core.List<core.String> placementIds, core.List<core.String> remarketingListIds, core.String searchString, core.List<core.String> sizeIds, core.String sortField, core.String sortOrder, core.bool sslCompliant, core.bool sslRequired, core.List<core.String> type}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1100,9 +1076,6 @@ class AdsResourceApi {
if (creativeOptimizationConfigurationIds != null) {
_queryParams["creativeOptimizationConfigurationIds"] = creativeOptimizationConfigurationIds;
}
- if (creativeType != null) {
- _queryParams["creativeType"] = [creativeType];
- }
if (dynamicClickTracker != null) {
_queryParams["dynamicClickTracker"] = ["${dynamicClickTracker}"];
}
@@ -1397,7 +1370,8 @@ class AdvertiserGroupsResourceApi {
}
/**
- * Retrieves a list of advertiser groups, possibly filtered.
+ * Retrieves a list of advertiser groups, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -1669,7 +1643,8 @@ class AdvertisersResourceApi {
}
/**
- * Retrieves a list of advertisers, possibly filtered.
+ * Retrieves a list of advertisers, possibly filtered. This method supports
+ * paging.
*
* Request parameters:
*
@@ -1990,6 +1965,7 @@ class CampaignCreativeAssociationsResourceApi {
/**
* Retrieves the list of creative IDs associated with the specified campaign.
+ * This method supports paging.
*
* Request parameters:
*
@@ -2161,7 +2137,8 @@ class CampaignsResourceApi {
}
/**
- * Retrieves a list of campaigns, possibly filtered.
+ * Retrieves a list of campaigns, possibly filtered. This method supports
+ * paging.
*
* Request parameters:
*
@@ -2428,7 +2405,7 @@ class ChangeLogsResourceApi {
}
/**
- * Retrieves a list of change logs.
+ * Retrieves a list of change logs. This method supports paging.
*
* Request parameters:
*
@@ -2508,6 +2485,7 @@ class ChangeLogsResourceApi {
* - "OBJECT_REMARKETING_LIST"
* - "OBJECT_RICHMEDIA_CREATIVE"
* - "OBJECT_SD_SITE"
+ * - "OBJECT_SEARCH_LIFT_STUDY"
* - "OBJECT_SIZE"
* - "OBJECT_SUBACCOUNT"
* - "OBJECT_TARGETING_TEMPLATE"
@@ -2886,7 +2864,8 @@ class ContentCategoriesResourceApi {
}
/**
- * Retrieves a list of content categories, possibly filtered.
+ * Retrieves a list of content categories, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -3262,9 +3241,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.6/userprofiles/' + commons.Escaper.ecapeVariable('$profileId') + '/creativeAssets/' + commons.Escaper.ecapeVariable('$advertiserId') + '/creativeAssets';
+ _url = '/resumable/upload/dfareporting/v2.7/userprofiles/' + commons.Escaper.ecapeVariable('$profileId') + '/creativeAssets/' + commons.Escaper.ecapeVariable('$advertiserId') + '/creativeAssets';
} else {
- _url = '/upload/dfareporting/v2.6/userprofiles/' + commons.Escaper.ecapeVariable('$profileId') + '/creativeAssets/' + commons.Escaper.ecapeVariable('$advertiserId') + '/creativeAssets';
+ _url = '/upload/dfareporting/v2.7/userprofiles/' + commons.Escaper.ecapeVariable('$profileId') + '/creativeAssets/' + commons.Escaper.ecapeVariable('$advertiserId') + '/creativeAssets';
}
@@ -3435,7 +3414,8 @@ class CreativeFieldValuesResourceApi {
}
/**
- * Retrieves a list of creative field values, possibly filtered.
+ * Retrieves a list of creative field values, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -3762,7 +3742,8 @@ class CreativeFieldsResourceApi {
}
/**
- * Retrieves a list of creative fields, possibly filtered.
+ * Retrieves a list of creative fields, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -4041,7 +4022,8 @@ class CreativeGroupsResourceApi {
}
/**
- * Retrieves a list of creative groups, possibly filtered.
+ * Retrieves a list of creative groups, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -4325,7 +4307,8 @@ class CreativesResourceApi {
}
/**
- * Retrieves a list of creatives, possibly filtered.
+ * Retrieves a list of creatives, possibly filtered. This method supports
+ * paging.
*
* Request parameters:
*
@@ -4671,7 +4654,8 @@ class DirectorySiteContactsResourceApi {
}
/**
- * Retrieves a list of directory site contacts, possibly filtered.
+ * Retrieves a list of directory site contacts, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -4856,7 +4840,8 @@ class DirectorySitesResourceApi {
}
/**
- * Retrieves a list of directory sites, possibly filtered.
+ * Retrieves a list of directory sites, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -5842,7 +5827,8 @@ class FloodlightActivitiesResourceApi {
}
/**
- * Retrieves a list of floodlight activities, possibly filtered.
+ * Retrieves a list of floodlight activities, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -6165,7 +6151,8 @@ class FloodlightActivityGroupsResourceApi {
}
/**
- * Retrieves a list of floodlight activity groups, possibly filtered.
+ * Retrieves a list of floodlight activity groups, possibly filtered. This
+ * method supports paging.
*
* Request parameters:
*
@@ -6619,7 +6606,8 @@ class InventoryItemsResourceApi {
}
/**
- * Retrieves a list of inventory items, possibly filtered.
+ * Retrieves a list of inventory items, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -7453,7 +7441,8 @@ class OrderDocumentsResourceApi {
}
/**
- * Retrieves a list of order documents, possibly filtered.
+ * Retrieves a list of order documents, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -7614,7 +7603,7 @@ class OrdersResourceApi {
}
/**
- * Retrieves a list of orders, possibly filtered.
+ * Retrieves a list of orders, possibly filtered. This method supports paging.
*
* Request parameters:
*
@@ -7801,7 +7790,8 @@ class PlacementGroupsResourceApi {
}
/**
- * Retrieves a list of placement groups, possibly filtered.
+ * Retrieves a list of placement groups, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -8206,7 +8196,8 @@ class PlacementStrategiesResourceApi {
}
/**
- * Retrieves a list of placement strategies, possibly filtered.
+ * Retrieves a list of placement strategies, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -8535,7 +8526,8 @@ class PlacementsResourceApi {
}
/**
- * Retrieves a list of placements, possibly filtered.
+ * Retrieves a list of placements, possibly filtered. This method supports
+ * paging.
*
* Request parameters:
*
@@ -9047,7 +9039,8 @@ class ProjectsResourceApi {
}
/**
- * Retrieves a list of projects, possibly filtered.
+ * Retrieves a list of projects, possibly filtered. This method supports
+ * paging.
*
* Request parameters:
*
@@ -9425,7 +9418,8 @@ class RemarketingListsResourceApi {
}
/**
- * Retrieves a list of remarketing lists, possibly filtered.
+ * Retrieves a list of remarketing lists, possibly filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -10275,7 +10269,7 @@ class SitesResourceApi {
}
/**
- * Retrieves a list of sites, possibly filtered.
+ * Retrieves a list of sites, possibly filtered. This method supports paging.
*
* Request parameters:
*
@@ -10751,7 +10745,7 @@ class SubaccountsResourceApi {
}
/**
- * Gets a list of subaccounts, possibly filtered.
+ * Gets a list of subaccounts, possibly filtered. This method supports paging.
*
* Request parameters:
*
@@ -10979,7 +10973,8 @@ class TargetableRemarketingListsResourceApi {
}
/**
- * Retrieves a list of targetable remarketing lists, possibly filtered.
+ * Retrieves a list of targetable remarketing lists, possibly filtered. This
+ * method supports paging.
*
* Request parameters:
*
@@ -11165,7 +11160,8 @@ class TargetingTemplatesResourceApi {
}
/**
- * Retrieves a list of targeting templates, optionally filtered.
+ * Retrieves a list of targeting templates, optionally filtered. This method
+ * supports paging.
*
* Request parameters:
*
@@ -11758,7 +11754,8 @@ class UserRolesResourceApi {
}
/**
- * Retrieves a list of user roles, possibly filtered.
+ * Retrieves a list of user roles, possibly filtered. This method supports
+ * paging.
*
* Request parameters:
*
@@ -11946,6 +11943,98 @@ class UserRolesResourceApi {
}
+class VideoFormatsResourceApi {
+ final commons.ApiRequester _requester;
+
+ VideoFormatsResourceApi(commons.ApiRequester client) :
+ _requester = client;
+
+ /**
+ * Gets one video format by ID.
+ *
+ * Request parameters:
+ *
+ * [profileId] - User profile ID associated with this request.
+ *
+ * [id] - Video format ID.
+ *
+ * Completes with a [VideoFormat].
+ *
+ * Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ * error.
+ *
+ * If the used [http.Client] completes with an error when making a REST call,
+ * this method will complete with the same error.
+ */
+ async.Future<VideoFormat> get(core.String profileId, core.int id) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (profileId == null) {
+ throw new core.ArgumentError("Parameter profileId is required.");
+ }
+ if (id == null) {
+ throw new core.ArgumentError("Parameter id is required.");
+ }
+
+ _url = 'userprofiles/' + commons.Escaper.ecapeVariable('$profileId') + '/videoFormats/' + commons.Escaper.ecapeVariable('$id');
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new VideoFormat.fromJson(data));
+ }
+
+ /**
+ * Lists available video formats.
+ *
+ * Request parameters:
+ *
+ * [profileId] - User profile ID associated with this request.
+ *
+ * Completes with a [VideoFormatsListResponse].
+ *
+ * Completes with a [commons.ApiRequestError] if the API endpoint returned an
+ * error.
+ *
+ * If the used [http.Client] completes with an error when making a REST call,
+ * this method will complete with the same error.
+ */
+ async.Future<VideoFormatsListResponse> list(core.String profileId) {
+ var _url = null;
+ var _queryParams = new core.Map();
+ var _uploadMedia = null;
+ var _uploadOptions = null;
+ var _downloadOptions = commons.DownloadOptions.Metadata;
+ var _body = null;
+
+ if (profileId == null) {
+ throw new core.ArgumentError("Parameter profileId is required.");
+ }
+
+ _url = 'userprofiles/' + commons.Escaper.ecapeVariable('$profileId') + '/videoFormats';
+
+ var _response = _requester.request(_url,
+ "GET",
+ body: _body,
+ queryParams: _queryParams,
+ uploadOptions: _uploadOptions,
+ uploadMedia: _uploadMedia,
+ downloadOptions: _downloadOptions);
+ return _response.then((data) => new VideoFormatsListResponse.fromJson(data));
+ }
+
+}
+
+
/** Contains properties of a DCM account. */
class Account {
@@ -11968,6 +12057,7 @@ class Account {
* - "ACTIVE_ADS_TIER_300K"
* - "ACTIVE_ADS_TIER_40K"
* - "ACTIVE_ADS_TIER_500K"
+ * - "ACTIVE_ADS_TIER_750K"
* - "ACTIVE_ADS_TIER_75K"
*/
core.String activeAdsLimitTier;
@@ -12225,6 +12315,7 @@ class AccountActiveAdSummary {
* - "ACTIVE_ADS_TIER_300K"
* - "ACTIVE_ADS_TIER_40K"
* - "ACTIVE_ADS_TIER_500K"
+ * - "ACTIVE_ADS_TIER_750K"
* - "ACTIVE_ADS_TIER_75K"
*/
core.String activeAdsLimitTier;
@@ -12799,7 +12890,7 @@ class Ad {
* Account ID of this ad. This is a read-only field that can be left blank.
*/
core.String accountId;
- /** Whether this ad is active. */
+ /** Whether this ad is active. When true, archived must be false. */
core.bool active;
/** Advertiser ID of this ad. This is a required field on insertion. */
core.String advertiserId;
@@ -12808,7 +12899,7 @@ class Ad {
* auto-generated field.
*/
DimensionValue advertiserIdDimensionValue;
- /** Whether this ad is archived. */
+ /** Whether this ad is archived. When true, active must be false. */
core.bool archived;
/**
* Audience segment ID that is being targeted for this ad. Applicable when
@@ -14784,6 +14875,58 @@ class CompanionClickThroughOverride {
}
}
+/** Companion Settings */
+class CompanionSetting {
+ /** Whether companions are disabled for this placement. */
+ core.bool companionsDisabled;
+ /**
+ * Whitelist of companion sizes to be served to this placement. Set this list
+ * to null or empty to serve all companion sizes.
+ */
+ core.List<Size> enabledSizes;
+ /** Whether to serve only static images as companions. */
+ core.bool imageOnly;
+ /**
+ * Identifies what kind of resource this is. Value: the fixed string
+ * "dfareporting#companionSetting".
+ */
+ core.String kind;
+
+ CompanionSetting();
+
+ CompanionSetting.fromJson(core.Map _json) {
+ if (_json.containsKey("companionsDisabled")) {
+ companionsDisabled = _json["companionsDisabled"];
+ }
+ if (_json.containsKey("enabledSizes")) {
+ enabledSizes = _json["enabledSizes"].map((value) => new Size.fromJson(value)).toList();
+ }
+ if (_json.containsKey("imageOnly")) {
+ imageOnly = _json["imageOnly"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (companionsDisabled != null) {
+ _json["companionsDisabled"] = companionsDisabled;
+ }
+ if (enabledSizes != null) {
+ _json["enabledSizes"] = enabledSizes.map((value) => (value).toJson()).toList();
+ }
+ if (imageOnly != null) {
+ _json["imageOnly"] = imageOnly;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ return _json;
+ }
+}
+
/** Represents a response to the queryCompatibleFields method. */
class CompatibleFields {
/**
@@ -15080,7 +15223,10 @@ class Conversion {
* "dfareporting#conversion".
*/
core.String kind;
- /** Whether the user has Limit Ad Tracking set. */
+ /**
+ * Whether Limit Ad Tracking is enabled. When set to true, the conversion will
+ * be used for reporting but not targeting. This will prevent remarketing.
+ */
core.bool limitAdTracking;
/**
* The mobile device ID. This field is mutually exclusive with encryptedUserId
@@ -15730,6 +15876,11 @@ class Creative {
*/
core.String overrideCss;
/**
+ * Amount of time to play the video before counting a view. Applicable to the
+ * following creative types: all INSTREAM_VIDEO.
+ */
+ VideoOffset progressOffset;
+ /**
* URL of hosted image or hosted video or another ad tag. For
* INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL.
* The standard for a VAST (Video Ad Serving Template) ad response allows for
@@ -15774,6 +15925,11 @@ class Creative {
*/
Size size;
/**
+ * Amount of time to play the video before the skip button appears. Applicable
+ * to the following creative types: all INSTREAM_VIDEO.
+ */
+ VideoOffset skipOffset;
+ /**
* Whether the user can choose to skip the creative. Applicable to the
* following creative types: all INSTREAM_VIDEO and all VPAID.
*/
@@ -16013,6 +16169,9 @@ class Creative {
if (_json.containsKey("overrideCss")) {
overrideCss = _json["overrideCss"];
}
+ if (_json.containsKey("progressOffset")) {
+ progressOffset = new VideoOffset.fromJson(_json["progressOffset"]);
+ }
if (_json.containsKey("redirectUrl")) {
redirectUrl = _json["redirectUrl"];
}
@@ -16031,6 +16190,9 @@ class Creative {
if (_json.containsKey("size")) {
size = new Size.fromJson(_json["size"]);
}
+ if (_json.containsKey("skipOffset")) {
+ skipOffset = new VideoOffset.fromJson(_json["skipOffset"]);
+ }
if (_json.containsKey("skippable")) {
skippable = _json["skippable"];
}
@@ -16197,6 +16359,9 @@ class Creative {
if (overrideCss != null) {
_json["overrideCss"] = overrideCss;
}
+ if (progressOffset != null) {
+ _json["progressOffset"] = (progressOffset).toJson();
+ }
if (redirectUrl != null) {
_json["redirectUrl"] = redirectUrl;
}
@@ -16215,6 +16380,9 @@ class Creative {
if (size != null) {
_json["size"] = (size).toJson();
}
+ if (skipOffset != null) {
+ _json["skipOffset"] = (skipOffset).toJson();
+ }
if (skippable != null) {
_json["skippable"] = skippable;
}
@@ -23317,6 +23485,33 @@ class Placement {
core.List<core.String> tagFormats;
/** Tag settings for this placement. */
TagSetting tagSetting;
+ /**
+ * Whether Verification and ActiveView are disabled for in-stream video
+ * creatives for this placement. The same setting videoActiveViewOptOut exists
+ * on the site level -- the opt out occurs if either of these settings are
+ * true. These settings are distinct from
+ * DirectorySites.settings.activeViewOptOut or
+ * Sites.siteSettings.activeViewOptOut which only apply to display ads.
+ * However, Accounts.activeViewOptOut opts out both video traffic, as well as
+ * display ads, from Verification and ActiveView.
+ */
+ core.bool videoActiveViewOptOut;
+ /**
+ * A collection of settings which affect video creatives served through this
+ * placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
+ */
+ VideoSettings videoSettings;
+ /**
+ * VPAID adapter setting for this placement. Controls which VPAID format the
+ * measurement adapter will use for in-stream video creatives assigned to this
+ * placement.
+ * Possible string values are:
+ * - "BOTH"
+ * - "DEFAULT"
+ * - "FLASH"
+ * - "HTML5"
+ */
+ core.String vpaidAdapterChoice;
Placement();
@@ -23429,6 +23624,15 @@ class Placement {
if (_json.containsKey("tagSetting")) {
tagSetting = new TagSetting.fromJson(_json["tagSetting"]);
}
+ if (_json.containsKey("videoActiveViewOptOut")) {
+ videoActiveViewOptOut = _json["videoActiveViewOptOut"];
+ }
+ if (_json.containsKey("videoSettings")) {
+ videoSettings = new VideoSettings.fromJson(_json["videoSettings"]);
+ }
+ if (_json.containsKey("vpaidAdapterChoice")) {
+ vpaidAdapterChoice = _json["vpaidAdapterChoice"];
+ }
}
core.Map toJson() {
@@ -23541,6 +23745,15 @@ class Placement {
if (tagSetting != null) {
_json["tagSetting"] = (tagSetting).toJson();
}
+ if (videoActiveViewOptOut != null) {
+ _json["videoActiveViewOptOut"] = videoActiveViewOptOut;
+ }
+ if (videoSettings != null) {
+ _json["videoSettings"] = (videoSettings).toJson();
+ }
+ if (vpaidAdapterChoice != null) {
+ _json["vpaidAdapterChoice"] = vpaidAdapterChoice;
+ }
return _json;
}
}
@@ -26807,16 +27020,28 @@ class SiteSettings {
/** Configuration settings for dynamic and image floodlight tags. */
TagSetting tagSetting;
/**
- * Whether Verification and ActiveView are disabled for in-stream video
- * creatives on this site. The same setting videoActiveViewOptOut exists on
- * the directory site level -- the opt out occurs if either of these settings
- * are true. These settings are distinct from
- * DirectorySites.settings.activeViewOptOut or
- * Sites.siteSettings.activeViewOptOut which only apply to display ads.
- * However, Accounts.activeViewOptOut opts out both video traffic, as well as
- * display ads, from Verification and ActiveView.
+ * Whether Verification and ActiveView for in-stream video creatives are
+ * disabled by default for new placements created under this site. This value
+ * will be used to populate the placement.videoActiveViewOptOut field, when no
+ * value is specified for the new placement.
+ */
+ core.bool videoActiveViewOptOutTemplate;
+ /**
+ * Default VPAID adapter setting for new placements created under this site.
+ * This value will be used to populate the placements.vpaidAdapterChoice
+ * field, when no value is specified for the new placement. Controls which
+ * VPAID format the measurement adapter will use for in-stream video creatives
+ * assigned to the placement. The publisher's specifications will typically
+ * determine this setting. For VPAID creatives, the adapter format will match
+ * the VPAID format (HTML5 VPAID creatives use the HTML5 adapter, and Flash
+ * VPAID creatives use the Flash adapter).
+ * Possible string values are:
+ * - "BOTH"
+ * - "DEFAULT"
+ * - "FLASH"
+ * - "HTML5"
*/
- core.bool videoActiveViewOptOut;
+ core.String vpaidAdapterChoiceTemplate;
SiteSettings();
@@ -26839,8 +27064,11 @@ class SiteSettings {
if (_json.containsKey("tagSetting")) {
tagSetting = new TagSetting.fromJson(_json["tagSetting"]);
}
- if (_json.containsKey("videoActiveViewOptOut")) {
- videoActiveViewOptOut = _json["videoActiveViewOptOut"];
+ if (_json.containsKey("videoActiveViewOptOutTemplate")) {
+ videoActiveViewOptOutTemplate = _json["videoActiveViewOptOutTemplate"];
+ }
+ if (_json.containsKey("vpaidAdapterChoiceTemplate")) {
+ vpaidAdapterChoiceTemplate = _json["vpaidAdapterChoiceTemplate"];
}
}
@@ -26864,8 +27092,11 @@ class SiteSettings {
if (tagSetting != null) {
_json["tagSetting"] = (tagSetting).toJson();
}
- if (videoActiveViewOptOut != null) {
- _json["videoActiveViewOptOut"] = videoActiveViewOptOut;
+ if (videoActiveViewOptOutTemplate != null) {
+ _json["videoActiveViewOptOutTemplate"] = videoActiveViewOptOutTemplate;
+ }
+ if (vpaidAdapterChoiceTemplate != null) {
+ _json["vpaidAdapterChoiceTemplate"] = vpaidAdapterChoiceTemplate;
}
return _json;
}
@@ -27004,6 +27235,61 @@ class SizesListResponse {
}
}
+/** Skippable Settings */
+class SkippableSetting {
+ /**
+ * Identifies what kind of resource this is. Value: the fixed string
+ * "dfareporting#skippableSetting".
+ */
+ core.String kind;
+ /**
+ * Amount of time to play videos served to this placement before counting a
+ * view. Applicable when skippable is true.
+ */
+ VideoOffset progressOffset;
+ /**
+ * Amount of time to play videos served to this placement before the skip
+ * button should appear. Applicable when skippable is true.
+ */
+ VideoOffset skipOffset;
+ /** Whether the user can skip creatives served to this placement. */
+ core.bool skippable;
+
+ SkippableSetting();
+
+ SkippableSetting.fromJson(core.Map _json) {
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("progressOffset")) {
+ progressOffset = new VideoOffset.fromJson(_json["progressOffset"]);
+ }
+ if (_json.containsKey("skipOffset")) {
+ skipOffset = new VideoOffset.fromJson(_json["skipOffset"]);
+ }
+ if (_json.containsKey("skippable")) {
+ skippable = _json["skippable"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (progressOffset != null) {
+ _json["progressOffset"] = (progressOffset).toJson();
+ }
+ if (skipOffset != null) {
+ _json["skipOffset"] = (skipOffset).toJson();
+ }
+ if (skippable != null) {
+ _json["skippable"] = skippable;
+ }
+ return _json;
+ }
+}
+
/** Represents a sorted dimension. */
class SortedDimension {
/**
@@ -27908,6 +28194,42 @@ class ThirdPartyTrackingUrl {
}
}
+/** Transcode Settings */
+class TranscodeSetting {
+ /**
+ * Whitelist of video formats to be served to this placement. Set this list to
+ * null or empty to serve all video formats.
+ */
+ core.List<core.int> enabledVideoFormats;
+ /**
+ * Identifies what kind of resource this is. Value: the fixed string
+ * "dfareporting#transcodeSetting".
+ */
+ core.String kind;
+
+ TranscodeSetting();
+
+ TranscodeSetting.fromJson(core.Map _json) {
+ if (_json.containsKey("enabledVideoFormats")) {
+ enabledVideoFormats = _json["enabledVideoFormats"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (enabledVideoFormats != null) {
+ _json["enabledVideoFormats"] = enabledVideoFormats;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ return _json;
+ }
+}
+
/** User Defined Variable configuration. */
class UserDefinedVariableConfiguration {
/**
@@ -28486,3 +28808,194 @@ class UserRolesListResponse {
return _json;
}
}
+
+/** Contains information about supported video formats. */
+class VideoFormat {
+ /**
+ * File type of the video format.
+ * Possible string values are:
+ * - "FLV"
+ * - "M3U8"
+ * - "MP4"
+ * - "THREEGPP"
+ * - "WEBM"
+ */
+ core.String fileType;
+ /** ID of the video format. */
+ core.int id;
+ /**
+ * Identifies what kind of resource this is. Value: the fixed string
+ * "dfareporting#videoFormat".
+ */
+ core.String kind;
+ /** The resolution of this video format. */
+ Size resolution;
+ /** The target bit rate of this video format. */
+ core.int targetBitRate;
+
+ VideoFormat();
+
+ VideoFormat.fromJson(core.Map _json) {
+ if (_json.containsKey("fileType")) {
+ fileType = _json["fileType"];
+ }
+ if (_json.containsKey("id")) {
+ id = _json["id"];
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("resolution")) {
+ resolution = new Size.fromJson(_json["resolution"]);
+ }
+ if (_json.containsKey("targetBitRate")) {
+ targetBitRate = _json["targetBitRate"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (fileType != null) {
+ _json["fileType"] = fileType;
+ }
+ if (id != null) {
+ _json["id"] = id;
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (resolution != null) {
+ _json["resolution"] = (resolution).toJson();
+ }
+ if (targetBitRate != null) {
+ _json["targetBitRate"] = targetBitRate;
+ }
+ return _json;
+ }
+}
+
+/** Video Format List Response */
+class VideoFormatsListResponse {
+ /**
+ * Identifies what kind of resource this is. Value: the fixed string
+ * "dfareporting#videoFormatsListResponse".
+ */
+ core.String kind;
+ /** Video format collection. */
+ core.List<VideoFormat> videoFormats;
+
+ VideoFormatsListResponse();
+
+ VideoFormatsListResponse.fromJson(core.Map _json) {
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("videoFormats")) {
+ videoFormats = _json["videoFormats"].map((value) => new VideoFormat.fromJson(value)).toList();
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (videoFormats != null) {
+ _json["videoFormats"] = videoFormats.map((value) => (value).toJson()).toList();
+ }
+ return _json;
+ }
+}
+
+/** Video Offset */
+class VideoOffset {
+ /**
+ * Duration, as a percentage of video duration. Do not set when offsetSeconds
+ * is set.
+ */
+ core.int offsetPercentage;
+ /** Duration, in seconds. Do not set when offsetPercentage is set. */
+ core.int offsetSeconds;
+
+ VideoOffset();
+
+ VideoOffset.fromJson(core.Map _json) {
+ if (_json.containsKey("offsetPercentage")) {
+ offsetPercentage = _json["offsetPercentage"];
+ }
+ if (_json.containsKey("offsetSeconds")) {
+ offsetSeconds = _json["offsetSeconds"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (offsetPercentage != null) {
+ _json["offsetPercentage"] = offsetPercentage;
+ }
+ if (offsetSeconds != null) {
+ _json["offsetSeconds"] = offsetSeconds;
+ }
+ return _json;
+ }
+}
+
+/** Video Settings */
+class VideoSettings {
+ /**
+ * Settings for the companion creatives of video creatives served to this
+ * placement.
+ */
+ CompanionSetting companionSettings;
+ /**
+ * Identifies what kind of resource this is. Value: the fixed string
+ * "dfareporting#videoSettings".
+ */
+ core.String kind;
+ /**
+ * Settings for the skippability of video creatives served to this placement.
+ * If this object is provided, the creative-level skippable settings will be
+ * overridden.
+ */
+ SkippableSetting skippableSettings;
+ /**
+ * Settings for the transcodes of video creatives served to this placement. If
+ * this object is provided, the creative-level transcode settings will be
+ * overridden.
+ */
+ TranscodeSetting transcodeSettings;
+
+ VideoSettings();
+
+ VideoSettings.fromJson(core.Map _json) {
+ if (_json.containsKey("companionSettings")) {
+ companionSettings = new CompanionSetting.fromJson(_json["companionSettings"]);
+ }
+ if (_json.containsKey("kind")) {
+ kind = _json["kind"];
+ }
+ if (_json.containsKey("skippableSettings")) {
+ skippableSettings = new SkippableSetting.fromJson(_json["skippableSettings"]);
+ }
+ if (_json.containsKey("transcodeSettings")) {
+ transcodeSettings = new TranscodeSetting.fromJson(_json["transcodeSettings"]);
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (companionSettings != null) {
+ _json["companionSettings"] = (companionSettings).toJson();
+ }
+ if (kind != null) {
+ _json["kind"] = kind;
+ }
+ if (skippableSettings != null) {
+ _json["skippableSettings"] = (skippableSettings).toJson();
+ }
+ if (transcodeSettings != null) {
+ _json["transcodeSettings"] = (transcodeSettings).toJson();
+ }
+ return _json;
+ }
+}
« no previous file with comments | « generated/googleapis/lib/dfareporting/v2_6.dart ('k') | generated/googleapis/lib/doubleclickbidmanager/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698