PHP Class CreativeService, googleads-php-lib

Inheritance: extends DfpSoapClient
Mostrar archivo 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
createCreatives ( $creatives ) : the Creates new {@link Creative} objects.
getCreativesByStatement ( $filterStatement ) : the Gets a {@link CreativePage} of {@link Creative} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
updateCreatives ( $creatives ) : the Updates the specified {@link Creative} 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

createCreatives() public method

Creates new {@link Creative} objects.
public createCreatives ( $creatives ) : the
return the created creatives with their IDs filled in

getCreativesByStatement() public method

PQL Property Object Property
{@code id} {@link Creative#id}
{@code name} {@link Creative#name}
{@code advertiserId} {@link Creative#advertiserId}
{@code width} {@link Creative#size}
{@code height} {@link Creative#size}
{@code lastModifiedDateTime} {@link Creative#lastModifiedDateTime}
public getCreativesByStatement ( $filterStatement ) : the
return the creatives that match the given filter

updateCreatives() public method

Updates the specified {@link Creative} objects.
public updateCreatives ( $creatives ) : the
return the updated creatives

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