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

namespace Google\Ads\GoogleAds\V23\Resources\Recommendation;

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

/**
 * Recommendation to improve the asset group strength of a Performance Max
 * campaign to an "Excellent" rating.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.resources.Recommendation.ImprovePerformanceMaxAdStrengthRecommendation</code>
 */
class ImprovePerformanceMaxAdStrengthRecommendation extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. The asset group resource name.
     *
     * Generated from protobuf field <code>string asset_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $asset_group = '';
    /**
     * Output only. The current ad strength score of the asset group.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v23.enums.AdStrengthEnum.AdStrength ad_strength = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $ad_strength = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $asset_group
     *           Output only. The asset group resource name.
     *     @type int $ad_strength
     *           Output only. The current ad strength score of the asset group.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Resources\Recommendation::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. The asset group resource name.
     *
     * Generated from protobuf field <code>string asset_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getAssetGroup()
    {
        return $this->asset_group;
    }

    /**
     * Output only. The asset group resource name.
     *
     * Generated from protobuf field <code>string asset_group = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setAssetGroup($var)
    {
        GPBUtil::checkString($var, True);
        $this->asset_group = $var;

        return $this;
    }

    /**
     * Output only. The current ad strength score of the asset group.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v23.enums.AdStrengthEnum.AdStrength ad_strength = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return int
     */
    public function getAdStrength()
    {
        return $this->ad_strength;
    }

    /**
     * Output only. The current ad strength score of the asset group.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v23.enums.AdStrengthEnum.AdStrength ad_strength = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param int $var
     * @return $this
     */
    public function setAdStrength($var)
    {
        GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V23\Enums\AdStrengthEnum\AdStrength::class);
        $this->ad_strength = $var;

        return $this;
    }

}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ImprovePerformanceMaxAdStrengthRecommendation::class, \Google\Ads\GoogleAds\V23\Resources\Recommendation_ImprovePerformanceMaxAdStrengthRecommendation::class);

