class Urlchannels extends Resource (View source)

The "urlchannels" collection of methods.

Typical usage is:

 $adsensehostService = new Google\Service\AdSenseHost(...);
 $urlchannels = $adsensehostService->urlchannels;

Methods

delete(string $adClientId, string $urlChannelId, array $optParams = [])

Delete a URL channel from the host AdSense account. (urlchannels.delete)

insert(string $adClientId, UrlChannel $postBody, array $optParams = [])

Add a new URL channel to the host AdSense account. (urlchannels.insert)

listUrlchannels(string $adClientId, array $optParams = [])

List all host URL channels in the host AdSense account.

Details

UrlChannel delete(string $adClientId, string $urlChannelId, array $optParams = [])

Delete a URL channel from the host AdSense account. (urlchannels.delete)

Parameters

string $adClientId

Ad client from which to delete the URL channel.

string $urlChannelId

URL channel to delete.

array $optParams

Optional parameters.

Return Value

UrlChannel

Exceptions

Exception

UrlChannel insert(string $adClientId, UrlChannel $postBody, array $optParams = [])

Add a new URL channel to the host AdSense account. (urlchannels.insert)

Parameters

string $adClientId

Ad client to which the new URL channel will be added.

UrlChannel $postBody
array $optParams

Optional parameters.

Return Value

UrlChannel

Exceptions

Exception

UrlChannels listUrlchannels(string $adClientId, array $optParams = [])

List all host URL channels in the host AdSense account.

(urlchannels.listUrlchannels)

Parameters

string $adClientId

Ad client for which to list URL channels.

array $optParams

Optional parameters.

Return Value

UrlChannels

Exceptions

Exception