Create feed

POST {{baseUrl}}/catalogs/feeds?ad_account_id=6342

Create a new feed owned by the operation user_account. - By default, the operation user_account is the token user_account.

Please, be aware that default_country and default_locale are not required in the spec for forward compatibility but for now the API will not accept requests without those fields.

Optional: Business Access: Specify an adaccountid (obtained via List ad accounts) to use the owner of that adaccount as the "operation useraccount. In order to do this, the token user_account must have one of the following https://help.pinterest.com/en/business/article/share-and-manage-access-to-your-ad-accounts">Business Access roles on the ad_account: Owner, Admin, Catalogs Manager.

Learn more

Request Params

KeyDatatypeRequiredDescription
ad_account_idnumberUnique identifier of an ad account.

Request Body

{"format"=>"TSV", "location"=>"sftp://", "name"=>"eu aliqua aute", "default_country"=>"US", "default_availability"=>"null", "default_currency"=>"USD", "default_locale"=>"en_US", "credentials"=>{"username"=>"nostrud dolor irure enim pariatur", "password"=>"in aliqua"}, "preferred_processing_schedule"=>{"time"=>"02:59", "timezone"=>"Africa/Khartoum"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"credentials":{"username":"cillum do est","password":"nostrud aliqua minim"},"default_availability":"null","default_country":"US","default_currency":"USD","default_locale":"en_US","format":"TSV","location":"consequat sint minim par","name":"ut amet sed ullamc","preferred_processing_schedule":{"time":"02:59","timezone":"America/Curacao"},"status":"ACTIVE","created_at":"2022-03-14T15:15:22Z","id":"in consequat veniam","updated_at":"2022-03-14T15:16:34Z"}