title | description | author | ms.author | ms.service | ms.topic |
---|---|---|---|---|---|
CampaignAudience object |
Contains the methods used to manage a campaign audience association. |
jonmeyers |
jonmeyers |
bing-ads-scripts |
article |
Contains the methods used to manage a campaign audience association.
Method Name | Return Type | Description |
---|---|---|
bidding | AudienceBidding | Gets the methods used to manage this association's bid modifier. |
enable | void | Enables this association. |
getAudienceId | string | Gets the associated audience's ID. |
getCampaign | Campaign | Get this association's campaign. |
getEntityType | string | Gets the entity's type, which is CampaignAudience. |
getId | string | Gets the ID that uniquely identifies this association. |
getName | string | Gets the associated audience's name. |
getStats | Stats | Gets this campaign 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. |
Gets the methods used to manage this association's bid modifier.
Type | Description |
---|---|
AudienceBidding | Contains the methods used to manage an audience's bid modifier. |
Enables this association.
Type | Description |
---|---|
void | Returns nothing. |
Gets the associated audience's ID.
Type | Description |
---|---|
string | The associated audience's ID. |
Get this association's campaign.
Type | Description |
---|---|
Campaign | The association's campaign. |
Returns this entity's type.
Type | Description |
---|---|
string | This entity's type, which is CampaignAudience. |
Gets the ID that uniquely identifies this association.
Type | Description |
---|---|
string | The ID that uniquely identifies this association. |
Gets the audience's name.
Type | Description |
---|---|
string | The audience's name. |
Gets this campaign audience's performance data.
To call this method, you must include one of the forDateRange
methods in the campaign audience selector's chain.
Type | Description |
---|---|
Stats | The campaign audience's performance data. |
Gets a Boolean value that indicates whether this association is enabled.
Type | Description |
---|---|
Boolean | Is true if this association is enabled; otherwise, false. |
Gets a Boolean value that indicates whether this association is paused.
Type | Description |
---|---|
Boolean | Is true if this association is paused; otherwise, false. |
Pauses this association.
Type | Description |
---|---|
void | Returns nothing. |
Removes this association.
Type | Description |
---|---|
void | Returns nothing. |