Skip to content

Commit c7c4f5d

Browse files
1 parent 72b8681 commit c7c4f5d

File tree

4 files changed

+14
-83
lines changed

4 files changed

+14
-83
lines changed

src/Dfareporting/DynamicProfileGenerateCodeResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
class DynamicProfileGenerateCodeResponse extends \Google\Model
2121
{
2222
/**
23-
* Generated code for the dynamic profile.
23+
* Generated code for the dynamic profile. The code will need to be unescaped.
2424
*
2525
* @var string
2626
*/
2727
public $code;
2828

2929
/**
30-
* Generated code for the dynamic profile.
30+
* Generated code for the dynamic profile. The code will need to be unescaped.
3131
*
3232
* @param string $code
3333
*/

src/Dfareporting/Resource/DynamicFeeds.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ public function insert(DynamicFeedsInsertRequest $postBody, $optParams = [])
5959
return $this->call('insert', [$params], DynamicFeed::class);
6060
}
6161
/**
62-
* Retransforms a dynamic feed. (dynamicFeeds.retransform)
62+
* Retransforms a dynamic feed. Only draft feeds can be retransformed (i.e. the
63+
* feed has not been published). (dynamicFeeds.retransform)
6364
*
6465
* @param string $dynamicFeedId Required. Dynamic feed ID.
6566
* @param array $optParams Optional parameters.
@@ -73,7 +74,9 @@ public function retransform($dynamicFeedId, $optParams = [])
7374
return $this->call('retransform', [$params], DynamicFeed::class);
7475
}
7576
/**
76-
* Updates a new dynamic feed. (dynamicFeeds.update)
77+
* Updates a new dynamic feed. For draft feeds, only Element can be updated. For
78+
* published feeds, only FeedSchedule can be updated. Other fields will be
79+
* ignored. (dynamicFeeds.update)
7780
*
7881
* @param DynamicFeed $postBody
7982
* @param array $optParams Optional parameters.

src/Dfareporting/Resource/DynamicProfiles.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
class DynamicProfiles extends \Google\Service\Resource
3232
{
3333
/**
34-
* Generates code for a dynamic profile. (dynamicProfiles.generateCode)
34+
* Generates code for a dynamic profile, which will need unescaping.
35+
* (dynamicProfiles.generateCode)
3536
*
3637
* @param string $dynamicProfileId Required. Dynamic profile ID.
3738
* @param array $optParams Optional parameters.

src/Dfareporting/StudioCreative.php

Lines changed: 5 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -39,26 +39,6 @@ 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';
6242
/**
6343
* The status of the studio creative is unknown. This value is unused.
6444
*/
@@ -92,7 +72,8 @@ class StudioCreative extends \Google\Collection
9272
*/
9373
public $assetIds;
9474
/**
95-
* Backup image asset ID of this studio creative.
75+
* Backup image asset ID of this studio creative. It is a required field on
76+
* insertion.
9677
*
9778
* @var string
9879
*/
@@ -101,12 +82,6 @@ class StudioCreative extends \Google\Collection
10182
protected $createdInfoDataType = '';
10283
protected $dimensionType = StudioCreativeDimension::class;
10384
protected $dimensionDataType = '';
104-
/**
105-
* Optional. Duration of this studio creative in seconds.
106-
*
107-
* @var int
108-
*/
109-
public $durationSeconds;
11085
/**
11186
* Dynamic profile ID of this studio creative.
11287
*
@@ -135,16 +110,6 @@ class StudioCreative extends \Google\Collection
135110
* @var string
136111
*/
137112
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;
148113
/**
149114
* Output only. Status of this studio creative. It is a read-only field.
150115
*
@@ -191,7 +156,8 @@ public function getAssetIds()
191156
return $this->assetIds;
192157
}
193158
/**
194-
* Backup image asset ID of this studio creative.
159+
* Backup image asset ID of this studio creative. It is a required field on
160+
* insertion.
195161
*
196162
* @param string $backupImageAssetId
197163
*/
@@ -240,22 +206,6 @@ public function getDimension()
240206
{
241207
return $this->dimension;
242208
}
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-
}
259209
/**
260210
* Dynamic profile ID of this studio creative.
261211
*
@@ -276,7 +226,7 @@ public function getDynamicProfileId()
276226
* Format of this studio creative. This is a required field on insertion.
277227
*
278228
* Accepted values: UNKNOWN, BANNER, EXPANDING, INTERSTITIAL,
279-
* VPAID_LINEAR_VIDEO, INSTREAM_VIDEO
229+
* VPAID_LINEAR_VIDEO
280230
*
281231
* @param self::FORMAT_* $format
282232
*/
@@ -342,29 +292,6 @@ public function getName()
342292
{
343293
return $this->name;
344294
}
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-
}
368295
/**
369296
* Output only. Status of this studio creative. It is a read-only field.
370297
*

0 commit comments

Comments
 (0)