Trait

com.google.appsscript.adwords

Callout

Related Doc: package adwords

Permalink

trait Callout extends Object with HasStatistics

Represents a callout that can be part of an ad callout extension. Visit our Ad Extensions page for more information on callouts and other types of ad extensions.

Annotations
@RawJSType()
Linear Supertypes
HasStatistics, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Callout
  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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getEndDate(): AdWordsDate

    Permalink

    Returns the end date of the callout.

    Returns the end date of the callout. For instance, if the end date of the callout is May 3, 2013, this would return the following object: {year: 2013, month: 5, day: 3} .

  11. def getEntityType(): String

    Permalink

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

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

  12. def getId(): Long

    Permalink

    Returns the ID of the callout.

  13. def getSchedules(): Array[ExtensionSchedule]

    Permalink

    Returns the scheduling of the callout.

  14. def getStartDate(): AdWordsDate

    Permalink

    Returns the start date of the callout.

    Returns the start date of the callout. For instance, if the start date of the callout is May 3, 2013, this would return the following object: {year: 2013, month: 5, day: 3} .

  15. 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
  16. def getText(): String

    Permalink

    Returns the text of the callout.

  17. def hasOwnProperty(v: String): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Returns true if the callout specifies mobile device preference.

    Returns true if the callout specifies mobile device preference.

  21. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  26. def setEndDate(date: AnyRef): Unit

    Permalink

    Sets the callout's end date from either an object containing year, month, and day fields, or an 8-digit string in YYYYMMDD format.

    Sets the callout's end date from either an object containing year, month, and day fields, or an 8-digit string in YYYYMMDD format. For instance, callout.setEndDate("20130503"); is equivalent to callout.setEndDate({year: 2013, month: 5, day: 3}); . The change will fail and report an error if:

    • the given date is invalid (e.g., {year: 2013, month: 5, day: 55}),
    • the start date now comes after the end date, or
    • it's a date in the past.

    Returns nothing.

  27. def setMobilePreferred(isMobilePreferred: Boolean): Unit

    Permalink

    Sets the callout's device preference.

    Sets the callout's device preference.

    Returns nothing.

  28. def setSchedules(schedules: Array[ExtensionSchedule]): Unit

    Permalink

    Sets the callout scheduling.

    Sets the callout scheduling. Scheduling of a callout allows you to control the days of week and times of day during which the callout will show alongside your ads.

    Passing in an empty array clears the scheduling field, causing the callout to run at all times.

    The following example sets the callout to run on Mondays and Tuesday from 8:00 to 11:00.

     var mondayMorning = {
       dayOfWeek: "MONDAY",
       startHour: 8,
       startMinute: 0,
       endHour: 11,
       endMinute: 0
     };
     var tuesdayMorning = {
       dayOfWeek: "TUESDAY",
       startHour: 8,
       startMinute: 0,
       endHour: 11,
       endMinute: 0
     };
     callout.setSchedules([mondayMorning, tuesdayMorning]);
    

    Returns nothing.

  29. def setStartDate(date: AnyRef): Unit

    Permalink

    Sets the callout's start date from either an object containing year, month, and day fields, or an 8-digit string in YYYYMMDD format.

    Sets the callout's start date from either an object containing year, month, and day fields, or an 8-digit string in YYYYMMDD format. For instance, callout.setStartDate("20130503"); is equivalent to callout.setStartDate({year: 2013, month: 5, day: 3}); . The change will fail and report an error if:

    • the given date is invalid (e.g., {year: 2013, month: 5, day: 55}),
    • the given date is after the callout's end date.

    Returns nothing.

  30. def setText(text: String): Unit

    Permalink

    Sets the text of the callout.

    Sets the text of the callout.

    Returns nothing.

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. def valueOf(): Any

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. 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