Class awCampaignService

Description

AdWords Lib Campaign Service Class

Use this service to manage campaigns. A {@linkplain Campaign campaign} organizes one or more ad groups together and has its own budget, bidding strategy, serving date range, and targeting settings (managed using <a href="CampaignTargetService.html">CampaignTargetService</a>). You can also set up campaign-wide negative criteria (using <a href="CampaignCriterionService.html">CampaignCriterionService</a>) and campaign-wide ad extensions (using <a href="CampaignAdExtensionService.html">CampaignAdExtensionService</a>).

Located in /services/CampaignService.php

awService
   |
   --awCampaignService
Variable Summary
Method Summary
 A get (awSelector $selector)
 The mutate (operations $campaignOperations)
Variables
Methods

Returns the list of campaigns that meet the selector criteria.

A get (awSelector $selector)
  • serviceSelector $selector: the selector specifying the Campaigns to return.

Adds, updates, or deletes campaigns.

<p class="note">Note: CampaignOperation does not support the

  1. REMOVE
operator. To delete a campaign, set its status to
  1. DELETED
.</p>

The mutate (operations $campaignOperations)
  • operations $campaignOperations: A list of unique operations. The same campaign cannot be specified in more than one operation.

Inherited Methods

Inherited From awService

 awService::__construct()
 awService::callService()
 awService::checkArray()
 awService::checkArrayOf()
 awService::checkObjectOf()
 awService::getAuthToken()
 awService::getClientCustomerId()
 awService::getClientEmail()
 awService::getDeveloperToken()
 awService::getPartialFailure()
 awService::getResponseHeaders()
 awService::getServiceHeaders()
 awService::getServiceName()
 awService::getServiceUrl()
 awService::getSoapClient()
 awService::getUserAgent()
 awService::getValidateOnly()
 awService::isUsingSandbox()
 awService::returnResponseAsArrayOf()
 awService::returnResponseAsObjectOf()
 awService::setAuthToken()
 awService::setClientCustomerId()
 awService::setClientEmail()
 awService::setDeveloperToken()
 awService::setPartialFailure()
 awService::setServiceHeaders()
 awService::setUserAgent()
 awService::setValidateOnly()
 awService::useSandbox()

Documentation generated on Fri, 23 Mar 2012 13:43:51 +0200 by phpDocumentor 1.4.3