AdParamService::mutate PHP Метод

mutate() публичный Метод

Sets and removes ad parameters.

Note: {@code ADD} is not supported. Use {@code SET} for new ad parameters.

  • {@code SET}: Creates or updates an ad parameter, setting the new parameterized value for the given ad group / keyword pair.
  • {@code REMOVE}: Removes an ad parameter. The default-value specified in the ad text will be used.
public mutate ( $operations ) : A
Результат A list of ad parameters, where each entry in the list is the result of applying the operation in the input list with the same index. For a {@code SET} operation, the returned ad parameter will contain the updated values. For a {@code REMOVE} operation, the returned ad parameter will simply be the ad parameter that was removed.
        public function mutate($operations)
        {
            $args = new AdParamServiceMutate($operations);
            $result = $this->__soapCall("mutate", array($args));
            return $result->rval;
        }