Google :: AdWords :: CreativeService.Google :: AdWords :: CreativeService´Â Google AdWords CreativeService API È£Ãâ°ú »óÈ£ ÀÛ¿ëÇÒ Perl ¸ðµâÀÔ´Ï´Ù. | |
Áö±Ý ´Ù¿î·Îµå |
Google :: AdWords :: CreativeService. ¼øÀ§ ¹× ¿ä¾à
±¤°í
- ƯÇã:
- Perl Artistic License
- °¡°Ý:
- FREE
- °Ô½ÃÀÚ À̸§:
- Rohan Almeida and Mathieu Jondet
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~rohan/Google-Adwords-v0.6.0/lib/Google/Adwords/Data.pm
Google :: AdWords :: CreativeService. ű×
Google :: AdWords :: CreativeService. ¼³¸í
Google :: AdWords :: CreativeService´Â Google AdWords CreativeService API È£Ãâ°ú »óÈ£ ÀÛ¿ëÇÒ Perl ¸ðµâÀÔ´Ï´Ù. Google :: AdWords :: CreativeService´Â Google AdWords CreativeService API È£Ãâ°ú »óÈ£ ÀÛ¿ëÇÒ Perl ¸ðµâÀÔ´Ï´Ù. ½Ä ³ëÇÁ°¡ Google :: AdWords :: CreativeService¸¦ »ç¿ëÇÕ´Ï´Ù. Google :: AdWords :: À̹ÌÁö¸¦ »ç¿ëÇϽʽÿÀ. Google :: AdWords :: Creative; ÆÄÀÏ :: Slurp; # CreativeService °³Ã¼ ¸¸µé±â My $ Creature_service = Google :: AdWords :: CreativeService-> new (); # ¾Öµå¿öÁî ¼ºñ½º¿¡ ·Î±×ÀÎÇؾßÇÕ´Ï´Ù $ Creature_Service-> À̸ÞÀÏ ($ enam_address) -> ¾ÏÈ£ ($ developer_token) -> ApplicationToken ($ app_token); # MCC $ Creature_Service-> ClientEmail ($ Client_Email)ÀÌÀÖ´Â °æ¿ì #; ³» $ ADGROUPID = 123456789; # adgroupÀÇ ¸ðµç ±¤°í ¼ÒÇ°À» ¾òÀ¸½Ê½Ã¿À @getallcreatives = $ creative_service-> getAllCreatives ($ adgroupid); for (@GetAllCreatives) {Àμâ "Å©¸® ¿¡ÀÌ Æ¼ºê À̸§ :". $ _-> À̸§. " , ID : " . $ _-> id. "N"; } # ADGROUP¿¡¼ ƯÁ¤ ±¤°í ¼ÒÀ縦 ¾òÀ¸½Ê½Ã¿À My $ CreaucTid = 987654321; MY $ GETCreative = $ Creature_Service-> GetCreative ($ ADGroupID, $ CreakatiDid); "âÀÇÀûÀ¸·Î ¾òÀ¸½Ê½Ã¿À :"¸¦ ÀμâÇϽʽÿÀ. $ getCreative-> À̸§. ", ID : " . $ getCreative-> ID. "N"; # âÁ¶Àû ÀÎ $ ret = $ creative_service-> activateCreative ($ adgroupid, $ creative); # @activate_list = ({adGroupID => 1234, kreativeid => 12,}, {adGroupID => 5789, kreauctid => 209,})¸¦ È°¼ºÈÇϽʽÿÀ. MY $ RET = $ Creature_Service-> ActivateCreativelist (@activate_list); # Creative My $ Ret = $ Creature_Service-> DeleteCreative ($ AdGroupID, $ CreakatiD); # Creative My $ Creature_Text = Google :: AdWords :: Creative-> New -> AdGroupID ($ adGroupID) -> destinationURL ( 'http://www.example.com') -> displayURL ( 'http : // www.example.com ') -> Çìµå ¶óÀÎ ('API : Creative ') -> ¼³¸í 1 ('API¸¦ ÅëÇØ Ãß°¡µÊ ') -> ¼³¸í 2 ('API¸¦ ÅëÇØ Ãß°¡µÊ '); MY $ ADDCREATIVE = $ Creature_Service-> AddCreative ($ Creative_Text); "Ãß°¡ µÈ âÁ¶Àû ID :"À» ÀμâÇϽʽÿÀ. $ addCreative-> ID. "N"; # À̹ÌÁö Ãß°¡Çϱâ $ data_blurb = read_file ( 'image.gif'); ³» $ image = google :: adwords :: image-> new -> name ( 'À̹ÌÁö # 1') -> µ¥ÀÌÅÍ ($ data_blurb) -> À¯Çü ( 'À̹ÌÁö'); MY $ Creature_Image = Google :: AdWords :: Creative-> New -> AdGroupID ($ adGroupID) -> destinationURL ( 'http://www.example.com') -> displayURL ( 'http : //www.example) com ') -> À̹ÌÁö ($ À̹ÌÁö); MY $ ADDCREATIVE = $ Creature_Service-> AddCreative ($ Creative_Image); "Ãß°¡ µÈ âÁ¶Àû ID :"À» ÀμâÇϽʽÿÀ. $ addCreative-> ID. "N"; "À̹ÌÁö ³ôÀÌ :"ÀμâÇϽʽÿÀ. $ addcreative-> À̹ÌÁö -> ³ôÀÌ. "n";ÀÌ ¸ðµâÀº Google AdWords CreativeService API È£Ãâ¿¡ ´ëÇÑ ÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇÕ´Ï´Ù. ±¤°í ¼ÒÀç¿¡ ´ëÇÑ Á¤º¸¸¦ ¼³Á¤ÇÏ°í¹Þ´Â ¹æ¹ý¿¡ ´ëÇÑ Google :: AdWords :: Creative¸¦ ÀÐÀ¸½Ê½Ã¿À. ¿ä±¸ »çÇ× : ¡¤ Perl.
Google :: AdWords :: CreativeService. °ü·Ã ¼ÒÇÁÆ®¿þ¾î
mkdoc :: xml :: stripper.
MKDOC :: XML :: Stripper´Â ¿øÄ¡ ¾Ê´Â XML / XHTML ÅÂ±× ¹× ¼Ó¼ºÀ» Á¦°ÅÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ...
159