<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v25/resources/campaign.proto

namespace Google\Ads\GoogleAds\V25\Resources\Campaign;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\GPBUtil;
use Google\Protobuf\RepeatedField;

/**
 * Settings for LocalServicesCampaign subresource.
 *
 * Generated from protobuf message <code>google.ads.googleads.v25.resources.Campaign.LocalServicesCampaignSettings</code>
 */
class LocalServicesCampaignSettings extends \Google\Protobuf\Internal\Message
{
    /**
     * Categorical level bids associated with MANUAL_CPA bidding strategy.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v25.resources.Campaign.CategoryBid category_bids = 1;</code>
     */
    private $category_bids;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Ads\GoogleAds\V25\Resources\Campaign\CategoryBid[] $category_bids
     *           Categorical level bids associated with MANUAL_CPA bidding strategy.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V25\Resources\Campaign::initOnce();
        parent::__construct($data);
    }

    /**
     * Categorical level bids associated with MANUAL_CPA bidding strategy.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v25.resources.Campaign.CategoryBid category_bids = 1;</code>
     * @return RepeatedField<\Google\Ads\GoogleAds\V25\Resources\Campaign\CategoryBid>
     */
    public function getCategoryBids()
    {
        return $this->category_bids;
    }

    /**
     * Categorical level bids associated with MANUAL_CPA bidding strategy.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v25.resources.Campaign.CategoryBid category_bids = 1;</code>
     * @param \Google\Ads\GoogleAds\V25\Resources\Campaign\CategoryBid[] $var
     * @return $this
     */
    public function setCategoryBids($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Ads\GoogleAds\V25\Resources\Campaign\CategoryBid::class);
        $this->category_bids = $arr;

        return $this;
    }

}

