Class ResponseMetadata (0.4.0)

ResponseMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata for the response of an ad request.

Attributes

NameDescription
error str
Error message received when making the ad request.
headers google.protobuf.struct_pb2.Struct
Headers from the response.
status_code str
Status code for the response.
size_bytes int
Size in bytes of the response.
duration google.protobuf.duration_pb2.Duration
Total time elapsed for the response.
body str
The body of the response.