PHP Class ActivityService, googleads-php-lib

Author: ConstantContact
Inheritance: extends BaseService
Datei anzeigen Open project: googleads/googleads-php-lib Class Usage Examples

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
createActivities ( $activities ) : the Creates a new {@link Activity} objects.
getActivitiesByStatement ( $filterStatement ) : the Gets an {@link ActivityPage} of {@link Activity} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
updateActivities ( $activities ) : the Updates the specified {@link Activity} 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

createActivities() public method

Creates a new {@link Activity} objects.
public createActivities ( $activities ) : the
return the created activities with its IDs filled in.

getActivitiesByStatement() public method

PQL Property Object Property
{@code id} {@link Activity#id}
{@code name} {@link Activity#name}
{@code expectedURL} {@link Activity#expectedURL}
{@code status} {@link Activity#status}
{@code activityGroupId} {@link Activity#activityGroupId}
public getActivitiesByStatement ( $filterStatement ) : the
return the activities that match the given filter.

updateActivities() public method

Updates the specified {@link Activity} objects.
public updateActivities ( $activities ) : the
return the updated activities.

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