Class AdWordCountryTargets

Description

AdWords Lib AdWordCountryTargets Class

Manages CountryTargets data type.

Located in /classes/AdWordCountryTargets.inc

AdWordObject
   |
   --AdWordCountryTargets
Method Summary
 void addCountry (string $name)
 void removeCountry (string $name)
Methods

Adds a Country to this AdWordCountryTargets

Example:

  1.  <?php
  2.  $obj new AdWordCountryTargets();
  3.  $obj->addCountry('US');
  4.  ?>

void addCountry (string $name)
  • string $name: the country code

Removes a Country from this AdWordCountryTargets

Example:

  1.  <?php
  2.  $obj new AdWordCountryTargets();
  3.  $obj->addCountry('US');
  4.  $obj->removeCountry('US');
  5.  ?>

void removeCountry (string $name)
  • string $name: the country code

Inherited Methods

Inherited From AdWordObject

 AdWordObject::AdWordObject()
 AdWordObject::get()
 AdWordObject::getRow()
 AdWordObject::getXML()
 AdWordObject::isEmpty()
 AdWordObject::remove()
 AdWordObject::set()
 AdWordObject::setRow()

Documentation generated on Mon, 10 Sep 2007 15:07:17 +0300 by phpDocumentor 1.3.2