GoogleApiAdsAdWords
[ class tree: GoogleApiAdsAdWords ] [ index: GoogleApiAdsAdWords ] [ all elements ]

Class: Ad

Source Location: /AdWords/v201008/cm/BulkMutateJobService.php

Class Overview


The base class of all ad types. To update basic ad fields (such as #status), you can construct an {@code Ad} object (instead of the ad's concrete type) with the appropriate fields set.


Variables

Methods


Child classes:

DeprecatedAd
Represents a deprecated ad.
ImageAd
Represents an ImageAd.
LocalBusinessAd
Represents Legacy Local Business Ad
MobileAd
Represents a mobile ad.
MobileImageAd
Represents a mobile image ad.
ProductAd
Represents a product ad (known as a <a href=
RichMediaAd
Data associated with a rich media ad.
TemplateAd
Represents a <a href=
TextAd
Represents a TextAd.

Class Details

[line 38]
The base class of all ad types. To update basic ad fields (such as #status), you can construct an {@code Ad} object (instead of the ad's concrete type) with the appropriate fields set.



[ Top ]


Class Variables

$AdType =

[line 79]



Tags:

access:  public

Type:   string


[ Top ]

$approvalStatus =

[line 61]



Tags:

access:  public

Type:   tnsAdApprovalStatus


[ Top ]

$disapprovalReasons =

[line 67]



Tags:

access:  public

Type:   string[]


[ Top ]

$displayUrl =

[line 55]



Tags:

access:  public

Type:   string


[ Top ]

$id =

[line 43]



Tags:

access:  public

Type:   integer


[ Top ]

$trademarkDisapproved =

[line 73]



Tags:

access:  public

Type:   boolean


[ Top ]

$url =

[line 49]



Tags:

access:  public

Type:   string


[ Top ]



Class Methods


constructor __construct [line 129]

Ad __construct( [ $id = NULL], [ $url = NULL], [ $displayUrl = NULL], [ $approvalStatus = NULL], [ $disapprovalReasons = NULL], [ $trademarkDisapproved = NULL], [ $AdType = NULL])



Tags:

access:  public


Overridden in child classes as:

DeprecatedAd::__construct()
ImageAd::__construct()
LocalBusinessAd::__construct()
MobileAd::__construct()
MobileImageAd::__construct()
ProductAd::__construct()
RichMediaAd::__construct()
ThirdPartyRedirectAd::__construct()
TemplateAd::__construct()
TextAd::__construct()

Parameters:

   $id  
   $url  
   $displayUrl  
   $approvalStatus  
   $disapprovalReasons  
   $trademarkDisapproved  
   $AdType  

[ Top ]

method getNamespace [line 117]

the getNamespace( )

Gets the namesapce of this class



Tags:

return:  namespace of this class
access:  public


Overridden in child classes as:

DeprecatedAd::getNamespace()
Gets the namesapce of this class
ImageAd::getNamespace()
Gets the namesapce of this class
LocalBusinessAd::getNamespace()
Gets the namesapce of this class
MobileAd::getNamespace()
Gets the namesapce of this class
MobileImageAd::getNamespace()
Gets the namesapce of this class
ProductAd::getNamespace()
Gets the namesapce of this class
RichMediaAd::getNamespace()
Gets the namesapce of this class
ThirdPartyRedirectAd::getNamespace()
Gets the namesapce of this class
TemplateAd::getNamespace()
Gets the namesapce of this class
TextAd::getNamespace()
Gets the namesapce of this class

[ Top ]

method getParameterMap [line 109]

array getParameterMap( )

Provided for getting non-php-standard named variables



Tags:

return:  parameter map
access:  protected


[ Top ]

method getXsiTypeName [line 125]

the getXsiTypeName( )

Gets the xsi:type name of this class



Tags:

return:  xsi:type name of this class
access:  public


Overridden in child classes as:

DeprecatedAd::getXsiTypeName()
Gets the xsi:type name of this class
ImageAd::getXsiTypeName()
Gets the xsi:type name of this class
LocalBusinessAd::getXsiTypeName()
Gets the xsi:type name of this class
MobileAd::getXsiTypeName()
Gets the xsi:type name of this class
MobileImageAd::getXsiTypeName()
Gets the xsi:type name of this class
ProductAd::getXsiTypeName()
Gets the xsi:type name of this class
RichMediaAd::getXsiTypeName()
Gets the xsi:type name of this class
ThirdPartyRedirectAd::getXsiTypeName()
Gets the xsi:type name of this class
TemplateAd::getXsiTypeName()
Gets the xsi:type name of this class
TextAd::getXsiTypeName()
Gets the xsi:type name of this class

[ Top ]

method __get [line 97]

mixed __get( $var $var)

Provided for getting non-php-standard named variables



Tags:

return:  Variable value
access:  public


Parameters:

$var   $var   Variable name to get.

[ Top ]

method __set [line 90]

void __set( $var $var, $value $value)

Provided for setting non-php-standard named variables



Tags:

access:  public


Parameters:

$var   $var   Variable name to set
$value   $value   Value to set

[ Top ]


Documentation generated by phpDocumentor 1.4.3