Update a group

PUT/ads/{connection_id}/group/{id}

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Group

Payload

idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
parent_idstring
campaign_idstring
organization_idstring
insertionorder_idstring
status enum
Valid values:
"UNSPECIFIED"
"ACTIVE"
"PAUSED"
"ARCHIVED"
"DRAFT"
targetingobject
bid_amountnumber
bid_strategyobject
YOUTUBE_AND_PARTNERS
budget_amountnumber
budget_period enum
Valid values:
"DAILY"
"MONTHLY"
"TOTAL"
"LIFETIME"
budget_allocation_type enum
Valid values:
"UNSPECIFIED"
"AUTOMATIC"
"FIXED"
"UNLIMITED"
start_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
end_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
budget_unit enum
Valid values:
"UNSPECIFIED"
"CURRENCY"
"IMPRESSIONS"
budget_max_amountnumber
type enum
Valid values:
"TEXT"
"IMAGE"
"VIDEO"
"RESPONSIVE"
"SHOPPING"
has_eu_political_adsboolean
pacingobject
frequency_capobject
creative_idsstring array
optimization_goal enum
Valid values:
"REACH"
"IMPRESSIONS"
"LINK_CLICKS"
"LANDING_PAGE_VIEWS"
"CONVERSIONS"
Optimization goals for ads_group (cross-platform; platform-specific values allowed as pass-through)
billing_event enum
Valid values:
"IMPRESSIONS"
"LINK_CLICKS"
"VIDEO_VIEWS"
"APP_INSTALLS"
"ENGAGEMENT"
Billing events for ads_group (what you pay for; cross-platform; platform-specific values allowed as pass-through)
currencystring
promoted array

Returns

idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
parent_idstring
campaign_idstring
organization_idstring
insertionorder_idstring
status enum
Valid values:
"UNSPECIFIED"
"ACTIVE"
"PAUSED"
"ARCHIVED"
"DRAFT"
targetingobject
bid_amountnumber
bid_strategyobject
YOUTUBE_AND_PARTNERS
budget_amountnumber
budget_period enum
Valid values:
"DAILY"
"MONTHLY"
"TOTAL"
"LIFETIME"
budget_allocation_type enum
Valid values:
"UNSPECIFIED"
"AUTOMATIC"
"FIXED"
"UNLIMITED"
start_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
end_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
budget_unit enum
Valid values:
"UNSPECIFIED"
"CURRENCY"
"IMPRESSIONS"
budget_max_amountnumber
type enum
Valid values:
"TEXT"
"IMAGE"
"VIDEO"
"RESPONSIVE"
"SHOPPING"
has_eu_political_adsboolean
pacingobject
frequency_capobject
creative_idsstring array
optimization_goal enum
Valid values:
"REACH"
"IMPRESSIONS"
"LINK_CLICKS"
"LANDING_PAGE_VIEWS"
"CONVERSIONS"
Optimization goals for ads_group (cross-platform; platform-specific values allowed as pass-through)
billing_event enum
Valid values:
"IMPRESSIONS"
"LINK_CLICKS"
"VIDEO_VIEWS"
"APP_INSTALLS"
"ENGAGEMENT"
Billing events for ads_group (what you pay for; cross-platform; platform-specific values allowed as pass-through)
currencystring
promoted array
const options = {
  method: 'PUT',
  url: 'https://api.unified.to/ads/5de520f96e439b002043d8dc/group/5de520f96e439b002043d8d8',
  headers: {
    authorization: 'bearer .....'
  },
  data: undefined,
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?