class PretargetingConfig extends Resource (View source)

The "pretargetingConfig" collection of methods.

Typical usage is:

 $adexchangebuyerService = new Google\Service\AdExchangeBuyer(...);
 $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;

Methods

delete(string $accountId, string $configId, array $optParams = [])

Deletes an existing pretargeting config. (pretargetingConfig.delete)

get(string $accountId, string $configId, array $optParams = [])

Gets a specific pretargeting configuration (pretargetingConfig.get)

insert(string $accountId, PretargetingConfig $postBody, array $optParams = [])

Inserts a new pretargeting configuration. (pretargetingConfig.insert)

listPretargetingConfig(string $accountId, array $optParams = [])

Retrieves a list of the authenticated user's pretargeting configurations.

patch(string $accountId, string $configId, PretargetingConfig $postBody, array $optParams = [])

Updates an existing pretargeting config. This method supports patch semantics. (pretargetingConfig.patch)

update(string $accountId, string $configId, PretargetingConfig $postBody, array $optParams = [])

Updates an existing pretargeting config. (pretargetingConfig.update)

Details

delete(string $accountId, string $configId, array $optParams = [])

Deletes an existing pretargeting config. (pretargetingConfig.delete)

Parameters

string $accountId

The account id to delete the pretargeting config for.

string $configId

The specific id of the configuration to delete.

array $optParams

Optional parameters.

PretargetingConfig get(string $accountId, string $configId, array $optParams = [])

Gets a specific pretargeting configuration (pretargetingConfig.get)

Parameters

string $accountId

The account id to get the pretargeting config for.

string $configId

The specific id of the configuration to retrieve.

array $optParams

Optional parameters.

Return Value

PretargetingConfig

PretargetingConfig insert(string $accountId, PretargetingConfig $postBody, array $optParams = [])

Inserts a new pretargeting configuration. (pretargetingConfig.insert)

Parameters

string $accountId

The account id to insert the pretargeting config for.

PretargetingConfig $postBody
array $optParams

Optional parameters.

Return Value

PretargetingConfig

PretargetingConfigList listPretargetingConfig(string $accountId, array $optParams = [])

Retrieves a list of the authenticated user's pretargeting configurations.

(pretargetingConfig.listPretargetingConfig)

Parameters

string $accountId

The account id to get the pretargeting configs for.

array $optParams

Optional parameters.

Return Value

PretargetingConfigList

PretargetingConfig patch(string $accountId, string $configId, PretargetingConfig $postBody, array $optParams = [])

Updates an existing pretargeting config. This method supports patch semantics. (pretargetingConfig.patch)

Parameters

string $accountId

The account id to update the pretargeting config for.

string $configId

The specific id of the configuration to update.

PretargetingConfig $postBody
array $optParams

Optional parameters.

Return Value

PretargetingConfig

PretargetingConfig update(string $accountId, string $configId, PretargetingConfig $postBody, array $optParams = [])

Updates an existing pretargeting config. (pretargetingConfig.update)

Parameters

string $accountId

The account id to update the pretargeting config for.

string $configId

The specific id of the configuration to update.

PretargetingConfig $postBody
array $optParams

Optional parameters.

Return Value

PretargetingConfig