class AdvertisersLocationLists extends Resource (View source)

The "locationLists" collection of methods.

Typical usage is:

 $displayvideoService = new Google\Service\DisplayVideo(...);
 $locationLists = $displayvideoService->advertisers_locationLists;

Methods

create(string $advertiserId, LocationList $postBody, array $optParams = [])

Creates a new location list. Returns the newly created location list if successful. (locationLists.create)

get(string $advertiserId, string $locationListId, array $optParams = [])

Gets a location list. (locationLists.get)

listAdvertisersLocationLists(string $advertiserId, array $optParams = [])

Lists location lists based on a given advertiser id.

patch(string $advertiserId, string $locationListId, LocationList $postBody, array $optParams = [])

Updates a location list. Returns the updated location list if successful.

Details

LocationList create(string $advertiserId, LocationList $postBody, array $optParams = [])

Creates a new location list. Returns the newly created location list if successful. (locationLists.create)

Parameters

string $advertiserId

Required. The ID of the DV360 advertiser to which the location list belongs.

LocationList $postBody
array $optParams

Optional parameters.

Return Value

LocationList

Exceptions

Exception

LocationList get(string $advertiserId, string $locationListId, array $optParams = [])

Gets a location list. (locationLists.get)

Parameters

string $advertiserId

Required. The ID of the DV360 advertiser to which the fetched location list belongs.

string $locationListId

Required. The ID of the location list to fetch.

array $optParams

Optional parameters.

Return Value

LocationList

Exceptions

Exception

ListLocationListsResponse listAdvertisersLocationLists(string $advertiserId, array $optParams = [])

Lists location lists based on a given advertiser id.

(locationLists.listAdvertisersLocationLists)

Parameters

string $advertiserId

Required. The ID of the DV360 advertiser to which the fetched location lists belong.

array $optParams

Optional parameters.

Return Value

ListLocationListsResponse

Exceptions

Exception

LocationList patch(string $advertiserId, string $locationListId, LocationList $postBody, array $optParams = [])

Updates a location list. Returns the updated location list if successful.

(locationLists.patch)

Parameters

string $advertiserId

Required. The ID of the DV360 advertiser to which the location lists belongs.

string $locationListId

Output only. The unique ID of the location list. Assigned by the system.

LocationList $postBody
array $optParams

Optional parameters.

Return Value

LocationList

Exceptions

Exception