dynamicFeeds

PUT /studio/dynamicFeeds

Changed on

Updates a new dynamic feed. For draft feeds, only Element can be updated. For published feeds, only FeedSchedule can be updated. Other fields will be ignored.

Request

  • Base URL
    https://dfareporting.googleapis.com/dfareporting/v5
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/dfatrafficking
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/dfatrafficking
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Request body

dynamicFeedIdstring int64

Output only. Unique ID of this dynamic feed. This is a read-only, auto-generated field.

dynamicFeedNamestring

Optional. Name of this dynamic feed. It is defaulted to content source file name if not provided.

hasPublishedboolean

Output only. Indicates whether the dynamic feed has a published version. This is a read-only field.

status'STATUS_UNKNOWN' | 'ACTIVE' | 'INACTIVE' | 'DELETED'

Output only. The status of the feed. It is a read-only field that depends on the the feed ingestion status. The default value is INACTIVE, and it will be updated to ACTIVE once the feed is ingested successfully.

studioAdvertiserIdstring int64

Required. Advertiser ID of this dynamic feed. This is a required field.

Response

Successful response

dynamicFeedIdstring int64

Output only. Unique ID of this dynamic feed. This is a read-only, auto-generated field.

dynamicFeedNamestring

Optional. Name of this dynamic feed. It is defaulted to content source file name if not provided.

hasPublishedboolean

Output only. Indicates whether the dynamic feed has a published version. This is a read-only field.

status'STATUS_UNKNOWN' | 'ACTIVE' | 'INACTIVE' | 'DELETED'

Output only. The status of the feed. It is a read-only field that depends on the the feed ingestion status. The default value is INACTIVE, and it will be updated to ACTIVE once the feed is ingested successfully.

studioAdvertiserIdstring int64

Required. Advertiser ID of this dynamic feed. This is a required field.

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status