Campaign - Get (v2)

Returns one campaign. The campaign must exist, not be deleted, and belong to the advertiser and member group in the path, otherwise the response is 404. Requires the advertiser_campaign_management read permission, the same as v1 (campaignid).

What is different from v1, from the code:

  • There is no currency_code query parameter, so the budget is always returned in the advertiser's currency; v1 can convert it.
  • Properties are renamed and flattened: campaign_id (v1 id), is_always_on (always_on), is_frequency_capping_enabled (enable_frequency_capping), pacing_type (pacing), a flat budget number plus budget_type (v1 budget object), primary_goal_type and primary_goal_value (v1 primary_goal object), extension (v1 integration_extension). status is capitalized (for example Active) where v1 returns the lowercase name.
  • insertion_order is always an object holding insertion_order_id and line_item_id (0 when there is none) and has no purchase_order_number; v1 returns null when there is no association.
  • metadata is always returned; v1 returns it only when the ad group metadata feature is on.
  • Added: member_group_id, hidden, label_ids, integrations, budget_extension_enabled, budget_extension_campaigns and parent_campaign_id.
  • Not returned: media_strategy_id, publisher_id, experience_id, secondary_goal, campaign_review, media_plans_id, bid_type and offsite_activation_strategy.

start_date and end_date use the format YYYY-MM-DD HH:MM:SS in the advertiser's timezone.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns one campaign by ID. The campaign must belong to the advertiser and member group in the path. Requires the advertiser_campaign_management read permission.

This version flattens and renames several properties compared with v1, returns the status capitalized, has no currency_code query parameter, always returns an insertion_order object, and adds hidden, label_ids, integrations and the budget extension fields. It no longer returns media_strategy_id, publisher_id, experience_id, secondary_goal, campaign_review, media_plans_id or bid_type.

Inputs

Field Type Description Required
memberGroupId integer The member group id (provided by Koddi) Yes
advertiserId integer The advertiser ID Yes
campaignId integer The campaign ID Yes

Response

The 200 response returns the campaign.

Field Type Description
member_group_id integer
advertiser_id integer
campaign_id integer
name string
start_date string Date and time formatted YYYY-MM-DD HH:MM:SS in the advertiser's timezone. Null when no start date is set.
end_date string Date and time formatted YYYY-MM-DD HH:MM:SS in the advertiser's timezone. Null when the campaign has no end date.
status string The campaign status as a capitalized name, for example Active.
is_always_on boolean
is_auto_bid boolean
is_frequency_capping_enabled boolean
frequency_capping string
pacing_type string
budget number The campaign budget amount.
budget_type string
primary_goal_type string
primary_goal_value string
hidden boolean
insertion_order object The insertion order association. Both ids are 0 when there is none.
insertion_order.insertion_order_id integer
insertion_order.line_item_id integer
metadata object
label_ids array
is_auto_allocate boolean
workflow_config_id integer
bid_prediction_enabled boolean
integrations array
extension object Integration extension JSON.
click_attribution_window integer
impression_attribution_window integer
budget_extension_enabled boolean
budget_extension_campaigns array Destination campaigns of the budget extension. Omitted when empty.
budget_extension_campaigns[].campaign_id integer
budget_extension_campaigns[].experience_id integer
budget_extension_campaigns[].status string
parent_campaign_id integer Set for budget extension destination campaigns. Omitted when empty.
Path Params
int32
required

The member group id (provided by Koddi)

int32
required

The advertiser ID

int32
required

The campaign ID

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json