Yahoo Ads Api input plugin for Embulk
- Plugin type: input
- Resume supported: no
- Cleanup supported: no
- Guess supported: no
- target: Select
report
or stats
(string, default: report
)
- client_id: Yahoo client ID. (string, required)
- client_secret: Yahoo client secret. (string, required)
- refresh_token: Refresh token to get access token. (string, required)
- ads_type: Select
yss
or ydn
(string, required)
- account_id: Yahoo account id. (string, required)
- report_type: YSS and stats of YDN report type. It is required when use YSS and stats of YDN. (string, default:
null
)
- start_date: Report start date. format:
YYYYMMDD
(string, required)
- end_date: Report end date. format:
YYYYMMDD
(string, required)
- columns: Report columns. (string, required)
- name: the column name of Yahoo record will be retrieved.
- type: Column values are converted to this embulk type. (Available values options are: boolean, long, double, string, json, timestamp)
- format: Format of the timestamp if type is timestamp. The format for Yahoo is %Y-%m-%dT.
in:
type: yahoo_ads_api
target: report
client_id: xxxxxx
client_secret: yyyyyy
refresh_token: zzzzzz
ads_type: yss
account_id: 00000000
report_type: CAMPAIGN
start_date: 20191205
end_date: 20191212
columns:
- { name: CAMPAIGN_ID, type: long }
- { name: CAMPAIGN_NAME, type: string }
- { name: DAY, type: timestamp, format: "%Y-%m-%d" }