class Campaign extends Service (View source)

Properties

protected string $where Where Condition from Service
protected string $orderBy Order By clause from Service
protected string $limit Limit clause from Service
protected mixed $session from Service
protected AdWordsServices $adWordsServices from Service
protected $service from Service
protected $fields from Service

Methods

__construct(AdWordsSession $session = null)

Service constructor.

$this
orderBy($field)

No description

from Service
$this
limit(int $number, int $offset)

No description

from Service
$this
select($fields)

Set the fields to retrieve

from Service
$this
where($condition)

Set where condition

from Service
get(array $fields = [])

Get all items.

from Service
mixed
getService()

Get the Google service.

from Service

Details

__construct(AdWordsSession $session = null)

Service constructor.

Parameters

AdWordsSession $session

$this orderBy($field)

Parameters

$field

Return Value

$this

$this limit(int $number, int $offset)

Parameters

int $number
int $offset

Return Value

$this

$this select($fields)

Set the fields to retrieve

Parameters

$fields

Return Value

$this

$this where($condition)

Set where condition

Parameters

$condition

Return Value

$this

ServiceCollection get(array $fields = [])

Get all items.

Parameters

array $fields

Return Value

ServiceCollection E.g. => Campaign | AdGroup | AdGroupAd | ...

mixed getService()

Get the Google service.

Return Value

mixed