Trait

com.google.appsscript.adwords

Ad

Related Doc: package adwords

Permalink

trait Ad extends Object with HasStatistics

Represents an AdWords ad.

Annotations
@RawJSType()
Linear Supertypes
HasStatistics, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ad
  2. HasStatistics
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def applyLabel(name: String): Unit

    Permalink

    Applies a label to the ad.

    Applies a label to the ad. name of the label is case-sensitive. Operation will fail if the label with the specified name does not already exist in the account.

    Note that the ad cannot not have more than 50 labels.

    Returns nothing.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def enable(): Unit

    Permalink

    Enables the ad.

    Enables the ad.

    Returns nothing.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getAdGroup(): AdGroup

    Permalink

    Returns the ad group to which this ad belongs.

  12. def getApprovalStatus(): String

    Permalink

    Returns the approval status of the ad.

    Returns the approval status of the ad. Possible values: APPROVED, DISAPPROVED, FAMILY_SAFE, NON_FAMILY_SAFE, PORN, UNCHECKED .

  13. def getCampaign(): Campaign

    Permalink

    Returns the campaign to which this ad belongs.

  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getDescription1(): String

    Permalink

    Returns the first line of the ad description.

    Returns the first line of the ad description. May return null for some types of ads.

  16. def getDescription2(): String

    Permalink

    Returns the second line of the ad description.

    Returns the second line of the ad description. May return null for some types of ads.

  17. def getDestinationUrl(): String

    Permalink

    Returns the destination URL of the ad.

    Returns the destination URL of the ad. <aside class="warning"> Deprecated. This method is deprecated. Destination URLs will become read-only on July 1, 2015. We recommend that you upgrade to using final URLs instead. See Using Upgraded URLs for more information. </aside>

  18. def getDisapprovalReasons(): Array[String]

    Permalink

    Returns the array of disapproval reasons.

    Returns the array of disapproval reasons.

    The returned array will contain entries like 'Editorial Standards-Spacing', 'Inaccurate Display URL', etc. An empty array will be returned if the ad has not been disapproved.

  19. def getDisplayUrl(): String

    Permalink

    Returns the display URL of the ad.

    Returns the display URL of the ad. May return null for some types of ads.

  20. def getEntityType(): String

    Permalink

    Returns the type of this entity as a String , in this case, "Ad" .

    Returns the type of this entity as a String , in this case, "Ad" .

  21. def getHeadline(): String

    Permalink

    Returns the headline of the ad.

    Returns the headline of the ad. May return null for some types of ads.

  22. def getId(): Long

    Permalink

    Returns the ID of the ad.

    Returns the ID of the ad.

    Ad IDs may be shared across ad groups. In order to uniquely identify one ad, one must specify both its ad group ID and its creative ID.

  23. def getStatsFor(dateFrom: AnyRef, dateTo: AnyRef): Stats

    Permalink

    Returns stats for the specified custom date range.

    Returns stats for the specified custom date range. Both parameters can be either an object containing year, month, and day fields, or an 8-digit string in YYYYMMDD form. For instance, March 24th, 2013 is represented as either {year: 2013, month: 3, day: 24} or "20130324" . The date range is inclusive on both ends, so forDateRange("20130324", "20130324") defines a range of a single day.

    Definition Classes
    HasStatistics
  24. def getType(): String

    Permalink

    Returns the type of the ad.

    Returns the type of the ad. Possible values: IMAGE_AD, MOBILE_AD, MOBILE_IMAGE_AD, PRODUCT_AD, RICH_MEDIA_AD, TEMPLATE_AD, TEXT_AD .

  25. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. def isEnabled(): Boolean

    Permalink

    Returns true if the ad is enabled.

    Returns true if the ad is enabled.

  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def isMobilePreferred(): Boolean

    Permalink

    Returns true if the ad specifies mobile device preference or false otherwise.

    Returns true if the ad specifies mobile device preference or false otherwise.

  30. def isPaused(): Boolean

    Permalink

    Returns true if the ad is paused.

    Returns true if the ad is paused.

  31. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  32. def labels(): LabelSelector

    Permalink

    Creates a selector of all labels applied to the ad.

  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. def pause(): Unit

    Permalink

    Pauses the ad.

    Pauses the ad.

    Returns nothing.

  37. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  38. def remove(): Unit

    Permalink

    Removes the ad.

    Removes the ad.

    Returns nothing.

  39. def removeLabel(name: String): Unit

    Permalink

    Removes a label from the ad.

    Removes a label from the ad. name of the label is case-sensitive. Operation will fail if the label with the specified name does not already exist in the account.

    Returns nothing.

  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. def urls(): AdUrls

    Permalink

    Provides access to this ad's URL fields.

    Provides access to this ad's URL fields. See Using Upgraded URLs for more information.

  44. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  45. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HasStatistics

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped