# Video Stitcher V1 API - Class Google::Cloud::Video::Stitcher::V1::AdRequest (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.0 0.8.2 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Video Stitcher V1 API class Google::Cloud::Video::Stitcher::V1::AdRequest.

Details of an ad request to an ad server.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #request_metadata

    def request_metadata() -> ::Google::Cloud::Video::Stitcher::V1::RequestMetadata

**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::RequestMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-RequestMetadata)) --- The request metadata used to make the ad request.

### #request_metadata=

    def request_metadata=(value) -> ::Google::Cloud::Video::Stitcher::V1::RequestMetadata

**Parameter**

- **value** ([::Google::Cloud::Video::Stitcher::V1::RequestMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-RequestMetadata)) --- The request metadata used to make the ad request.
**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::RequestMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-RequestMetadata)) --- The request metadata used to make the ad request.

### #response_metadata

    def response_metadata() -> ::Google::Cloud::Video::Stitcher::V1::ResponseMetadata

**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::ResponseMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-ResponseMetadata)) --- The response metadata received from the ad request.

### #response_metadata=

    def response_metadata=(value) -> ::Google::Cloud::Video::Stitcher::V1::ResponseMetadata

**Parameter**

- **value** ([::Google::Cloud::Video::Stitcher::V1::ResponseMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-ResponseMetadata)) --- The response metadata received from the ad request.
**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::ResponseMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-ResponseMetadata)) --- The response metadata received from the ad request.

### #uri

    def uri() -> ::String

**Returns**

- (::String) --- The ad tag URI processed with integrated macros.

### #uri=

    def uri=(value) -> ::String

**Parameter**

- **value** (::String) --- The ad tag URI processed with integrated macros.
**Returns**

- (::String) --- The ad tag URI processed with integrated macros.