Skip to content

Commit f2b779f

Browse files
1 parent 56cfcc0 commit f2b779f

5 files changed

Lines changed: 124 additions & 2 deletions

File tree

src/Dfareporting.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4585,6 +4585,14 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
45854585
'location' => 'query',
45864586
'type' => 'string',
45874587
],
4588+
'countryDartId' => [
4589+
'location' => 'query',
4590+
'type' => 'string',
4591+
],
4592+
'tvDataProvider' => [
4593+
'location' => 'query',
4594+
'type' => 'string',
4595+
],
45884596
],
45894597
],
45904598
]
@@ -4609,10 +4617,18 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
46094617
'location' => 'query',
46104618
'type' => 'string',
46114619
],
4620+
'countryDartId' => [
4621+
'location' => 'query',
4622+
'type' => 'string',
4623+
],
46124624
'name' => [
46134625
'location' => 'query',
46144626
'type' => 'string',
46154627
],
4628+
'tvDataProvider' => [
4629+
'location' => 'query',
4630+
'type' => 'string',
4631+
],
46164632
],
46174633
],
46184634
]

src/Dfareporting/Country.php

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717

1818
namespace Google\Service\Dfareporting;
1919

20-
class Country extends \Google\Model
20+
class Country extends \Google\Collection
2121
{
22+
protected $collection_key = 'tvDataProviders';
2223
/**
2324
* Country code.
2425
*
@@ -51,6 +52,12 @@ class Country extends \Google\Model
5152
* @var bool
5253
*/
5354
public $sslEnabled;
55+
/**
56+
* Output only. The TV data providers supported in this country.
57+
*
58+
* @var string[]
59+
*/
60+
public $tvDataProviders;
5461

5562
/**
5663
* Country code.
@@ -134,6 +141,22 @@ public function getSslEnabled()
134141
{
135142
return $this->sslEnabled;
136143
}
144+
/**
145+
* Output only. The TV data providers supported in this country.
146+
*
147+
* @param string[] $tvDataProviders
148+
*/
149+
public function setTvDataProviders($tvDataProviders)
150+
{
151+
$this->tvDataProviders = $tvDataProviders;
152+
}
153+
/**
154+
* @return string[]
155+
*/
156+
public function getTvDataProviders()
157+
{
158+
return $this->tvDataProviders;
159+
}
137160
}
138161

139162
// Adding a class alias for backwards compatibility with the previous class name.

src/Dfareporting/Resource/TvCampaignDetails.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ class TvCampaignDetails extends \Google\Service\Resource
3939
*
4040
* @opt_param string accountId Required. Account ID associated with this
4141
* request.
42+
* @opt_param string countryDartId Optional. Country Dart ID. If not specified,
43+
* defaults to 256 (US).
44+
* @opt_param string tvDataProvider Optional. TV data provider. If not
45+
* specified, defaults to `COMSCORE_NATIONAL_US`.
4246
* @return TvCampaignDetail
4347
* @throws \Google\Service\Exception
4448
*/

src/Dfareporting/Resource/TvCampaignSummaries.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,12 @@ class TvCampaignSummaries extends \Google\Service\Resource
3939
*
4040
* @opt_param string accountId Required. Account ID associated with this
4141
* request.
42+
* @opt_param string countryDartId Optional. Country Dart ID. If not specified,
43+
* defaults to 256 (US).
4244
* @opt_param string name Required. Search string to filter the list of TV
4345
* campaign summaries. Matches any substring. Required field.
46+
* @opt_param string tvDataProvider Optional. TV data provider. If not
47+
* specified, defaults to `COMSCORE_NATIONAL_US`.
4448
* @return TvCampaignSummariesListResponse
4549
* @throws \Google\Service\Exception
4650
*/

src/Dfareporting/StudioCreative.php

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,26 @@ class StudioCreative extends \Google\Collection
3939
* VPAID linear video creative format.
4040
*/
4141
public const FORMAT_VPAID_LINEAR_VIDEO = 'VPAID_LINEAR_VIDEO';
42+
/**
43+
* In-stream video creative format.
44+
*/
45+
public const FORMAT_INSTREAM_VIDEO = 'INSTREAM_VIDEO';
46+
/**
47+
* The orientation of the studio creative is unknown.
48+
*/
49+
public const ORIENTATION_ORIENTATION_UNKNOWN = 'ORIENTATION_UNKNOWN';
50+
/**
51+
* The asset is a landscape asset.
52+
*/
53+
public const ORIENTATION_ASSET_LANDSCAPE = 'ASSET_LANDSCAPE';
54+
/**
55+
* The asset is a portrait asset.
56+
*/
57+
public const ORIENTATION_ASSET_PORTRAIT = 'ASSET_PORTRAIT';
58+
/**
59+
* The asset is a square asset.
60+
*/
61+
public const ORIENTATION_ASSET_SQUARE = 'ASSET_SQUARE';
4262
/**
4363
* The status of the studio creative is unknown. This value is unused.
4464
*/
@@ -81,6 +101,12 @@ class StudioCreative extends \Google\Collection
81101
protected $createdInfoDataType = '';
82102
protected $dimensionType = StudioCreativeDimension::class;
83103
protected $dimensionDataType = '';
104+
/**
105+
* Optional. Duration of this studio creative in seconds.
106+
*
107+
* @var int
108+
*/
109+
public $durationSeconds;
84110
/**
85111
* Dynamic profile ID of this studio creative.
86112
*
@@ -109,6 +135,16 @@ class StudioCreative extends \Google\Collection
109135
* @var string
110136
*/
111137
public $name;
138+
/**
139+
* Optional. LINT.ThenChange( //depot/google3/ads/richmedia/studio/proto/stubb
140+
* y/creative.proto:orientation,
141+
* //depot/google3/ads/xfa/proto/api/enum.proto:orientation, //depot/google3/j
142+
* ava/com/google/ads/richmedia/studio/domain/model/converter/CreativeConverte
143+
* r.java:orientation ) Orientation of this studio creative.
144+
*
145+
* @var string
146+
*/
147+
public $orientation;
112148
/**
113149
* Output only. Status of this studio creative. It is a read-only field.
114150
*
@@ -204,6 +240,22 @@ public function getDimension()
204240
{
205241
return $this->dimension;
206242
}
243+
/**
244+
* Optional. Duration of this studio creative in seconds.
245+
*
246+
* @param int $durationSeconds
247+
*/
248+
public function setDurationSeconds($durationSeconds)
249+
{
250+
$this->durationSeconds = $durationSeconds;
251+
}
252+
/**
253+
* @return int
254+
*/
255+
public function getDurationSeconds()
256+
{
257+
return $this->durationSeconds;
258+
}
207259
/**
208260
* Dynamic profile ID of this studio creative.
209261
*
@@ -224,7 +276,7 @@ public function getDynamicProfileId()
224276
* Format of this studio creative. This is a required field on insertion.
225277
*
226278
* Accepted values: UNKNOWN, BANNER, EXPANDING, INTERSTITIAL,
227-
* VPAID_LINEAR_VIDEO
279+
* VPAID_LINEAR_VIDEO, INSTREAM_VIDEO
228280
*
229281
* @param self::FORMAT_* $format
230282
*/
@@ -290,6 +342,29 @@ public function getName()
290342
{
291343
return $this->name;
292344
}
345+
/**
346+
* Optional. LINT.ThenChange( //depot/google3/ads/richmedia/studio/proto/stubb
347+
* y/creative.proto:orientation,
348+
* //depot/google3/ads/xfa/proto/api/enum.proto:orientation, //depot/google3/j
349+
* ava/com/google/ads/richmedia/studio/domain/model/converter/CreativeConverte
350+
* r.java:orientation ) Orientation of this studio creative.
351+
*
352+
* Accepted values: ORIENTATION_UNKNOWN, ASSET_LANDSCAPE, ASSET_PORTRAIT,
353+
* ASSET_SQUARE
354+
*
355+
* @param self::ORIENTATION_* $orientation
356+
*/
357+
public function setOrientation($orientation)
358+
{
359+
$this->orientation = $orientation;
360+
}
361+
/**
362+
* @return self::ORIENTATION_*
363+
*/
364+
public function getOrientation()
365+
{
366+
return $this->orientation;
367+
}
293368
/**
294369
* Output only. Status of this studio creative. It is a read-only field.
295370
*

0 commit comments

Comments
 (0)