Creates a selector of all ad params in the ad group.
Adds a callout to this ad group.
Adds a callout to this ad group. See also Extensions.newCalloutBuilder()
Adds a mobile app to this ad group.
Adds a mobile app to this ad group. See also Extensions.newMobileAppBuilder()
Adds a phone number to this ad group.
Adds a phone number to this ad group. See also Extensions.newPhoneNumberBuilder()
Adds a review to this ad group.
Adds a review to this ad group. See also Extensions.newReviewBuilder()
Adds a sitelink to this ad group.
Adds a sitelink to this ad group. See also Extensions.newSitelinkBuilder()
Returns the selector of all ads in the ad group.
Applies a label to the ad group.
Applies a label to the ad group.
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 group cannot not have more than 50 labels.
Returns nothing.
Provides access to this ad group's bidding fields.
Clears the mobile bid modifier for this ad group.
Clears the mobile bid modifier for this ad group. By clearing this value, the ad group will use its campaign's mobile bid modifier (if one is set).
For more information about bid modifiers, please see the AdWords Help Center article.
Returns nothing.
Creates a new negative keyword with the specified text.
Creates a new negative keyword with the specified text. Match type for the new negative keyword is specified as follows:
createNegativeKeyword("shoes")
- broad match.createNegativeKeyword("\"shoes\"")
- phrase match.createNegativeKeyword("[leather shoes]")
- exact match.Returns nothing.
Provides access to this ad group's display criteria: Audience , ExcludedAudience , DisplayKeyword , ExcludedDisplayKeyword , Placement , ExcludedPlacement , Topic , and ExcludedTopic .
Provides access to this ad group's display criteria: Audience , ExcludedAudience , DisplayKeyword , ExcludedDisplayKeyword , Placement , ExcludedPlacement , Topic , and ExcludedTopic .
Enables the ad group.
Enables the ad group.
Returns nothing.
Provides access to this ad group's extensions: AdGroupCallout , AdGroupMobileApp , AdGroupPhoneNumber , AdGroupReview , and AdGroupSitelink .
Provides access to this ad group's extensions: AdGroupCallout , AdGroupMobileApp , AdGroupPhoneNumber , AdGroupReview , and AdGroupSitelink .
Returns the campaign to which this ad group belongs.
Returns the type of this entity as a
String
, in this case,
"AdGroup"
.
Returns the type of this entity as a
String
, in this case,
"AdGroup"
.
Returns the ID of the ad group.
Returns the mobile bid modifier for this ad group.
Returns the mobile bid modifier for this ad group.
The bid modifier is a multiplier applied to the ad group's bids on mobile devices. So, for instance, a bid modifier of 1.1
increases the bid to 110% of its original value, and changes a bid of $5.00 to $5.50.
Note that when you set a mobile bid modifier at both campaign- and ad group-level in a single campaign, the ad group mobile bid modifier will be used when determining your bid UNLESS the campaign mobile bid modifier is set to -1 (i.e. -100%) which will opt the entire campaign out of mobile regardless of any ad group mobile bid modifiers that may have been set.
For more information about bid modifiers, please see the AdWords Help Center article.
Returns the name of the ad group.
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.
Returns
true
if the ad group is enabled.
Returns
true
if the ad group is enabled.
Returns
true
if the ad group is paused.
Returns
true
if the ad group is paused.
Returns
true
if the ad group is removed.
Returns
true
if the ad group is removed.
Returns the selector of all keywords in the ad group.
Creates a selector of all labels applied to the ad group.
Returns a selector of all negative keywords in the ad group.
Returns a new keyword builder associated with this ad group.
Returns a new ad builder associated with this ad group.
Pauses the ad group.
Pauses the ad group.
Returns nothing.
Removes a callout extension from this ad group.
Removes a callout extension from this ad group.
Returns nothing.
Removes a label from the ad group.
Removes a label from the ad group.
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.
Removes a mobile app extension from this ad group.
Removes a mobile app extension from this ad group.
Returns nothing.
Removes a phone number extension from this ad group.
Removes a phone number extension from this ad group.
Returns nothing.
Removes a review extension from this ad group.
Removes a review extension from this ad group.
Returns nothing.
Removes a sitelink extension from this ad group.
Removes a sitelink extension from this ad group.
Returns nothing.
Sets the mobile bid modifier for this ad group to the specified value.
Sets the mobile bid modifier for this ad group to the specified value.
The bid modifier is a multiplier applied to the ad group's bids on mobile devices. So, for instance, a bid modifier of 1.1
increases the bid to 110% of its original value, and changes a bid of $5.00 to $5.50.
The operation will fail if the ad group's campaign has a mobile bid modifier of -1 (i.e. -100%). Setting a campaign mobile bid modifier to -1 will opt the entire campaign out of mobile.
Note that when you set a mobile bid modifier at both campaign- and ad group-level in a single campaign, the ad group mobile bid modifier will be used when determining your bid UNLESS the campaign mobile bid modifier is set to -1 (i.e. -100%) which will opt the entire campaign out of mobile regardless of any ad group mobile bid modifiers that may be set.
For more information about bid modifiers, please see the AdWords Help Center article.
Returns nothing.
Sets the name of the ad group.
Sets the name of the ad group.
Returns nothing.
Provides access to this ad group's URL fields.
Provides access to this ad group's URL fields. See Using Upgraded URLs for more information.
Represents an AdWords ad group.