@@ -160,6 +160,10 @@ public function __construct(Google_Client $client)
160160 'path ' => 'conversion ' ,
161161 'httpMethod ' => 'PUT ' ,
162162 'parameters ' => array (),
163+ ),'updateAvailability ' => array (
164+ 'path ' => 'conversion/updateAvailability ' ,
165+ 'httpMethod ' => 'POST ' ,
166+ 'parameters ' => array (),
163167 ),
164168 )
165169 )
@@ -313,6 +317,20 @@ public function update(Google_Service_Doubleclicksearch_ConversionList $postBody
313317 $ params = array_merge ($ params , $ optParams );
314318 return $ this ->call ('update ' , array ($ params ), "Google_Service_Doubleclicksearch_ConversionList " );
315319 }
320+ /**
321+ * Updates the availabilities of a batch of floodlight activities in DoubleClick
322+ * Search. (conversion.updateAvailability)
323+ *
324+ * @param Google_UpdateAvailabilityRequest $postBody
325+ * @param array $optParams Optional parameters.
326+ * @return Google_Service_Doubleclicksearch_UpdateAvailabilityResponse
327+ */
328+ public function updateAvailability (Google_Service_Doubleclicksearch_UpdateAvailabilityRequest $ postBody , $ optParams = array ())
329+ {
330+ $ params = array ('postBody ' => $ postBody );
331+ $ params = array_merge ($ params , $ optParams );
332+ return $ this ->call ('updateAvailability ' , array ($ params ), "Google_Service_Doubleclicksearch_UpdateAvailabilityResponse " );
333+ }
316334}
317335
318336/**
@@ -386,6 +404,76 @@ public function request(Google_Service_Doubleclicksearch_ReportRequest $postBody
386404
387405
388406
407+ class Google_Service_Doubleclicksearch_Availability extends Google_Model
408+ {
409+ public $ advertiserId ;
410+ public $ agencyId ;
411+ public $ availabilityTimestamp ;
412+ public $ segmentationId ;
413+ public $ segmentationName ;
414+ public $ segmentationType ;
415+
416+ public function setAdvertiserId ($ advertiserId )
417+ {
418+ $ this ->advertiserId = $ advertiserId ;
419+ }
420+
421+ public function getAdvertiserId ()
422+ {
423+ return $ this ->advertiserId ;
424+ }
425+
426+ public function setAgencyId ($ agencyId )
427+ {
428+ $ this ->agencyId = $ agencyId ;
429+ }
430+
431+ public function getAgencyId ()
432+ {
433+ return $ this ->agencyId ;
434+ }
435+
436+ public function setAvailabilityTimestamp ($ availabilityTimestamp )
437+ {
438+ $ this ->availabilityTimestamp = $ availabilityTimestamp ;
439+ }
440+
441+ public function getAvailabilityTimestamp ()
442+ {
443+ return $ this ->availabilityTimestamp ;
444+ }
445+
446+ public function setSegmentationId ($ segmentationId )
447+ {
448+ $ this ->segmentationId = $ segmentationId ;
449+ }
450+
451+ public function getSegmentationId ()
452+ {
453+ return $ this ->segmentationId ;
454+ }
455+
456+ public function setSegmentationName ($ segmentationName )
457+ {
458+ $ this ->segmentationName = $ segmentationName ;
459+ }
460+
461+ public function getSegmentationName ()
462+ {
463+ return $ this ->segmentationName ;
464+ }
465+
466+ public function setSegmentationType ($ segmentationType )
467+ {
468+ $ this ->segmentationType = $ segmentationType ;
469+ }
470+
471+ public function getSegmentationType ()
472+ {
473+ return $ this ->segmentationType ;
474+ }
475+ }
476+
389477class Google_Service_Doubleclicksearch_Conversion extends Google_Collection
390478{
391479 public $ adGroupId ;
@@ -1322,3 +1410,35 @@ public function getStartDate()
13221410 return $ this ->startDate ;
13231411 }
13241412}
1413+
1414+ class Google_Service_Doubleclicksearch_UpdateAvailabilityRequest extends Google_Collection
1415+ {
1416+ protected $ availabilitiesType = 'Google_Service_Doubleclicksearch_Availability ' ;
1417+ protected $ availabilitiesDataType = 'array ' ;
1418+
1419+ public function setAvailabilities ($ availabilities )
1420+ {
1421+ $ this ->availabilities = $ availabilities ;
1422+ }
1423+
1424+ public function getAvailabilities ()
1425+ {
1426+ return $ this ->availabilities ;
1427+ }
1428+ }
1429+
1430+ class Google_Service_Doubleclicksearch_UpdateAvailabilityResponse extends Google_Collection
1431+ {
1432+ protected $ availabilitiesType = 'Google_Service_Doubleclicksearch_Availability ' ;
1433+ protected $ availabilitiesDataType = 'array ' ;
1434+
1435+ public function setAvailabilities ($ availabilities )
1436+ {
1437+ $ this ->availabilities = $ availabilities ;
1438+ }
1439+
1440+ public function getAvailabilities ()
1441+ {
1442+ return $ this ->availabilities ;
1443+ }
1444+ }
0 commit comments