class Advertisers extends Resource (View source)

The "advertisers" collection of methods.

Typical usage is:

 $dfareportingService = new Google\Service\Dfareporting(...);
 $advertisers = $dfareportingService->advertisers;

Methods

get(string $profileId, string $id, array $optParams = [])

Gets one advertiser by ID. (advertisers.get)

insert(string $profileId, Advertiser $postBody, array $optParams = [])

Inserts a new advertiser. (advertisers.insert)

listAdvertisers(string $profileId, array $optParams = [])

Retrieves a list of advertisers, possibly filtered. This method supports paging. (advertisers.listAdvertisers)

patch(string $profileId, string $id, Advertiser $postBody, array $optParams = [])

Updates an existing advertiser. This method supports patch semantics.

update(string $profileId, Advertiser $postBody, array $optParams = [])

Updates an existing advertiser. (advertisers.update)

Details

Advertiser get(string $profileId, string $id, array $optParams = [])

Gets one advertiser by ID. (advertisers.get)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Advertiser ID.

array $optParams

Optional parameters.

Return Value

Advertiser

Exceptions

Exception

Advertiser insert(string $profileId, Advertiser $postBody, array $optParams = [])

Inserts a new advertiser. (advertisers.insert)

Parameters

string $profileId

User profile ID associated with this request.

Advertiser $postBody
array $optParams

Optional parameters.

Return Value

Advertiser

Exceptions

Exception

AdvertisersListResponse listAdvertisers(string $profileId, array $optParams = [])

Retrieves a list of advertisers, possibly filtered. This method supports paging. (advertisers.listAdvertisers)

Parameters

string $profileId

User profile ID associated with this request.

array $optParams

Optional parameters.

Return Value

AdvertisersListResponse

Exceptions

Exception

Advertiser patch(string $profileId, string $id, Advertiser $postBody, array $optParams = [])

Updates an existing advertiser. This method supports patch semantics.

(advertisers.patch)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Required. Advertiser ID.

Advertiser $postBody
array $optParams

Optional parameters.

Return Value

Advertiser

Exceptions

Exception

Advertiser update(string $profileId, Advertiser $postBody, array $optParams = [])

Updates an existing advertiser. (advertisers.update)

Parameters

string $profileId

User profile ID associated with this request.

Advertiser $postBody
array $optParams

Optional parameters.

Return Value

Advertiser

Exceptions

Exception