Sha256: 9a9155a4db8faded716c07ba3493b811f8bc0ec6b272edd2527d7dfab5666f4c

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Ads < Vk::Schema::Namespace
      module Methods
        # Returns a list of target groups.
        class GetTargetGroups < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'ads.getTargetGroups'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :account_id Advertising account ID.
          #   @option arguments [Integer] :client_id 'Only for advertising agencies.'; ID of the client with the advertising account where the group will be created.;
          #   @option arguments [Boolean] :extended '1' — to return pixel code.
          #   @return [Ads::Methods::GetTargetGroups]

          # @!group Arguments

          # @return [Integer] Advertising account ID.
          attribute :account_id, API::Types::Coercible::Int.optional
          # @return [Integer] 'Only for advertising agencies.'; ID of the client with the advertising account where the group will be created.;
          attribute :client_id, API::Types::Coercible::Int.optional
          # @return [Boolean] '1' — to return pixel code.
          attribute :extended, API::Types::Bool.optional
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/ads/methods/get_target_groups.rb