Trait

com.google.appsscript.adwords

AdGroupSitelink

Related Doc: package adwords

Permalink

trait AdGroupSitelink extends Object with HasStatistics

Represents a sitelink that has been added to an ad group as an ad sitelink extension. Visit our Ad Extensions page for more information on sitelinks and other types of ad extensions.

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

    Permalink

    Clears the first description line of the ad group-level sitelink description.

    Clears the first description line of the ad group-level sitelink description.

    Returns nothing.

  6. def clearDescription2(): Unit

    Permalink

    Clears the second description line of the ad group-level sitelink description.

    Clears the second description line of the ad group-level sitelink description.

    Returns nothing.

  7. def clearLinkUrl(): Unit

    Permalink

    Clears the link URL of the ad group-level sitelink.

    Clears the link URL of the ad group-level sitelink. To upgrade ad group-level sitelinks to final URL, first clear the link URL, then set the final URL with SitelinkUrls.setFinalUrl .

    Returns nothing.

  8. def clone(): AnyRef

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

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

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

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

    Permalink

    Returns the ad group to which this ad group-level sitelink belongs.

  13. def getCampaign(): Campaign

    Permalink

    Returns the campaign to which this ad group-level sitelink belongs.

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

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

    Permalink

    Returns the first description line of the ad group-level sitelink description.

  16. def getDescription2(): String

    Permalink

    Returns the second description line of the ad group-level sitelink description.

  17. def getEndDate(): AdWordsDate

    Permalink

    Returns the end date of the ad group-level sitelink.

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

  18. def getEntityType(): String

    Permalink

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

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

  19. def getId(): Long

    Permalink

    Returns the ID of the ad group-level sitelink.

  20. def getLinkText(): String

    Permalink

    Returns the link text of the ad group-level sitelink.

  21. def getLinkUrl(): String

    Permalink

    Returns the link URL of the ad group-level sitelink.

    Returns the link URL of the ad group-level sitelink. <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>

  22. def getSchedules(): Array[ExtensionSchedule]

    Permalink

    Returns the scheduling of the ad group-level sitelink.

  23. def getStartDate(): AdWordsDate

    Permalink

    Returns the start date of the ad group-level sitelink.

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

  24. 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
  25. def hasOwnProperty(v: String): Boolean

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

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

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

    Permalink

    Returns true if the ad group-level sitelink specifies mobile device preference.

    Returns true if the ad group-level sitelink specifies mobile device preference.

  29. def isPrototypeOf(v: Object): Boolean

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

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

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

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

    Permalink
    Definition Classes
    Object
  34. def setDescription1(description1: String): Unit

    Permalink

    Sets the first description line of the ad group-level sitelink description.

    Sets the first description line of the ad group-level sitelink description.

    Returns nothing.

  35. def setDescription2(description2: String): Unit

    Permalink

    Sets the second description line of the ad group-level sitelink description.

    Sets the second description line of the ad group-level sitelink description.

    Returns nothing.

  36. def setEndDate(date: AnyRef): Unit

    Permalink

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

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

  37. def setLinkText(linkText: String): Unit

    Permalink

    Sets the link text of the ad group-level sitelink.

    Sets the link text of the ad group-level sitelink.

    Returns nothing.

  38. def setLinkUrl(linkUrl: String): Unit

    Permalink

    Sets the link URL of the ad group-level sitelink.

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

    Returns nothing.

  39. def setMobilePreferred(isMobilePreferred: Boolean): Unit

    Permalink

    Sets the ad group-level sitelink's device preference.

    Sets the ad group-level sitelink's device preference.

    Returns nothing.

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

    Permalink

    Sets the ad group-level sitelink scheduling.

    Sets the ad group-level sitelink scheduling. Scheduling of a ad group-level sitelink allows you to control the days of week and times of day during which the ad group-level sitelink will show alongside your ads.

    Passing in an empty array clears the scheduling field, causing the ad group-level sitelink to run at all times.

    The following example sets the ad group-level sitelink 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
     };
     adGroupSitelink.setSchedules([mondayMorning, tuesdayMorning]);
    

    Returns nothing.

  41. def setStartDate(date: AnyRef): Unit

    Permalink

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

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

    Returns nothing.

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  45. def urls(): SitelinkUrls

    Permalink

    Provides access to the URL fields of this ad group-level sitelink.

    Provides access to the URL fields of this ad group-level sitelink. See Using Upgraded URLs for more information.

  46. def valueOf(): Any

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

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

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