Upgrade to Pro — share decks privately, control downloads, hide ads and more …

5年前の自分に伝えたい広告 API 周辺の歩き方 / SOT Tech Night vol.1

Takuya Arita
December 17, 2019

5年前の自分に伝えたい広告 API 周辺の歩き方 / SOT Tech Night vol.1

SOT Tech Night vol.1 「広告APIについて語る会」の発表資料です
https://sot.connpass.com/event/156401/

Takuya Arita

December 17, 2019
Tweet

More Decks by Takuya Arita

Other Decks in Programming

Transcript

  1. 5೥લͷࣗ෼ʹ఻͍͑ͨ
    ޿ࠂ API पลͷา͖ํ
    @ariarijp / Takuya Arita

    View full-size slide

  2. /me/fields=name,role,description
    • @ariarijp / Takuya Arita / ༗ా ୓࠸
    • גࣜձࣾίίϥϒϧͰ Facebook ΍ Twitter ͳͲͷ޿ࠂ API Λ࢖༻ͨ͠
    ӡ༻πʔϧ։ൃ΍ɺͦΕΒͷσʔλΛѻ͏෼ੳج൫ͷߏஙΛ͍ͯ͠·
    ͢
    • Redash Meetup ओ࠵
    • ࡾܑఋͷ௕உͰɺ૒ࢠͷ෕

    View full-size slide

  3. ͜ͷൃදʹ͍ͭͯ
    • 2015೥1݄͔Βɺ޿ࠂ API ʹؔΘΔ࢓ࣄΛଓ͚͖ͯͨ਎ͱͯ͠ɺ
    ʮ2015೥౰࣌ͷࢲʹରͯ͠఻͍͑ͯ͋͛ͨʯͱࢥ͏͜ͱʹ͍ͭͯ
    ͓࿩͠·͢
    • ͢Ͱʹ޿ࠂ API पลͰ׆༂͍ͯ͠ΔΈͳ͞Μʹͱͬͯ͸ʮ͋Δ͋
    Δʯఔ౓ʹฉ͍ͯ΋Β͏͜ͱΛ૝ఆ͍ͯ͠·͢
    • ܦݧ͕ Facebook, Twitter ʹภ͍ͬͯ·͢

    View full-size slide

  4. ΞδΣϯμ
    • ٕज़తͳ࿩
    • ޿ࠂ API ͷϥΠϑαΠΫϧ
    • SDK ͱ͏·͘෇͖߹͏
    • ϓϥοτϑΥʔϜΛա৴͠
    ͳ͍
    • ٕज़తͰ͸ͳ͍࿩
    • ۀ຿஌ࣝΛಘΔ
    • ίʔυΛॻ͔ͳͯ͘΋ղܾ
    Ͱ͖Δ͜ͱ
    • লྗԽͷઌʹ͋Δ΋ͷ

    View full-size slide

  5. ޿ࠂ API पลͷา͖ํ
    ʮٕज़తͳ࿩ʯฤ

    View full-size slide

  6. ޿ࠂ API ͷϥΠϑαΠΫϧ
    • ޿ࠂ API ͷϥΠϑαΠΫϧʹ͓͚Δ༛༧ظؒ͸ɺ୹ͯ͘3ϲ݄ɺ
    ௕ͯ͘1೥͙Β͍
    • Өڹൣғ΋༷ʑɻϦΫΤετύϥϝʔλ΍Ϩεϙϯε͚ͩͰͳ
    ͘ɺΤϯυϙΠϯτ͝ͱมΘΔ͜ͱ΋௝͘͠ͳ͍
    • ௥ैରԠʹ௥͍ճ͞Εͳ͍Α͏ʹɺAPI ͷߋ৽ཤྺ͸ৗʹνΣο
    Ϋɺ伱͕͋Ε͹ઌߦͯ͠ΞοϓάϨʔυΛૂ͏

    View full-size slide

  7. SDK ͱ͏·͘෇͖߹͏
    • SDK ͸ศརͰ҆ఆ͍ͯ͠ΔͷͰɺݪଇͱͯ͠ར༻͢΂͖ɻ

    ͔͠͠ɺߟྀ͠ͳ͚Ε͹ͳΒͳ͍͜ͱ΋૿͑Δ
    • API ͷߋ৽ʹେ͖ͳӨڹ͕ͳͯ͘΋ɺSDK ͷߋ৽ʹഁյతͳมߋؚ͕·ΕΔ৔
    ߹͕͋Δ
    • API ͷϦϦʔεεέδϡʔϧʹର͠ɺࡍͲ͍λΠϛϯάͰ SDK ͕ϦϦʔε͞Ε
    Δ͜ͱ͕͋Δ
    • ެࣜఏڙ͍ͯ͠Δ΋ͷͱ͍͑Ͳɺվળ఺΍όά͸͋Δ

    View full-size slide

  8. ϓϥοτϑΥʔϜΛա৴͠ͳ͍
    • API ͸ෆ҆ఆʹͳΔ͜ͱ΋͋Δ
    • ΤϥʔΛ࣮֬ʹݕ஌͠ɺΞΫγϣϯΛऔΕΔ࢓૊Έ΍ମ੍Λͭ͘Δ
    • ରॲύλʔϯΛ஌ΓɺରԠͷखࡳΛ૿΍͢
    • ྫ: API ͸࢖͑ͳ͍͚Ͳ޿ࠂ؅ཧը໘͸࢖͑Δ
    • ྫ:ಛఆͷΤϯυϙΠϯτ΍ύϥϝʔλͰΤϥʔ͕ൃੜ͢Δ

    View full-size slide

  9. ޿ࠂ API पลͷา͖ํ
    ʮٕज़తͰ͸ͳ͍࿩ʯฤ

    View full-size slide

  10. ۀ຿஌ࣝΛಘΔ
    • ໾ʹཱͭɺ࢖ΘΕΔ࢓૊ΈΛ࡞Δʹ͸ɺͲΜͳੈքͰ΋ۀ຿஌͕ࣝඞཁ
    • ӡ༻ͷࢹ఺ͰԿ͕ࠔΓ͝ͱʹͳΓ΍͍͢ͷ͔ɺԿΛղܾͨ͠ΒΑΓΑ͍ঢ়ଶʹͳΔͷ͔͸ɺ

    ੵۃతʹ؍࡯ͯ͠ɺฉ͖ग़͢
    • Slack ΍ϝʔϦϯάϦετͳͲɺӡ༻୲౰ऀ͕࣮຿Ͱ࢖͍ͬͯΔίϛϡχέʔγϣϯπʔϧʹ
    ೖ͍ͬͯ͘
    • ੮Λۙͯ͘͠ɺνϟοτͷ֎ଆͰى͍ͬͯ͜Δ͜ͱʹ໨Λ޲͚Δ
    • ղܾ͍ͨ͠ʮ໰୊ʯ͚ͩͰ͸ͳ͘ɺͦΕ͕ͳͥੜ·ΕΔͷ͔ɺͦΕ͸୭ʹͱͬͯͷ໰୊͔ɺ

    ໰୊Λղܾ͢ΔͱԿ͕ى͖Δͷ͔ʹ͍ͭͯ΋ɺ৘ใΛҾ͖ग़͢

    View full-size slide

  11. ίʔυΛॻ͔ͳͯ͘΋ղܾͰ͖Δ͜ͱ
    • ௚઀తʹίʔυΛॻ͍ͯղܾ͠ͳͯ͘΋ɺϑϩʔΛม͑Δ͚ͩͰղܾ͢Δ໰୊΋ଟ͘ݟ͔ͭΔ
    • ޿ࠂӡ༻ऀ͸ྑ͘΋ѱ͘΋ʮਅ໘໨ʯͳਓ͕ଟ͍ҹ৅
    • ͪΐͬͱͨ͠޻෉ͰলྗԽ͸Ͱ͖Δ
    • ྫ: ຖ೔ Excel ͰϨϙʔτΛ࡞ͬͯϝʔϧఴ෇

    -> εϓϨουγʔτΛڞ༗
    • ྫ: ܗࣜͷҟͳΔϨϙʔτΛ࡞ΔͨΊɺಉ͡σʔλΛԿ౓΋μ΢ϯϩʔυ

    -> ͪΐͬͱ͚ͩ Excel ΍εϓϨουγʔτΛ޻෉ͯ͠ɺOne source, multi use ʹ͢Δ

    View full-size slide

  12. লྗԽͷઌʹ͋Δ΋ͷ
    • ͦΕͳΓʹ௕͘޿ࠂपΓͷ՝୊ΛΤϯδχΞϦϯάͰղܾ͍ͯͯ͠ؾ͍ͮͨ͜
    ͱ
    • Ϩϙʔτۀ຿ͳͲɺఆܕۀ຿ΛͲ͜·ͰলྗԽͯ͠΋ɺ

    ޿ࠂޮՌ͸ྑ͘ͳΒͳ͍
    • ͍ΘΏΔʮϫʔΫɾϥΠϑɾόϥϯεʯʹ͸ଟগد༩͢Δ
    • লྗԽͯ͠ු͍ͨ࣌ؒΛΫϦΤΠςΟϒ΍ࢪࡦʹ࠶౤ೖͰ͖Δ͔ɺ

    ͦΕΒͷ׆ಈ͸ΤϯδχΞϦϯάͰαϙʔτͰ͖Δͷ͔ʁ͕࠷ۙͷ೰Έ

    View full-size slide

  13. 5೥લͷࣗ෼ʹ఻͍͑ͨ͜ͱ
    • ϓϥοτϑΥʔϜʹৼΓམͱ͞Εͣʹ৐Γଓ͚Δ͜ͱ͸ɺ

    ؆୯ͳΑ͏Ͱ೉͍͠ɻ৽͍͠΋ͷΛऔΓೖΕͳ͕Βɺݹ͍΋ͷΛࣺͯ
    Δͱ͍͏͜ͱ͕ɺ͋ΔҙຯͰڧ੍͞ΕΔ
    • ௕͘࢖ͬͯ΋Β͑Δ΋ͷΛ࡞Γଓ͚ΔͨΊʹɺۀ຿஌ࣝ͸ᩦཉʹ
    ΩϟονΞοϓ͢Δɻ޻෉͸͍͘ΒͰ΋Ͱ͖Δ
    • Կ͔ͷۤ͠ΈΛʮָʹ͢Δʯ͜ͱ͸ɺ͋Δఔ౓ͷΤϯδχΞϦϯάͰ
    ୡ੒Ͱ͖Δɻͦͷ޲͜͏ଆʹ͍͘͜ͱʹ೉͕͋͠͞Δ

    View full-size slide