Contains the methods used to manage an ad group audience association.
Methods
| Method Name | Return Type | Description |
|---|---|---|
| bidding | AudienceBidding | Gets the methods used to manage this association's bid modifier. |
| enable | void | Enables this association. |
| getAdGroup | AdGroup | Get this association's ad group. |
| getAudienceId | string | Gets the associated audience's ID. |
| getCampaign | Campaign | Gets the campaign that contains this association's ad group. |
| getEntityType | string | Gets the entity's type, which is AdGroupAudience. |
| getId | string | Gets the ID that uniquely identifies this association. |
| getName | string | Gets the associated audience's name. |
| getStats | Stats | Gets this ad group audience's performance data. |
| isEnabled | Boolean | Gets a Boolean value that indicates whether this association is enabled. |
| isPaused | Boolean | Gets a Boolean value that indicates whether this association is paused. |
| pause | void | Pauses this association. |
| remove | void | Removes this association. |
bidding
Gets the methods used to manage this association's bid modifier.
Returns
| Type | Description |
|---|---|
| AudienceBidding | Contains the methods used to manage an audience's bid modifier. |
enable
Enables this association.
Returns
| Type | Description |
|---|---|
| void | Returns nothing. |
getAdGroup
Gets this association's ad group.
Returns
| Type | Description |
|---|---|
| AdGroup | The association's ad group. |
getAudienceId
Gets the associated audience's ID.
Returns
| Type | Description |
|---|---|
| string | The associated audience's ID. |
getCampaign
Get the campaign that contains this association's ad group.
Returns
| Type | Description |
|---|---|
| Campaign | The campaign that contains this association's ad group. |
getEntityType
Returns this entity's type.
Returns
| Type | Description |
|---|---|
| string | This entity's type, which is AdGroupAudience. |
getId
Gets the ID that uniquely identifies this association.
Returns
| Type | Description |
|---|---|
| string | The ID that uniquely identifies this association. |
getName
Gets the audience's name.
Returns
| Type | Description |
|---|---|
| string | The audience's name. |
getStats
Gets this ad group audience's performance data.
To call this method, you must include one of the forDateRange methods in the ad group audience selector's chain.
Returns
| Type | Description |
|---|---|
| Stats | The ad group audience's performance data. |
isEnabled
Gets a Boolean value that indicates whether this association is enabled.
Returns
| Type | Description |
|---|---|
| Boolean | Is true if this association is enabled; otherwise, false. |
isPaused
Gets a Boolean value that indicates whether this association is paused.
Returns
| Type | Description |
|---|---|
| Boolean | Is true if this association is paused; otherwise, false. |
pause
Pauses this association.
Returns
| Type | Description |
|---|---|
| void | Returns nothing. |
remove
Removes this association.
Returns
| Type | Description |
|---|---|
| void | Returns nothing. |