Batch Get
|
|||||
|
|
Returns AMP URL(s) and equivalent AMP Cache URL(s)
Input
This building block consumes 2 input parameters
Name | Format | Description |
---|---|---|
lookupStrategy |
ENUMERATION |
The lookup_strategy being requested |
urls[] |
STRING |
= Parameter name
= Format
lookupStrategy ENUMERATION The lookup_strategy being requested |
urls[] STRING |
Output
This building block provides 8 output parameters
Name | Format | Description |
---|---|---|
ampUrls[] |
OBJECT |
AMP URL response for a requested URL |
ampUrls[].cdnAmpUrl |
STRING |
The AMP Cache URL pointing to the cached document in the Google AMP Cache |
ampUrls[].originalUrl |
STRING |
The original non-AMP URL |
ampUrls[].ampUrl |
STRING |
The AMP URL pointing to the publisher's web server |
urlErrors[] |
OBJECT |
AMP URL Error resource for a requested URL that couldn't be found |
urlErrors[].errorMessage |
STRING |
An optional descriptive error message |
urlErrors[].errorCode |
ENUMERATION |
The error code of an API call |
urlErrors[].originalUrl |
STRING |
The original non-AMP URL |
= Parameter name
= Format
ampUrls[] OBJECT AMP URL response for a requested URL |
ampUrls[].cdnAmpUrl STRING The AMP Cache URL pointing to the cached document in the Google AMP Cache |
ampUrls[].originalUrl STRING The original non-AMP URL |
ampUrls[].ampUrl STRING The AMP URL pointing to the publisher's web server |
urlErrors[] OBJECT AMP URL Error resource for a requested URL that couldn't be found |
urlErrors[].errorMessage STRING An optional descriptive error message |
urlErrors[].errorCode ENUMERATION The error code of an API call |
urlErrors[].originalUrl STRING The original non-AMP URL |