Trait

com.google.appsscript.adwords

MobileApp

Related Doc: package adwords

Permalink

trait MobileApp extends Object with HasStatistics

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

Annotations
@RawJSType()
Linear Supertypes
HasStatistics, Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MobileApp
  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 clearLinkUrl(): Unit

    Permalink

    Clears the link URL of the mobile app.

    Clears the link URL of the mobile app. To upgrade mobile apps to final URL, first clear the link URL, then set the final URL with MobileAppUrls.setFinalUrl .

    Returns nothing.

  6. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getAppId(): String

    Permalink

    Returns the application store-specific ID of the mobile app.

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

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

    Permalink

    Returns the end date of the mobile app.

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

  13. def getEntityType(): String

    Permalink

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

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

  14. def getId(): Long

    Permalink

    Returns the ID of the mobile app.

  15. def getLinkText(): String

    Permalink

    Returns the link text of the mobile app.

  16. def getLinkUrl(): String

    Permalink

    Returns the link URL of the mobile app.

    Returns the link URL of the mobile app. <aside class="warning"> Deprecated. This method is deprecated. Link 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>

  17. def getSchedules(): Array[ExtensionSchedule]

    Permalink

    Returns the scheduling of the mobile app.

  18. def getStartDate(): AdWordsDate

    Permalink

    Returns the start date of the mobile app.

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

  19. 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
  20. def getStore(): String

    Permalink

    Returns the application store to which the application belongs.

    Returns the application store to which the application belongs. Possible return values: "iOS", "Android" .

  21. def hasOwnProperty(v: String): Boolean

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

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

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

    Permalink

    Returns true if the mobile app specifies mobile device preference.

    Returns true if the mobile app specifies mobile device preference.

  25. def isPrototypeOf(v: Object): Boolean

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

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

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

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

    Permalink
    Definition Classes
    Object
  30. def setAppId(appId: String): Unit

    Permalink

    Sets the application store-specific ID of the mobile app.

    Sets the application store-specific ID of the mobile app.

    Returns nothing.

  31. def setEndDate(date: AnyRef): Unit

    Permalink

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

    Sets the mobile app's end date from either an object containing year, month, and day fields, or an 8-digit string in YYYYMMDD format. For instance, mobileApp.setEndDate("20130503"); is equivalent to mobileApp.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.

  32. def setLinkText(linkText: String): Unit

    Permalink

    Sets the link text of the mobile app.

    Sets the link text of the mobile app.

    Returns nothing.

  33. def setLinkUrl(linkUrl: String): Unit

    Permalink

    Sets the link URL of the mobile app.

    Sets the link URL of the mobile app. <aside class="warning"> Deprecated. This method will be sunset when link URLs become read-only on July 1, 2015. Please use MobileAppUrls.setFinalUrl instead. See Using Upgraded URLs for more information. </aside>

    Returns nothing.

  34. def setMobilePreferred(isMobilePreferred: Boolean): Unit

    Permalink

    Sets the mobile app's device preference.

    Sets the mobile app's device preference.

    Returns nothing.

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

    Permalink

    Sets the mobile app scheduling.

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

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

    The following example sets the mobile app 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
     };
     mobileApp.setSchedules([mondayMorning, tuesdayMorning]);
    

    Returns nothing.

  36. def setStartDate(date: AnyRef): Unit

    Permalink

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

    Sets the mobile app's start date from either an object containing year, month, and day fields, or an 8-digit string in YYYYMMDD format. For instance, mobileApp.setStartDate("20130503"); is equivalent to mobileApp.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 mobile app's end date.

    Returns nothing.

  37. def setStore(store: String): Unit

    Permalink

    Sets the application store to which the application belongs.

    Sets the application store to which the application belongs. Possible parameter values: "iOS", "Android" .

    Returns nothing.

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  41. def urls(): MobileAppUrls

    Permalink

    Provides access to the URL fields of this mobile app.

    Provides access to the URL fields of this mobile app. See Using upgraded URLs for more information.

  42. def valueOf(): Any

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

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

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