GET api/AdsCampaign/GetAdsCampaign
Request Information
URI Parameters
None.
Body Parameters
AdsCampaign| Name | Description | Type | Additional information |
|---|---|---|---|
| AdCampaignId | integer |
None. |
|
| AdsAccountId | integer |
None. |
|
| PlatformCampaignId | string |
None. |
|
| CampaignName | string |
None. |
|
| Objective | string |
None. |
|
| Budget | decimal number |
None. |
|
| LifetimeBudget | decimal number |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| BuyingType | string |
None. |
|
| Status | string |
None. |
|
| CreatedSource | integer |
None. |
|
| UserId | integer |
None. |
|
| AdsAcc | AdsAccount |
None. |
|
| CreatedTime | date |
None. |
|
| BidStrategy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AdCampaignId": 1,
"AdsAccountId": 2,
"PlatformCampaignId": "sample string 3",
"CampaignName": "sample string 4",
"Objective": "sample string 5",
"Budget": 1.0,
"LifetimeBudget": 1.0,
"StartDate": "2026-11-01T14:44:17.0955227+05:30",
"EndDate": "2026-11-01T14:44:17.0955227+05:30",
"BuyingType": "sample string 6",
"Status": "sample string 7",
"CreatedSource": 8,
"UserId": 9,
"AdsAcc": {
"AdsAccountId": 1,
"AdsPlatformId": 2,
"AccountName": "sample string 3",
"AccountIdentifier": "sample string 4",
"AccessToken": "sample string 5",
"RefreshToken": "sample string 6",
"PlatformName": "sample string 14"
},
"CreatedTime": "2026-11-01T14:44:17.0955227+05:30",
"BidStrategy": "sample string 16"
}
application/xml, text/xml
Sample:
<AdsCampaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PingPromos.BE.Ads">
<AdCampaignId>1</AdCampaignId>
<AddedBy>sample string 12</AddedBy>
<AddedTime>2026-11-01T14:44:17.0955227+05:30</AddedTime>
<AdsAcc>
<AccessToken>sample string 5</AccessToken>
<AccountIdentifier>sample string 4</AccountIdentifier>
<AccountName>sample string 3</AccountName>
<AddedBy>sample string 10</AddedBy>
<AddedTime>2026-11-01T14:44:17.0955227+05:30</AddedTime>
<AdsAccountId>1</AdsAccountId>
<AdsPlatformId>2</AdsPlatformId>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<PlatformName>sample string 14</PlatformName>
<RefreshToken>sample string 6</RefreshToken>
<UpdatedBy>sample string 11</UpdatedBy>
<UpdatedTime>2026-11-01T14:44:17.0955227+05:30</UpdatedTime>
<UserId>7</UserId>
</AdsAcc>
<AdsAccountId>2</AdsAccountId>
<BidStrategy>sample string 16</BidStrategy>
<Budget>1</Budget>
<BuyingType>sample string 6</BuyingType>
<CampaignName>sample string 4</CampaignName>
<CreatedSource>8</CreatedSource>
<CreatedTime>2026-11-01T14:44:17.0955227+05:30</CreatedTime>
<EndDate>2026-11-01T14:44:17.0955227+05:30</EndDate>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<LifetimeBudget>1</LifetimeBudget>
<Objective>sample string 5</Objective>
<PlatformCampaignId>sample string 3</PlatformCampaignId>
<StartDate>2026-11-01T14:44:17.0955227+05:30</StartDate>
<Status>sample string 7</Status>
<UpdatedBy>sample string 13</UpdatedBy>
<UpdatedTime>2026-11-01T14:44:17.0955227+05:30</UpdatedTime>
<UserId>9</UserId>
</AdsCampaign>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.