- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- ShareablePreview
- AssetGroupIdentifier
- ShareablePreviewOrError
- ShareablePreviewResult
- Try it!
Returns the requested Shareable Preview.
HTTP request
POST https://googleads.googleapis.com/v18/customers/{customerId}:generateShareablePreviews
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customerId |
Required. The customer creating the shareable previews request. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"shareablePreviews": [
{
object ( |
Fields | |
---|---|
shareablePreviews[] |
Required. The list of shareable previews to generate. |
Response body
Response message for ShareablePreviewService.GenerateShareablePreviews
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"responses": [
{
object ( |
Fields | |
---|---|
responses[] |
List of generate shareable preview results. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.
ShareablePreview
A shareable preview with its identifier.
JSON representation |
---|
{
"assetGroupIdentifier": {
object ( |
Fields | |
---|---|
assetGroupIdentifier |
Required. Asset group of the shareable preview. |
AssetGroupIdentifier
Asset group of the shareable preview.
JSON representation |
---|
{ "assetGroupId": string } |
Fields | |
---|---|
assetGroupId |
Required. The asset group identifier. |
ShareablePreviewOrError
Result of the generate shareable preview.
JSON representation |
---|
{ "assetGroupIdentifier": { object ( |
Fields | |
---|---|
assetGroupIdentifier |
The asset group of the shareable preview. |
Union field generate_shareable_preview_response . The shareable preview result or error. generate_shareable_preview_response can be only one of the following: |
|
shareablePreviewResult |
The shareable preview result. |
partialFailureError |
The shareable preview partial failure error. |
ShareablePreviewResult
Message to hold a shareable preview result.
JSON representation |
---|
{ "shareablePreviewUrl": string, "expirationDateTime": string } |
Fields | |
---|---|
shareablePreviewUrl |
The shareable preview URL. |
expirationDateTime |
Expiration date time using the ISO-8601 format. |