Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 2.61 KB

File metadata and controls

32 lines (26 loc) · 2.61 KB

Zernio::UpdateAdRequestTargeting

Properties

Name Type Description Notes
keywords Array<UpdateAdRequestTargetingKeywordsInner> Google only. The FULL desired set of positive keywords for the entire ad group. Omit to leave positives unchanged; [] removes all positives. Negatives are independent. Entries are strings (BROAD) or { text, matchType } with matchType exact phrase
negative_keywords Array<UpdateAdRequestTargetingKeywordsInner> Google only. The FULL desired set of negative keywords for the entire ad group, independent of positives. Omit to leave negatives unchanged; [] removes all negatives. Uses the same text/match-type identity and preservation contract as keywords above. Strings and objects without matchType default to BROAD, so resending an EXACT or PHRASE negative as a bare string requests a different criterion. Campaign negatives are separate: use /v1/ads/campaigns/{campaignId}/negative-keywords to manage those. [optional]
devices Array<UpdateAdRequestTargetingDevicesInner> Google only. The FULL new set of device criteria for the campaign; devices not listed are excluded. Entries are a device name alone (included, no bid adjustment) or { device, bidModifier }. [optional]
age_min Integer [optional]
age_max Integer [optional]
countries Array<String> [optional]
interests Array<UpdateAdRequestTargetingInterestsInner> Interest objects from /v1/ads/interests. Each must include id and name. [optional]
advantage_audience Integer Meta only. Omit to preserve the existing setting on update. 0 = disabled, 1 = enabled. [optional]

Example

require 'zernio-sdk'

instance = Zernio::UpdateAdRequestTargeting.new(
  keywords: null,
  negative_keywords: null,
  devices: null,
  age_min: null,
  age_max: null,
  countries: null,
  interests: null,
  advantage_audience: null
)