PHP Class ContentMetadataKeyHierarchyService, googleads-php-lib

Inheritance: extends DfpSoapClient
Show file Open project: googleads/googleads-php-lib

Public Properties

Property Type Description
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

Public Methods

Method Description
__construct ( string $wsdl, array $options, $user ) Constructor using wsdl location and options array
createContentMetadataKeyHierarchies ( $contentMetadataKeyHierarchies ) : the Creates new {@link ContentMetadataKeyHierarchy} objects.
getContentMetadataKeyHierarchiesByStatement ( $filterStatement ) : the Gets a {@link ContentMetadataKeyHierarchyPage} of {@link ContentMetadataKeyHierarchy} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
performContentMetadataKeyHierarchyAction ( $contentMetadataKeyHierarchyAction, $filterStatement ) : the Performs actions on {@link ContentMetadataKeyHierarchy} objects that match the given {@link Statement#query}.
updateContentMetadataKeyHierarchies ( $contentMetadataKeyHierarchies ) : the Updates the specified {@link ContentMetadataKeyHierarchy} objects.

Method Details

__construct() public method

Constructor using wsdl location and options array
public __construct ( string $wsdl, array $options, $user )
$wsdl string WSDL location for this service
$options array Options for the SoapClient

createContentMetadataKeyHierarchies() public method

The following fields are required:
  • {@link ContentMetadataKeyHierarchy#id}
  • {@link ContentMetadataKeyHierarchy#name}
  • {@link ContentMetadataKeyHierarchy#hierarchyLevels}
public createContentMetadataKeyHierarchies ( $contentMetadataKeyHierarchies ) : the
return the created hierarchies with their IDs filled in

getContentMetadataKeyHierarchiesByStatement() public method

PQL Property Object Property
{@code id} {@link ContentMetadataKeyHierarchy#id}
{@code name} {@link ContentMetadataKeyHierarchy#name}
{@code status} {@link ContentMetadataKeyHierarchy#status}
public getContentMetadataKeyHierarchiesByStatement ( $filterStatement ) : the
return the content metadata key hierarchies that match the given filter

performContentMetadataKeyHierarchyAction() public method

Performs actions on {@link ContentMetadataKeyHierarchy} objects that match the given {@link Statement#query}.
public performContentMetadataKeyHierarchyAction ( $contentMetadataKeyHierarchyAction, $filterStatement ) : the
return the result of the action performed

updateContentMetadataKeyHierarchies() public method

Updates the specified {@link ContentMetadataKeyHierarchy} objects.
public updateContentMetadataKeyHierarchies ( $contentMetadataKeyHierarchies ) : the
return the updated hierarchies

Property Details

$classmap public static property

Default class map for wsdl=>php
public static array $classmap
return array

$endpoint public static property

The endpoint of the service
public static string $endpoint
return string