프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$classmap | array | Default class map for wsdl=>php | |
$endpoint | string | The endpoint of the service |
메소드 | 설명 | |
---|---|---|
__construct ( string $wsdl, array $options, $user ) | Constructor using wsdl location and options array | |
get ( $serviceSelector ) : a | This field is required and should not be {@code null}. | |
mutate ( $operations ) : added | This field must not contain {@code null} elements. Elements in this field must have distinct IDs for following {@link Operator}s : SET, REMOVE. This field must contain at least one element. This field is required and should not be {@code null}. The following {@link Operator}s are supported: ADD, SET, REMOVE. | |
mutateLabel ( $operations ) : a | This field must not contain {@code null} elements. Elements in this field must have distinct IDs for following {@link Operator}s : ADD, REMOVE. This field must contain at least one element. This field is required and should not be {@code null}. The following {@link Operator}s are supported: ADD, REMOVE. | |
query ( $query ) | This field is required and should not be {@code null}. |
public __construct ( string $wsdl, array $options, $user ) | ||
$wsdl | string | WSDL location for this service |
$options | array | Options for the SoapClient |
public get ( $serviceSelector ) : a | ||
리턴 | a | page (subset) view of the criteria selected |
public mutate ( $operations ) : added | ||
리턴 | added | and updated adgroup criteria (without optional parts) |
Add - Apply an existing label to an existing {@linkplain AdGroupCriterion ad group criterion}. The {@code adGroupId} and {@code criterionId} must reference an existing {@linkplain AdGroupCriterion ad group criterion}. The {@code labelId} must reference an existing {@linkplain Label label}.
Remove - Removes the link between the specified {@linkplain AdGroupCriterion ad group criterion} and {@linkplain Label label}.
public mutateLabel ( $operations ) : a | ||
리턴 | a | list of AdGroupCriterionLabel where each entry in the list is the result of applying the operation in the input list with the same index. For an add operation, the returned AdGroupCriterionLabel contains the AdGroupId, CriterionId and the LabelId. In the case of a remove operation, the returned AdGroupCriterionLabel will only have AdGroupId and CriterionId. |