0.17.0 (latest) 0.16.0 0.15.1 0.14.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.1 0.3.1 0.2.0 0.1.3 Reference documentation and code samples for the Google Ads Ad Manager V1 Client class BuyerRfp.

Represents the buyer RFP information associated with a Proposal describing
the requirements from the buyer.

Generated from protobuf message `google.ads.admanager.v1.BuyerRfp`

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cost_per_unit` | `Google\Type\Money` Output only. CPM for the Proposal in question. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field should serve as guidance for publishers to create a Proposal with [LineItems](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem.md.txt) reflecting this CPM. |
| `↳ units` | `int|string` Output only. The number of impressions per day that a buyer wishes to see in the Proposal derived from the request for proposal in question. |
| `↳ budget` | `Google\Type\Money` Output only. Total amount of money available to spend on this deal. In the case of a Preferred Deal, the budget is equal to the maximum amount of money a buyer is willing to spend on a given Proposal, even though the budget might not be spent entirely, as impressions are not guaranteed. |
| `↳ start_time` | `Google\Protobuf\Timestamp` Output only. The time at which the proposed deal should start serving. |
| `↳ end_time` | `Google\Protobuf\Timestamp` Output only. The time at which the proposed deal should end serving. |
| `↳ description` | `string` Output only. A description of the proposed deal. This can be used for the buyer to tell the publisher more detailed information about the deal in question. |
| `↳ creative_placeholders` | `array<CreativePlaceholder>` Output only. A list of inventory sizes in which creatives will eventually be served. |
| `↳ targeting` | `Targeting` Output only. Targeting information for the proposal in question. Currently this field only contains GeoTargeting information. |
| `↳ additional_terms` | `string` Output only. Additional terms of the deal in question. This field can be used to state more specific targeting information for the deal, as well as any additional information regarding this deal. Given that this field belongs to a request for proposal (for which initially a Proposal does not yet exist), this field can be populated by buyers to specify additional information that they wish publishers to incorporate into the Proposal derived from this request for proposal. |
| `↳ ad_exchange_environment` | `int` Output only. Identifies the format of the inventory or "channel" through which the ad serves. Environments currently supported include [DISPLAY](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType.md.txt#_Google_Ads_AdManager_V1_ProposalEnvironmentTypeEnum_ProposalEnvironmentType__DISPLAY), [VIDEO](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType.md.txt#_Google_Ads_AdManager_V1_ProposalEnvironmentTypeEnum_ProposalEnvironmentType__VIDEO), and [MOBILE](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType.md.txt#_Google_Ads_AdManager_V1_ProposalEnvironmentTypeEnum_ProposalEnvironmentType__MOBILE). |
| `↳ rfp_type` | `int` Output only. Deal type; either Programmatic Guaranteed or Preferred Deal. This field corresponds to the type of Proposal that a buyer wishes to negotiate with a seller. |

### getCostPerUnit

Output only. CPM for the Proposal in question. Given that this field
belongs to a request for proposal (for which initially a Proposal does not
yet exist), this field should serve as guidance for publishers to create a
Proposal with [LineItems](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem.md.txt) reflecting this
CPM.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Type\Money|null` |   |

### hasCostPerUnit

### clearCostPerUnit

### setCostPerUnit

Output only. CPM for the Proposal in question. Given that this field
belongs to a request for proposal (for which initially a Proposal does not
yet exist), this field should serve as guidance for publishers to create a
Proposal with [LineItems](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.LineItem.md.txt) reflecting this
CPM.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Type\Money` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUnits

Output only. The number of impressions per day that a buyer wishes to see
in the Proposal derived from the request for proposal in question.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasUnits

### clearUnits

### setUnits

Output only. The number of impressions per day that a buyer wishes to see
in the Proposal derived from the request for proposal in question.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBudget

Output only. Total amount of money available to spend on this deal. In the
case of a Preferred Deal, the budget is equal to the maximum amount of
money a buyer is willing to spend on a given Proposal, even though the
budget might not be spent entirely, as impressions are not guaranteed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Type\Money|null` |   |

### hasBudget

### clearBudget

### setBudget

Output only. Total amount of money available to spend on this deal. In the
case of a Preferred Deal, the budget is equal to the maximum amount of
money a buyer is willing to spend on a given Proposal, even though the
budget might not be spent entirely, as impressions are not guaranteed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Type\Money` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getStartTime

Output only. The time at which the proposed deal should start serving.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasStartTime

### clearStartTime

### setStartTime

Output only. The time at which the proposed deal should start serving.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEndTime

Output only. The time at which the proposed deal should end serving.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasEndTime

### clearEndTime

### setEndTime

Output only. The time at which the proposed deal should end serving.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDescription

Output only. A description of the proposed deal. This can be used for the
buyer to tell the publisher more detailed information about the deal in
question.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasDescription

### clearDescription

### setDescription

Output only. A description of the proposed deal. This can be used for the
buyer to tell the publisher more detailed information about the deal in
question.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCreativePlaceholders

Output only. A list of inventory sizes in which creatives will eventually
be served.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<CreativePlaceholder>` |   |

### setCreativePlaceholders

Output only. A list of inventory sizes in which creatives will eventually
be served.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<CreativePlaceholder>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTargeting

Output only. Targeting information for the proposal in question. Currently
this field only contains GeoTargeting information.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Targeting|null` |   |

### hasTargeting

### clearTargeting

### setTargeting

Output only. Targeting information for the proposal in question. Currently
this field only contains GeoTargeting information.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Targeting` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAdditionalTerms

Output only. Additional terms of the deal in question. This field can be
used to state more specific targeting information for the deal, as well as
any additional information regarding this deal. Given that this field
belongs to a request for proposal (for which initially a Proposal does not
yet exist), this field can be populated by buyers to specify additional
information that they wish publishers to incorporate into the Proposal
derived from this request for proposal.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasAdditionalTerms

### clearAdditionalTerms

### setAdditionalTerms

Output only. Additional terms of the deal in question. This field can be
used to state more specific targeting information for the deal, as well as
any additional information regarding this deal. Given that this field
belongs to a request for proposal (for which initially a Proposal does not
yet exist), this field can be populated by buyers to specify additional
information that they wish publishers to incorporate into the Proposal
derived from this request for proposal.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAdExchangeEnvironment

Output only. Identifies the format of the inventory or "channel" through
which the ad serves. Environments currently supported include
[DISPLAY](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType.md.txt#_Google_Ads_AdManager_V1_ProposalEnvironmentTypeEnum_ProposalEnvironmentType__DISPLAY),
[VIDEO](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType.md.txt#_Google_Ads_AdManager_V1_ProposalEnvironmentTypeEnum_ProposalEnvironmentType__VIDEO),
and
[MOBILE](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType.md.txt#_Google_Ads_AdManager_V1_ProposalEnvironmentTypeEnum_ProposalEnvironmentType__MOBILE).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasAdExchangeEnvironment

### clearAdExchangeEnvironment

### setAdExchangeEnvironment

Output only. Identifies the format of the inventory or "channel" through
which the ad serves. Environments currently supported include
[DISPLAY](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType.md.txt#_Google_Ads_AdManager_V1_ProposalEnvironmentTypeEnum_ProposalEnvironmentType__DISPLAY),
[VIDEO](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType.md.txt#_Google_Ads_AdManager_V1_ProposalEnvironmentTypeEnum_ProposalEnvironmentType__VIDEO),
and
[MOBILE](https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ProposalEnvironmentTypeEnum.ProposalEnvironmentType.md.txt#_Google_Ads_AdManager_V1_ProposalEnvironmentTypeEnum_ProposalEnvironmentType__MOBILE).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRfpType

Output only. Deal type; either Programmatic Guaranteed or Preferred Deal.

This field corresponds to the type of Proposal that a buyer wishes to
negotiate with a seller.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasRfpType

### clearRfpType

### setRfpType

Output only. Deal type; either Programmatic Guaranteed or Preferred Deal.

This field corresponds to the type of Proposal that a buyer wishes to
negotiate with a seller.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |