<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v23/common/third_party_integration_partners.proto

namespace Google\Ads\GoogleAds\V23\Common;

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

/**
 * Contains third party measurement partner related data for video campaigns.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.common.ThirdPartyIntegrationPartnerData</code>
 */
class ThirdPartyIntegrationPartnerData extends \Google\Protobuf\Internal\Message
{
    /**
     * The client ID that allows the measurement partner to join multiple
     * campaigns for a particular advertiser.
     *
     * Generated from protobuf field <code>string client_id = 1;</code>
     */
    protected $client_id = '';
    /**
     * The third party placement ID that maps the measurement partner data with a
     * campaign (or a group of related campaigns) specific data.
     *
     * Generated from protobuf field <code>string third_party_placement_id = 2;</code>
     */
    protected $third_party_placement_id = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $client_id
     *           The client ID that allows the measurement partner to join multiple
     *           campaigns for a particular advertiser.
     *     @type string $third_party_placement_id
     *           The third party placement ID that maps the measurement partner data with a
     *           campaign (or a group of related campaigns) specific data.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Common\ThirdPartyIntegrationPartners::initOnce();
        parent::__construct($data);
    }

    /**
     * The client ID that allows the measurement partner to join multiple
     * campaigns for a particular advertiser.
     *
     * Generated from protobuf field <code>string client_id = 1;</code>
     * @return string
     */
    public function getClientId()
    {
        return $this->client_id;
    }

    /**
     * The client ID that allows the measurement partner to join multiple
     * campaigns for a particular advertiser.
     *
     * Generated from protobuf field <code>string client_id = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setClientId($var)
    {
        GPBUtil::checkString($var, True);
        $this->client_id = $var;

        return $this;
    }

    /**
     * The third party placement ID that maps the measurement partner data with a
     * campaign (or a group of related campaigns) specific data.
     *
     * Generated from protobuf field <code>string third_party_placement_id = 2;</code>
     * @return string
     */
    public function getThirdPartyPlacementId()
    {
        return $this->third_party_placement_id;
    }

    /**
     * The third party placement ID that maps the measurement partner data with a
     * campaign (or a group of related campaigns) specific data.
     *
     * Generated from protobuf field <code>string third_party_placement_id = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setThirdPartyPlacementId($var)
    {
        GPBUtil::checkString($var, True);
        $this->third_party_placement_id = $var;

        return $this;
    }

}

