Skip to content

Commit 060f581

Browse files
1 parent 2e75d3e commit 060f581

4 files changed

Lines changed: 75 additions & 55 deletions

File tree

src/DisplayVideo/AdGroup.php

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -83,48 +83,49 @@ class AdGroup extends \Google\Model
8383
*/
8484
public const ENTITY_STATUS_ENTITY_STATUS_SCHEDULED_FOR_DELETION = 'ENTITY_STATUS_SCHEDULED_FOR_DELETION';
8585
/**
86-
* The format of the ads in the ad group.
86+
* Required. The format of the ads in the ad group.
8787
*
8888
* @var string
8989
*/
9090
public $adGroupFormat;
9191
/**
92-
* The unique ID of the ad group. Assigned by the system.
92+
* Output only. The unique ID of the ad group. Assigned by the system.
9393
*
9494
* @var string
9595
*/
9696
public $adGroupId;
9797
/**
98-
* The unique ID of the advertiser the ad group belongs to.
98+
* Output only. The unique ID of the advertiser the ad group belongs to.
9999
*
100100
* @var string
101101
*/
102102
public $advertiserId;
103103
protected $bidStrategyType = BiddingStrategy::class;
104104
protected $bidStrategyDataType = '';
105105
/**
106-
* The display name of the ad group. Must be UTF-8 encoded with a maximum size
107-
* of 255 bytes.
106+
* Required. The display name of the ad group. Must be UTF-8 encoded with a
107+
* maximum size of 255 bytes.
108108
*
109109
* @var string
110110
*/
111111
public $displayName;
112112
/**
113-
* Controls whether or not the ad group can spend its budget and bid on
114-
* inventory. If the ad group's parent line item is not active, the ad group
115-
* can't spend its budget even if its own status is `ENTITY_STATUS_ACTIVE`.
113+
* Required. Controls whether or not the ad group can spend its budget and bid
114+
* on inventory. If the ad group's parent line item is not active, the ad
115+
* group can't spend its budget even if its own status is
116+
* `ENTITY_STATUS_ACTIVE`.
116117
*
117118
* @var string
118119
*/
119120
public $entityStatus;
120121
/**
121-
* The unique ID of the line item that the ad group belongs to.
122+
* Required. The unique ID of the line item that the ad group belongs to.
122123
*
123124
* @var string
124125
*/
125126
public $lineItemId;
126127
/**
127-
* The resource name of the ad group.
128+
* Output only. Identifier. The resource name of the ad group.
128129
*
129130
* @var string
130131
*/
@@ -135,7 +136,7 @@ class AdGroup extends \Google\Model
135136
protected $targetingExpansionDataType = '';
136137

137138
/**
138-
* The format of the ads in the ad group.
139+
* Required. The format of the ads in the ad group.
139140
*
140141
* Accepted values: AD_GROUP_FORMAT_UNSPECIFIED, AD_GROUP_FORMAT_IN_STREAM,
141142
* AD_GROUP_FORMAT_VIDEO_DISCOVERY, AD_GROUP_FORMAT_BUMPER,
@@ -156,7 +157,7 @@ public function getAdGroupFormat()
156157
return $this->adGroupFormat;
157158
}
158159
/**
159-
* The unique ID of the ad group. Assigned by the system.
160+
* Output only. The unique ID of the ad group. Assigned by the system.
160161
*
161162
* @param string $adGroupId
162163
*/
@@ -172,7 +173,7 @@ public function getAdGroupId()
172173
return $this->adGroupId;
173174
}
174175
/**
175-
* The unique ID of the advertiser the ad group belongs to.
176+
* Output only. The unique ID of the advertiser the ad group belongs to.
176177
*
177178
* @param string $advertiserId
178179
*/
@@ -188,8 +189,9 @@ public function getAdvertiserId()
188189
return $this->advertiserId;
189190
}
190191
/**
191-
* The bidding strategy used by the ad group. Only the youtubeAndPartnersBid
192-
* field can be used in the bidding strategy.
192+
* Optional. The bidding strategy used by the ad group. Only the
193+
* youtubeAndPartnersBid and demandGenBid field can be used in the bidding
194+
* strategy.
193195
*
194196
* @param BiddingStrategy $bidStrategy
195197
*/
@@ -205,8 +207,8 @@ public function getBidStrategy()
205207
return $this->bidStrategy;
206208
}
207209
/**
208-
* The display name of the ad group. Must be UTF-8 encoded with a maximum size
209-
* of 255 bytes.
210+
* Required. The display name of the ad group. Must be UTF-8 encoded with a
211+
* maximum size of 255 bytes.
210212
*
211213
* @param string $displayName
212214
*/
@@ -222,9 +224,10 @@ public function getDisplayName()
222224
return $this->displayName;
223225
}
224226
/**
225-
* Controls whether or not the ad group can spend its budget and bid on
226-
* inventory. If the ad group's parent line item is not active, the ad group
227-
* can't spend its budget even if its own status is `ENTITY_STATUS_ACTIVE`.
227+
* Required. Controls whether or not the ad group can spend its budget and bid
228+
* on inventory. If the ad group's parent line item is not active, the ad
229+
* group can't spend its budget even if its own status is
230+
* `ENTITY_STATUS_ACTIVE`.
228231
*
229232
* Accepted values: ENTITY_STATUS_UNSPECIFIED, ENTITY_STATUS_ACTIVE,
230233
* ENTITY_STATUS_ARCHIVED, ENTITY_STATUS_DRAFT, ENTITY_STATUS_PAUSED,
@@ -244,7 +247,7 @@ public function getEntityStatus()
244247
return $this->entityStatus;
245248
}
246249
/**
247-
* The unique ID of the line item that the ad group belongs to.
250+
* Required. The unique ID of the line item that the ad group belongs to.
248251
*
249252
* @param string $lineItemId
250253
*/
@@ -260,7 +263,7 @@ public function getLineItemId()
260263
return $this->lineItemId;
261264
}
262265
/**
263-
* The resource name of the ad group.
266+
* Output only. Identifier. The resource name of the ad group.
264267
*
265268
* @param string $name
266269
*/
@@ -276,7 +279,7 @@ public function getName()
276279
return $this->name;
277280
}
278281
/**
279-
* The settings of the product feed in this ad group.
282+
* Optional. The settings of the product feed in this ad group.
280283
*
281284
* @param ProductFeedData $productFeedData
282285
*/
@@ -292,7 +295,7 @@ public function getProductFeedData()
292295
return $this->productFeedData;
293296
}
294297
/**
295-
* The [optimized
298+
* Optional. The [optimized
296299
* targeting](//support.google.com/displayvideo/answer/12060859) settings of
297300
* the ad group.
298301
*

src/DisplayVideo/AdGroupAd.php

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,7 @@ class AdGroupAd extends \Google\Collection
5252
*/
5353
public $adGroupAdId;
5454
/**
55-
* The unique ID of the ad group that the ad belongs to. *Caution*: Parent ad
56-
* groups for Demand Gen ads are not currently retrieveable using
57-
* `advertisers.adGroups.list` or `advertisers.adGroups.get`. Demand Gen ads
58-
* can be identified by the absence of the `ad_details` union field.
55+
* Required. The unique ID of the ad group that the ad belongs to.
5956
*
6057
* @var string
6158
*/
@@ -75,16 +72,16 @@ class AdGroupAd extends \Google\Collection
7572
protected $bumperAdType = BumperAd::class;
7673
protected $bumperAdDataType = '';
7774
/**
78-
* The display name of the ad. Must be UTF-8 encoded with a maximum size of
79-
* 255 bytes.
75+
* Required. The display name of the ad. Must be UTF-8 encoded with a maximum
76+
* size of 255 bytes.
8077
*
8178
* @var string
8279
*/
8380
public $displayName;
8481
protected $displayVideoSourceAdType = DisplayVideoSourceAd::class;
8582
protected $displayVideoSourceAdDataType = '';
8683
/**
87-
* The entity status of the ad.
84+
* Required. The entity status of the ad.
8885
*
8986
* @var string
9087
*/
@@ -123,10 +120,7 @@ public function getAdGroupAdId()
123120
return $this->adGroupAdId;
124121
}
125122
/**
126-
* The unique ID of the ad group that the ad belongs to. *Caution*: Parent ad
127-
* groups for Demand Gen ads are not currently retrieveable using
128-
* `advertisers.adGroups.list` or `advertisers.adGroups.get`. Demand Gen ads
129-
* can be identified by the absence of the `ad_details` union field.
123+
* Required. The unique ID of the ad group that the ad belongs to.
130124
*
131125
* @param string $adGroupId
132126
*/
@@ -158,7 +152,7 @@ public function getAdPolicy()
158152
return $this->adPolicy;
159153
}
160154
/**
161-
* List of URLs used by the ad.
155+
* Output only. List of URLs used by the ad.
162156
*
163157
* @param AdUrl[] $adUrls
164158
*/
@@ -190,8 +184,9 @@ public function getAdvertiserId()
190184
return $this->advertiserId;
191185
}
192186
/**
193-
* Details of an [audio ad](//support.google.com/displayvideo/answer/6274216)
194-
* used for reach marketing objectives.
187+
* Output only. Details of an [audio
188+
* ad](//support.google.com/displayvideo/answer/6274216) used for reach
189+
* marketing objectives.
195190
*
196191
* @param AudioAd $audioAd
197192
*/
@@ -207,7 +202,7 @@ public function getAudioAd()
207202
return $this->audioAd;
208203
}
209204
/**
210-
* Details of a [non-skippable short video
205+
* Output only. Details of a [non-skippable short video
211206
* ad](//support.google.com/displayvideo/answer/6274216), equal to or less
212207
* than 6 seconds, used for reach.
213208
*
@@ -225,8 +220,8 @@ public function getBumperAd()
225220
return $this->bumperAd;
226221
}
227222
/**
228-
* The display name of the ad. Must be UTF-8 encoded with a maximum size of
229-
* 255 bytes.
223+
* Required. The display name of the ad. Must be UTF-8 encoded with a maximum
224+
* size of 255 bytes.
230225
*
231226
* @param string $displayName
232227
*/
@@ -242,7 +237,7 @@ public function getDisplayName()
242237
return $this->displayName;
243238
}
244239
/**
245-
* Details of an ad sourced from a Display & Video 360 creative.
240+
* Output only. Details of an ad sourced from a Display & Video 360 creative.
246241
*
247242
* @param DisplayVideoSourceAd $displayVideoSourceAd
248243
*/
@@ -258,7 +253,7 @@ public function getDisplayVideoSourceAd()
258253
return $this->displayVideoSourceAd;
259254
}
260255
/**
261-
* The entity status of the ad.
256+
* Required. The entity status of the ad.
262257
*
263258
* Accepted values: ENTITY_STATUS_UNSPECIFIED, ENTITY_STATUS_ACTIVE,
264259
* ENTITY_STATUS_ARCHIVED, ENTITY_STATUS_DRAFT, ENTITY_STATUS_PAUSED,
@@ -278,7 +273,7 @@ public function getEntityStatus()
278273
return $this->entityStatus;
279274
}
280275
/**
281-
* Details of an [in-stream ad skippable after 5
276+
* Output only. Details of an [in-stream ad skippable after 5
282277
* seconds](//support.google.com/displayvideo/answer/6274216), used for brand
283278
* awareness or reach marketing objectives.
284279
*
@@ -296,7 +291,7 @@ public function getInStreamAd()
296291
return $this->inStreamAd;
297292
}
298293
/**
299-
* Details of an [ad served on the YouTube Home
294+
* Output only. Details of an [ad served on the YouTube Home
300295
* feed](//support.google.com/google-ads/answer/9709826).
301296
*
302297
* @param MastheadAd $mastheadAd
@@ -329,7 +324,7 @@ public function getName()
329324
return $this->name;
330325
}
331326
/**
332-
* Details of a [non-skippable short in-stream video
327+
* Output only. Details of a [non-skippable short in-stream video
333328
* ad](//support.google.com/displayvideo/answer/6274216), between 6 and 15
334329
* seconds, used for reach marketing objectives.
335330
*
@@ -347,7 +342,7 @@ public function getNonSkippableAd()
347342
return $this->nonSkippableAd;
348343
}
349344
/**
350-
* Details of an [ad promoting a
345+
* Output only. Details of an [ad promoting a
351346
* video](//support.google.com/displayvideo/answer/6274216) that shows in
352347
* places of discovery.
353348
*
@@ -365,7 +360,7 @@ public function getVideoDiscoverAd()
365360
return $this->videoDiscoverAd;
366361
}
367362
/**
368-
* Details of an [ad used in a video action
363+
* Output only. Details of an [ad used in a video action
369364
* campaign](//support.google.com/google-ads/answer/10147229) to drive actions
370365
* to the business, service or product.
371366
*

src/DisplayVideo/ImageAsset.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@
2020
class ImageAsset extends \Google\Model
2121
{
2222
/**
23-
* File size of the image asset in bytes.
23+
* Output only. File size of the image asset in bytes.
2424
*
2525
* @var string
2626
*/
2727
public $fileSize;
2828
protected $fullSizeType = Dimensions::class;
2929
protected $fullSizeDataType = '';
3030
/**
31-
* MIME type of the image asset.
31+
* Output only. MIME type of the image asset.
3232
*
3333
* @var string
3434
*/
3535
public $mimeType;
3636

3737
/**
38-
* File size of the image asset in bytes.
38+
* Output only. File size of the image asset in bytes.
3939
*
4040
* @param string $fileSize
4141
*/
@@ -51,7 +51,7 @@ public function getFileSize()
5151
return $this->fileSize;
5252
}
5353
/**
54-
* Metadata for this image at its original size.
54+
* Output only. Metadata for this image at its original size.
5555
*
5656
* @param Dimensions $fullSize
5757
*/
@@ -67,7 +67,7 @@ public function getFullSize()
6767
return $this->fullSize;
6868
}
6969
/**
70-
* MIME type of the image asset.
70+
* Output only. MIME type of the image asset.
7171
*
7272
* @param string $mimeType
7373
*/

0 commit comments

Comments
 (0)