The account ID to get agencies for
Get Agencies
Returns a list of all the available agencies for a given account.
Query Parameters
Response
application/json
Response
Successful Response
AgencyResponse
List of agencies
Show Child Parameters
Show Child Parameters
Authentication
Query Parameters
Get Campaign
Retrieve a list of campaigns from the Media Platform. Read more about Campaigns in our Media Platform Learning Center.
Query Parameters
The advertiser ID to get campaigns for
Type for this campaign
Allowed values:PLATOACAROUSEL
The offset of the page to return
Default:0
The number of results per page
Default:10
Response
application/json
Response
Successful Response
ListResponse[Campaign]
List of single response data.
Show Child Parameters
Show Child Parameters
Authentication
Query Parameters
Create A Campaign
Creates a PLA or Carousel campaign in the Media Platform. A campaign is an organized strategy used to achieve specific, actionable goals like: providing information to customers, building brand awareness, promoting a new product, or convincing customers to make a purchase. Read more about Campaigns in ourMedia Platform Learning Center.
Body
application/json
Body
CampaignRequest
The campaign name.
Allowed values:DRAFTSCHEDULEDACTIVEENDEDPAUSED
The start date of the campaign. Format: YYYY-MM-DD
Match pattern:\d{4}-\d{2}-\d{2}
Any OfThe end date of the campaign. Must be after start date. If null the campaign is considered “always-on”. Cannot be null if budget type is LIFETIME
Default:
Match pattern:\d{4}-\d{2}-\d{2}
The total budget of the campaign. The sum of all the budgets from the ad group(s) may not exceed this number.
>= 1
Allowed values:DAILYWEEKLYMONTHLYLIFETIME
Allowed values:EVENASAPAHEAD
Id from the Account entity.
Ids from the Advertiser entities associated with the account.
Any OfInsertion order number for this campaign.
Any OfPurchase order number for this campaign.
Any OfNotes that the advertiser wants to notify the billing department.
Id from the Contact entity associated with the account.
Id from the Address entity associated with the account.
Any OfType for this campaign.
Default:PLA
Allowed values:PLATOACAROUSEL
Goals data associated with the campaign.
Show Child Parameters
Response
application/json
Response
Sample success response
SingleResponse[Campaign]
Any OfData of the response.
Show Child Parameters
Show Child Parameters
Authentication
Body
Get Campaign By Id
Get a campaign from the Media Platform by ID. Read more about Campaigns in our Media Platform Learning Center.
Query Parameters
If true, returns the ad groups associated with this campaign as an array.
Default:false
Path Parameters
Response
application/json
Response
Successful Response
SingleResponse[Campaign]
Any OfData of the response.
Show Child Parameters
Show Child Parameters
Authentication
Path Parameters
Query Parameters
Update Campaign
Update a campaign in the Media Platform. Read more about Campaigns in our Media Platform Learning Center.
Path Parameters
Body
application/json
Body
CampaignPutRequest
The campaign name.
Any OfThe status of the campaign. Can not be changed at the same time as endDate. To cancel a scheduled campaign, set the status to PAUSE and set the end date to match the start date.
Allowed values:DRAFTSCHEDULEDACTIVEENDEDPAUSED
Any OfThe start date of the campaign. Can only be changed when status is DRAFT. Can not be changed at the same time as status. Format: YYYY-MM-DD
Match pattern:\d{4}-\d{2}-\d{2}
Any OfThe end date of the campaign. Must be after start date. A live campaign can be stopped by setting end date to today’s date. If null the campaign is considered “always-on”. Cannot be null if budget type is LIFETIME
Default:
Match pattern:\d{4}-\d{2}-\d{2}
The total budget of the campaign. The sum of all the budgets from the ad group(s) may not exceed this number.
>= 1
Any OfThe type of budget. Can only be changed when status is DRAFT.
Allowed values:DAILYWEEKLYMONTHLYLIFETIME
Allowed values:EVENASAPAHEAD
Any OfInsertion order number for this campaign. Can only be changed when status is DRAFT.
Any OfPurchase order number for this campaign. Can only be changed when status is DRAFT.
Any OfNotes that the advertiser wants to notify the billing department.
Goals to be updated.
Show Child Parameters
Response
application/json
Response
Successful Response
SingleResponse[Campaign]
Any OfData of the response.