class AdvertisersAdGroups extends Resource (View source)

The "adGroups" collection of methods.

Typical usage is:

 $displayvideoService = new Google\Service\DisplayVideo(...);
 $adGroups = $displayvideoService->advertisers_adGroups;

Methods

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

Lists assigned targeting options for multiple ad groups across targeting types. Inherited assigned targeting options are not included.

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

Gets an ad group. (adGroups.get)

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

Lists ad groups. (adGroups.listAdvertisersAdGroups)

Details

BulkListAdGroupAssignedTargetingOptionsResponse bulkListAdGroupAssignedTargetingOptions(string $advertiserId, array $optParams = [])

Lists assigned targeting options for multiple ad groups across targeting types. Inherited assigned targeting options are not included.

(adGroups.bulkListAdGroupAssignedTargetingOptions)

Parameters

string $advertiserId

Required. The ID of the advertiser the line items belongs to.

array $optParams

Optional parameters.

Return Value

BulkListAdGroupAssignedTargetingOptionsResponse

Exceptions

Exception

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

Gets an ad group. (adGroups.get)

Parameters

string $advertiserId

Required. The ID of the advertiser this ad group belongs to.

string $adGroupId

Required. The ID of the ad group to fetch.

array $optParams

Optional parameters.

Return Value

AdGroup

Exceptions

Exception

ListAdGroupsResponse listAdvertisersAdGroups(string $advertiserId, array $optParams = [])

Lists ad groups. (adGroups.listAdvertisersAdGroups)

Parameters

string $advertiserId

Required. The ID of the advertiser the ad groups belongs to.

array $optParams

Optional parameters.

Return Value

ListAdGroupsResponse

Exceptions

Exception