Class: Vk::API::Ads::Criteria

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/ads/criteria.rb

Overview

Instance Method Summary collapse

Instance Method Details

#age_fromInteger

Returns Age from.

Returns:

  • (Integer)

    Age from


13
# File 'lib/vk/api/ads/criteria.rb', line 13

attribute :age_from, API::Types::Coercible::Int.optional.default(nil)

#age_toInteger

Returns Age to.

Returns:

  • (Integer)

    Age to


15
# File 'lib/vk/api/ads/criteria.rb', line 15

attribute :age_to, API::Types::Coercible::Int.optional.default(nil)

#appsString

Returns Apps IDs.

Returns:

  • (String)

    Apps IDs


29
# File 'lib/vk/api/ads/criteria.rb', line 29

attribute :apps, API::Types::Coercible::String.optional.default(nil)

#apps_notString

Returns Apps IDs to except.

Returns:

  • (String)

    Apps IDs to except


31
# File 'lib/vk/api/ads/criteria.rb', line 31

attribute :apps_not, API::Types::Coercible::String.optional.default(nil)

#birthdayInteger

Returns Days to birthday.

Returns:

  • (Integer)

    Days to birthday


17
# File 'lib/vk/api/ads/criteria.rb', line 17

attribute :birthday, API::Types::Coercible::Int.optional.default(nil)

#citiesString

Returns Cities IDs.

Returns:

  • (String)

    Cities IDs


21
# File 'lib/vk/api/ads/criteria.rb', line 21

attribute :cities, API::Types::Coercible::String.optional.default(nil)

#cities_notString

Returns Cities IDs to except.

Returns:

  • (String)

    Cities IDs to except


23
# File 'lib/vk/api/ads/criteria.rb', line 23

attribute :cities_not, API::Types::Coercible::String.optional.default(nil)

#countryInteger

Returns Country ID.

Returns:

  • (Integer)

    Country ID


19
# File 'lib/vk/api/ads/criteria.rb', line 19

attribute :country, API::Types::Coercible::Int.optional.default(nil)

#districtsString

Returns Districts IDs.

Returns:

  • (String)

    Districts IDs


33
# File 'lib/vk/api/ads/criteria.rb', line 33

attribute :districts, API::Types::Coercible::String.optional.default(nil)

#groupsString

Returns Communities IDs.

Returns:

  • (String)

    Communities IDs


27
# File 'lib/vk/api/ads/criteria.rb', line 27

attribute :groups, API::Types::Coercible::String.optional.default(nil)

#interest_categoriesString

Returns Interests categories IDs.

Returns:

  • (String)

    Interests categories IDs


47
# File 'lib/vk/api/ads/criteria.rb', line 47

attribute :interest_categories, API::Types::Coercible::String.optional.default(nil)

#interestsString

Returns Interests.

Returns:

  • (String)

    Interests


45
# File 'lib/vk/api/ads/criteria.rb', line 45

attribute :interests, API::Types::Coercible::String.optional.default(nil)

#payingAPI::Base::BoolInt

Returns Information whether the user has proceeded VK payments before.

Returns:


59
# File 'lib/vk/api/ads/criteria.rb', line 59

attribute :paying, API::Base::BoolInt.optional.default(nil)

#positionsString

Returns Positions IDs.

Returns:

  • (String)

    Positions IDs


41
# File 'lib/vk/api/ads/criteria.rb', line 41

attribute :positions, API::Types::Coercible::String.optional.default(nil)

#religionsString

Returns Religions IDs.

Returns:

  • (String)

    Religions IDs


43
# File 'lib/vk/api/ads/criteria.rb', line 43

attribute :religions, API::Types::Coercible::String.optional.default(nil)

#retargeting_groupsString

Returns Retargeting groups IDs.

Returns:

  • (String)

    Retargeting groups IDs


55
# File 'lib/vk/api/ads/criteria.rb', line 55

attribute :retargeting_groups, API::Types::Coercible::String.optional.default(nil)

#retargeting_groups_notString

Returns Retargeting groups IDs to except.

Returns:

  • (String)

    Retargeting groups IDs to except


57
# File 'lib/vk/api/ads/criteria.rb', line 57

attribute :retargeting_groups_not, API::Types::Coercible::String.optional.default(nil)

#school_fromInteger

Returns School graduation year from.

Returns:

  • (Integer)

    School graduation year from


63
# File 'lib/vk/api/ads/criteria.rb', line 63

attribute :school_from, API::Types::Coercible::Int.optional.default(nil)

#school_toInteger

Returns School graduation year to.

Returns:

  • (Integer)

    School graduation year to


65
# File 'lib/vk/api/ads/criteria.rb', line 65

attribute :school_to, API::Types::Coercible::Int.optional.default(nil)

#schoolsString

Returns Schools IDs.

Returns:

  • (String)

    Schools IDs


39
# File 'lib/vk/api/ads/criteria.rb', line 39

attribute :schools, API::Types::Coercible::String.optional.default(nil)

#sexInteger

Returns Sex.

Returns:

  • (Integer)

    Sex


11
# File 'lib/vk/api/ads/criteria.rb', line 11

attribute :sex, API::Types::Coercible::Int.enum(0, 1, 2).optional.default(nil)

#stationsString

Returns Stations IDs.

Returns:

  • (String)

    Stations IDs


35
# File 'lib/vk/api/ads/criteria.rb', line 35

attribute :stations, API::Types::Coercible::String.optional.default(nil)

#statusesString

Returns Relationship statuses.

Returns:

  • (String)

    Relationship statuses


25
# File 'lib/vk/api/ads/criteria.rb', line 25

attribute :statuses, API::Types::Coercible::String.optional.default(nil)

#streetsString

Returns Streets IDs.

Returns:

  • (String)

    Streets IDs


37
# File 'lib/vk/api/ads/criteria.rb', line 37

attribute :streets, API::Types::Coercible::String.optional.default(nil)

#travellersAPI::Base::PropertyExists

Returns Travellers only.

Returns:


61
# File 'lib/vk/api/ads/criteria.rb', line 61

attribute :travellers, API::Base::PropertyExists.optional.default(nil)

#uni_fromInteger

Returns University graduation year from.

Returns:

  • (Integer)

    University graduation year from


67
# File 'lib/vk/api/ads/criteria.rb', line 67

attribute :uni_from, API::Types::Coercible::Int.optional.default(nil)

#uni_toInteger

Returns University graduation year to.

Returns:

  • (Integer)

    University graduation year to


69
# File 'lib/vk/api/ads/criteria.rb', line 69

attribute :uni_to, API::Types::Coercible::Int.optional.default(nil)

#user_browsersString

Returns Browsers.

Returns:

  • (String)

    Browsers


53
# File 'lib/vk/api/ads/criteria.rb', line 53

attribute :user_browsers, API::Types::Coercible::String.optional.default(nil)

#user_devicesString

Returns Devices.

Returns:

  • (String)

    Devices


49
# File 'lib/vk/api/ads/criteria.rb', line 49

attribute :user_devices, API::Types::Coercible::String.optional.default(nil)

#user_osString

Returns Operating systems.

Returns:

  • (String)

    Operating systems


51
# File 'lib/vk/api/ads/criteria.rb', line 51

attribute :user_os, API::Types::Coercible::String.optional.default(nil)