PHP Class CreativeWrapperService, googleads-php-lib

Inheritance: extends DfpSoapClient
显示文件 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
createCreativeWrappers ( $creativeWrappers ) : the Creates a new {@code CreativeWrapper} objects.
getCreativeWrappersByStatement ( $filterStatement ) : the Gets a {@link CreativeWrapperPage} of {@link CreativeWrapper} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
performCreativeWrapperAction ( $creativeWrapperAction, $filterStatement ) : the Performs actions on {@link CreativeWrapper} objects that match the given {@link Statement#query}.
updateCreativeWrappers ( $creativeWrappers ) : the Updates the specified {@code CreativeWrapper} 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

createCreativeWrappers() public method

The following fields are required:
  • {@link CreativeWrapper#labelId}
  • {@link CreativeWrapper#ordering}
  • {@link CreativeWrapper#header} or {@link CreativeWrapper#footer}
public createCreativeWrappers ( $creativeWrappers ) : the
return the creative wrappers with their IDs filled in

getCreativeWrappersByStatement() public method

PQL Property Object Property
{@code id} {@link CreativeWrapper#id}
{@code labelId} {@link CreativeWrapper#labelId}
{@code status} {@link CreativeWrapper#status}
{@code ordering} {@link CreativeWrapper#ordering}
public getCreativeWrappersByStatement ( $filterStatement ) : the
return the creative wrappers that match the given filter

performCreativeWrapperAction() public method

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

updateCreativeWrappers() public method

Updates the specified {@code CreativeWrapper} objects.
public updateCreativeWrappers ( $creativeWrappers ) : the
return the updated creative wrapper objects

Property Details

$classmap public_oe static_oe property

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

$endpoint public_oe static_oe property

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