"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[70940,88673],{288673:function(e,t,r){r.d(t,{$P:function(){return rw},$Q:function(){return r3},$v:function(){return th},AU:function(){return rE},Ab:function(){return rS},Af:function(){return tb},Bg:function(){return rQ},Bi:function(){return rz},C3:function(){return tD},C9:function(){return rU},CG:function(){return ra},E9:function(){return re},E_:function(){return tq},Eh:function(){return t8},F1:function(){return nw},FO:function(){return rA},Ft:function(){return rj},GH:function(){return rP},Gc:function(){return rM},H1:function(){return t4},HB:function(){return rF},HJ:function(){return tX},HQ:function(){return tZ},HY:function(){return rq},HZ:function(){return rC},Ip:function(){return tR},Iz:function(){return rK},KT:function(){return tC},Kp:function(){return nl},L:function(){return r6},LC:function(){return nr},Lc:function(){return rm},M6:function(){return ng},MB:function(){return nu},MX:function(){return nf},NJ:function(){return tK},OQ:function(){return tA},PG:function(){return tj},PN:function(){return np},P_:function(){return t9},Pf:function(){return ro},Pp:function(){return rg},Pz:function(){return r_},QB:function(){return tM},QD:function(){return tN},QF:function(){return r9},RM:function(){return rD},RO:function(){return nn},Rn:function(){return rp},S3:function(){return rL},S9:function(){return tT},SW:function(){return rY},So:function(){return tW},UC:function(){return rv},UM:function(){return no},UQ:function(){return r7},V:function(){return tF},VW:function(){return rk},Vo:function(){return n_},W1:function(){return tH},WL:function(){return rZ},Wt:function(){return rG},XV:function(){return ns},X_:function(){return rn},Xi:function(){return nh},Xz:function(){return ru},Z8:function(){return nv},ZF:function(){return rs},ZG:function(){return rc},ZP:function(){return rV},_8:function(){return t2},_j:function(){return rN},_k:function(){return t1},_z:function(){return tE},a0:function(){return tY},aD:function(){return tP},aE:function(){return r8},aY:function(){return tk},b8:function(){return ne},bW:function(){return tG},bX:function(){return na},bj:function(){return t0},cN:function(){return rb},cU:function(){return t$},cX:function(){return tB},cy:function(){return nm},de:function(){return t5},dj:function(){return tO},e:function(){return rf},eh:function(){return ty},fI:function(){return ri},fq:function(){return rJ},gL:function(){return tx},h$:function(){return rx},hd:function(){return t3},iL:function(){return rt},jL:function(){return nd},jd:function(){return tL},ke:function(){return tJ},l9:function(){return tz},lU:function(){return tU},lp:function(){return rr},m9:function(){return tI},mc:function(){return nT},oB:function(){return ny},pZ:function(){return rO},pq:function(){return r5},pw:function(){return rd},qF:function(){return ni},qK:function(){return rX},qM:function(){return rh},qs:function(){return t6},rY:function(){return nt},s8:function(){return r0},sO:function(){return rI},tE:function(){return nc},tQ:function(){return tS},u5:function(){return r2},u7:function(){return tQ},u9:function(){return rR},uL:function(){return ry},uN:function(){return r4},uz:function(){return rl},wI:function(){return rT},xM:function(){return rW},yg:function(){return rB},yt:function(){return r$},zM:function(){return r1},zQ:function(){return tV},zV:function(){return t7},zc:function(){return rH}});var n,a,s,i,c,u,o,p,d,g,l,v,m,f,_,w,h,y,T,R,b,x,D,k,A,L,C,P,S,B,M,E,z,F,O,G,I,q,J,j,H,W,K,N,U,Q,V,Z,X,Y,$,ee,et,er,en,ea,es,ei,ec,eu,eo,ep,ed,eg,el,ev,em,ef,e_,ew,eh,ey,eT,eR,eb,ex,eD,ek,eA,eL,eC,eP,eS,eB,eM,eE,ez,eF,eO,eG,eI,eq,eJ,ej,eH,eW,eK,eN,eU,eQ,eV,eZ,eX,eY,e$,e1,e0,e7,e3,e2,e6,e4,e5,e8,e9,te,tt,tr,tn,ta,ts,ti,tc,tu,to,tp,td,tg,tl,tv,tm,tf=r(783122);function t_(e,t,r,n,a,s,i){try{var c=e[s](i),u=c.value}catch(e){r(e);return}c.done?t(u):Promise.resolve(u).then(n,a)}function tw(e){return function(){var t=this,r=arguments;return new Promise(function(n,a){var s=e.apply(t,r);function i(e){t_(s,n,a,i,c,"next",e)}function c(e){t_(s,n,a,i,c,"throw",e)}i(void 0)})}}var th=(n=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/custom_columns/").concat(t.custom_column_id),u={},e.next=7,a.delete(c,u,!1);case 7:o=new Date,s&&(s.success("removeCustomColumn",r),s.latency("removeCustomColumn",o.getTime()-i.getTime(),r)),e.next=15;break;case 11:throw e.prev=11,e.t0=e.catch(1),s&&s.failure("removeCustomColumn",r),e.t0;case 15:case"end":return e.stop()}},e,null,[[1,11]])})),function(e,t){return n.apply(this,arguments)}),ty=(a=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/custom_columns/"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("createCustomColumn",n),i.latency("createCustomColumn",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("createCustomColumn",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return a.apply(this,arguments)}),tT=(s=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/custom_columns/"),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getCustomColumns",r),s.latency("getCustomColumns",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getCustomColumns",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return s.apply(this,arguments)}),tR=(i=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/custom_columns/").concat(t.custom_column_id),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getCustomColumn",r),s.latency("getCustomColumn",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getCustomColumn",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return i.apply(this,arguments)}),tb=(c=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/metrics/templates"),u={types:t.types,include_static_templates:t.include_static_templates,page_size:t.page_size,order:t.order,bookmark:t.bookmark,filter_based_on_viewing_user_id:t.filter_based_on_viewing_user_id,only_show_viewing_user_templates:t.only_show_viewing_user_templates},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getMetricsReportingTemplates",r),s.latency("getMetricsReportingTemplates",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getMetricsReportingTemplates",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return c.apply(this,arguments)}),tx=(u=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/metrics/templates/schedules"),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getMetricsReportingTemplateSchedules",r),s.latency("getMetricsReportingTemplateSchedules",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getMetricsReportingTemplateSchedules",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return u.apply(this,arguments)}),tD=(o=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/bulk_sync_create"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("postBulkSyncCreate",n),i.latency("postBulkSyncCreate",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("postBulkSyncCreate",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return o.apply(this,arguments)}),tk=(p=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/bulk_sync_update"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("postBulkSyncUpdate",n),i.latency("postBulkSyncUpdate",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("postBulkSyncUpdate",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return p.apply(this,arguments)}),tA=(d=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/bulk_sync_edit"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("postBulkSyncEdit",n),i.latency("postBulkSyncEdit",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("postBulkSyncEdit",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return d.apply(this,arguments)}),tL=(g=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/bulk_editor_requests"),u={type:t.type,limit:t.limit,within_days:t.within_days,in_admin_mode:t.in_admin_mode,job_types:t.job_types,include_details:t.include_details,bookmark:t.bookmark},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getBulkJobs",r),s.latency("getBulkJobs",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getBulkJobs",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return g.apply(this,arguments)}),tC=(l=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/bulk_reporting_jobs"),u={page_size:t.page_size,start_index:t.start_index,within_days:t.within_days,in_admin_mode:t.in_admin_mode,job_status:t.job_status},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getBulkJobsHistory",r),s.latency("getBulkJobsHistory",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getBulkJobsHistory",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return l.apply(this,arguments)}),tP=(v=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/bulk/").concat(t.request_id),u={is_job_status:t.is_job_status,bulk_job_action:t.bulk_job_action,include_details:t.include_details},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getBulkJob",r),s.latency("getBulkJob",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getBulkJob",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return v.apply(this,arguments)}),tS=(m=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/scheduled_report_status/").concat(t.request_id),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getBulkScheduledJob",r),s.latency("getBulkScheduledJob",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getBulkScheduledJob",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return m.apply(this,arguments)}),tB=(f=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/metrics/mmm_report/async"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("createAsyncMMMReportJob",n),i.latency("createAsyncMMMReportJob",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("createAsyncMMMReportJob",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return f.apply(this,arguments)}),tM=(_=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/metrics/conversion_product_report/async"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("createAsyncBrandCategoryReportJob",n),i.latency("createAsyncBrandCategoryReportJob",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("createAsyncBrandCategoryReportJob",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return _.apply(this,arguments)}),tE=(w=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/campaigns"),u={campaign_ids:t.campaign_ids,entity_statuses:t.entity_statuses,page_size:t.page_size,order:t.order,bookmark:t.bookmark},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getCampaigns",r),s.latency("getCampaigns",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getCampaigns",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return w.apply(this,arguments)}),tz=(h=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/campaigns/").concat(t.campaign_id),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getCampaign",r),s.latency("getCampaign",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getCampaign",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return h.apply(this,arguments)}),tF=(y=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/ad_groups"),u={campaign_ids:t.campaign_ids,ad_group_ids:t.ad_group_ids,translate_interests_to_names:t.translate_interests_to_names,entity_statuses:t.entity_statuses,page_size:t.page_size,order:t.order,bookmark:t.bookmark},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getAdGroups",r),s.latency("getAdGroups",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getAdGroups",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return y.apply(this,arguments)}),tO=(T=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/ad_groups/").concat(t.ad_group_id),u={translate_interests_to_names:t.translate_interests_to_names},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getAdGroup",r),s.latency("getAdGroup",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getAdGroup",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return T.apply(this,arguments)}),tG=(R=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/ads"),u={campaign_ids:t.campaign_ids,ad_group_ids:t.ad_group_ids,ad_ids:t.ad_ids,entity_statuses:t.entity_statuses,page_size:t.page_size,order:t.order,bookmark:t.bookmark},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getAds",r),s.latency("getAds",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getAds",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return R.apply(this,arguments)}),tI=(b=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/entity_summary"),u={entity_type:t.entity_type,parent_entity_id:t.parent_entity_id,objective_types:t.objective_types,entity_statuses:t.entity_statuses},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getEntitySummary",r),s.latency("getEntitySummary",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getEntitySummary",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return b.apply(this,arguments)}),tq=(x=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/campaigns/metrics"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("queryCampaignMetrics",n),i.latency("queryCampaignMetrics",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("queryCampaignMetrics",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return x.apply(this,arguments)}),tJ=(D=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/ads/").concat(t.ad_id,"/carousel_slots"),u={start_date:t.start_date,end_date:t.end_date,columns:t.columns,granularity:t.granularity,click_window_days:t.click_window_days,engagement_window_days:t.engagement_window_days,view_window_days:t.view_window_days,conversion_report_time:t.conversion_report_time,attribution_types:t.attribution_types,ingestion_sources:t.ingestion_sources,conversion_metric_type:t.conversion_metric_type},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getCarouselSlots",r),s.latency("getCarouselSlots",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getCarouselSlots",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return D.apply(this,arguments)}),tj=(k=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/keywords/report"),u={parent_id:t.parent_id,page_size:t.page_size,start_index:t.start_index,match_types:t.match_types,name:t.name},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getKeywordsReport",r),s.latency("getKeywordsReport",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getKeywordsReport",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return k.apply(this,arguments)}),tH=(A=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,e.next=6,a.post("/ads/v4/advertisers",t,!1);case 6:return c=e.sent,u=new Date,s&&(s.success("postAdvertisers",r),s.latency("postAdvertisers",u.getTime()-i.getTime(),r)),e.abrupt("return",c);case 12:throw e.prev=12,e.t0=e.catch(1),s&&s.failure("postAdvertisers",r),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t){return A.apply(this,arguments)}),tW=(L=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/terms_of_service"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("postTermsOfService",n),i.latency("postTermsOfService",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("postTermsOfService",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return L.apply(this,arguments)}),tK=(C=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).cachedApi,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/bid_floor"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("getCachedBidFloor",n),i.latency("getCachedBidFloor",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("getCachedBidFloor",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return C.apply(this,arguments)}),tN=(P=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/bid_floor"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("getBidFloor",n),i.latency("getBidFloor",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("getBidFloor",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return P.apply(this,arguments)}),tU=(S=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/promoted_product_groups"),u={ad_group_id:t.ad_group_id,promoted_product_group_ids:t.promoted_product_group_ids,entity_statuses:t.entity_statuses,page_size:t.page_size,order:t.order,bookmark:t.bookmark},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getProductGroups",r),s.latency("getProductGroups",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getProductGroups",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return S.apply(this,arguments)}),tQ=(B=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/product_groups/catalogs"),u={feed_profile_id:t.feed_profile_id,catalog_id:t.catalog_id},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getCatalogsProductGroups",r),s.latency("getCatalogsProductGroups",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getCatalogsProductGroups",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return B.apply(this,arguments)}),tV=(M=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/promoted_product_groups"),e.next=6,s.patch(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("modifyProductGroup",n),i.latency("modifyProductGroup",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("modifyProductGroup",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return M.apply(this,arguments)}),tZ=(E=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/boards"),u={page_size:t.page_size,sort:t.sort,bookmark:t.bookmark},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getAdvertiserBoards",r),s.latency("getAdvertiserBoards",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getAdvertiserBoards",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return E.apply(this,arguments)}),tX=(z=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/pins"),u={query:t.query,filter:t.filter,promotable:t.promotable,include_link:t.include_link,os_type:t.os_type,creative_types:t.creative_types,include_creator_analytics:t.include_creator_analytics,bookmark:t.bookmark,page_size:t.page_size,fetch_recommendations:t.fetch_recommendations},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getAdvertiserPins",r),s.latency("getAdvertiserPins",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getAdvertiserPins",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return z.apply(this,arguments)}),tY=(F=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/pins/sponsored"),u={include_creator_analytics:t.include_creator_analytics,bookmark:t.bookmark},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getSponsorEligiblePins",r),s.latency("getSponsorEligiblePins",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getSponsorEligiblePins",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return F.apply(this,arguments)}),t$=(O=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/metrics/templates/schedules/").concat(t.schedule_id,"/unsubscribe"),e.next=6,s.patch(u,r,!1);case 6:o=new Date,i&&(i.success("unsubscribeFromScheduledReport",n),i.latency("unsubscribeFromScheduledReport",o.getTime()-c.getTime(),n)),e.next=14;break;case 10:throw e.prev=10,e.t0=e.catch(1),i&&i.failure("unsubscribeFromScheduledReport",n),e.t0;case 14:case"end":return e.stop()}},e,null,[[1,10]])})),function(e,t,r){return O.apply(this,arguments)}),t1=(G=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversions/history"),u={granularity:t.granularity,start_date:t.start_date,end_date:t.end_date,timezone:t.timezone,ingestion_source:t.ingestion_source,event_type:t.event_type},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getConversionHistoryV3",r),s.latency("getConversionHistoryV3",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getConversionHistoryV3",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return G.apply(this,arguments)}),t0=(I=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversions/event_overview"),u={granularity:t.granularity,start_date:t.start_date,event_types:t.event_types,separate_cloned_events:t.separate_cloned_events,end_date:t.end_date,timezone:t.timezone,ingestion_sources:t.ingestion_sources},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getConversionEventOverview",r),s.latency("getConversionEventOverview",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getConversionEventOverview",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return I.apply(this,arguments)}),t7=(q=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversions/latest"),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getConversionLatest",r),s.latency("getConversionLatest",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getConversionLatest",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return q.apply(this,arguments)}),t3=(J=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversions/health"),u={criteria_group_key:t.criteria_group_key,lookback_period:t.lookback_period},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getConversionHealthStatus",r),s.latency("getConversionHealthStatus",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getConversionHealthStatus",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return J.apply(this,arguments)}),t2=(j=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversions/health/id_coverage"),u={ingestion_source:t.ingestion_source,lookback_period:t.lookback_period},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getConversionHealthIdCoverage",r),s.latency("getConversionHealthIdCoverage",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getConversionHealthIdCoverage",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return j.apply(this,arguments)}),t6=(H=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversions/health/selection"),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getConversionHealthSelection",r),s.latency("getConversionHealthSelection",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getConversionHealthSelection",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return H.apply(this,arguments)}),t4=(W=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversions/health/selection"),e.next=6,s.put(u,r,!1);case 6:o=new Date,i&&(i.success("updateConversionHealthSelection",n),i.latency("updateConversionHealthSelection",o.getTime()-c.getTime(),n)),e.next=14;break;case 10:throw e.prev=10,e.t0=e.catch(1),i&&i.failure("updateConversionHealthSelection",n),e.t0;case 14:case"end":return e.stop()}},e,null,[[1,10]])})),function(e,t,r){return W.apply(this,arguments)}),t5=(K=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversions/alerts"),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getConversionEventsAlerts",r),s.latency("getConversionEventsAlerts",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getConversionEventsAlerts",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return K.apply(this,arguments)}),t8=(N=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversions/alerts"),e.next=6,s.put(u,r,!1);case 6:o=new Date,i&&(i.success("putConversionEventsAlerts",n),i.latency("putConversionEventsAlerts",o.getTime()-c.getTime(),n)),e.next=14;break;case 10:throw e.prev=10,e.t0=e.catch(1),i&&i.failure("putConversionEventsAlerts",n),e.t0;case 14:case"end":return e.stop()}},e,null,[[1,10]])})),function(e,t,r){return N.apply(this,arguments)}),t9=(U=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/metrics/templates"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("createReportingTemplate",n),i.latency("createReportingTemplate",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("createReportingTemplate",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return U.apply(this,arguments)}),re=(Q=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/metrics/templates/").concat(t.template_id),e.next=6,s.patch(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("updateReportingTemplate",n),i.latency("updateReportingTemplate",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("updateReportingTemplate",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return Q.apply(this,arguments)}),rt=(V=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/metrics/templates/").concat(t.template_id),u={},e.next=7,a.delete(c,u,!1);case 7:o=new Date,s&&(s.success("deleteReportingTemplate",r),s.latency("deleteReportingTemplate",o.getTime()-i.getTime(),r)),e.next=15;break;case 11:throw e.prev=11,e.t0=e.catch(1),s&&s.failure("deleteReportingTemplate",r),e.t0;case 15:case"end":return e.stop()}},e,null,[[1,11]])})),function(e,t){return V.apply(this,arguments)}),rr=(Z=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/metrics/templates/").concat(t.template_id,"/schedule"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("createReportingTemplateSchedule",n),i.latency("createReportingTemplateSchedule",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("createReportingTemplateSchedule",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return Z.apply(this,arguments)}),rn=(X=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/metrics/templates/").concat(t.template_id,"/schedule"),e.next=6,s.put(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("updateReportingTemplateSchedule",n),i.latency("updateReportingTemplateSchedule",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("updateReportingTemplateSchedule",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return X.apply(this,arguments)}),ra=(Y=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/metrics/templates/").concat(t.template_id,"/schedule"),u={},e.next=7,a.delete(c,u,!1);case 7:o=new Date,s&&(s.success("deleteReportingTemplateSchedule",r),s.latency("deleteReportingTemplateSchedule",o.getTime()-i.getTime(),r)),e.next=15;break;case 11:throw e.prev=11,e.t0=e.catch(1),s&&s.failure("deleteReportingTemplateSchedule",r),e.t0;case 15:case"end":return e.stop()}},e,null,[[1,11]])})),function(e,t){return Y.apply(this,arguments)}),rs=($=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/metrics"),u={start_date:t.start_date,end_date:t.end_date,columns:t.columns,granularity:t.granularity,click_window_days:t.click_window_days,engagement_window_days:t.engagement_window_days,view_window_days:t.view_window_days,conversion_report_time:t.conversion_report_time,attribution_types:t.attribution_types},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("queryAdvertiserMetrics",r),s.latency("queryAdvertiserMetrics",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("queryAdvertiserMetrics",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return $.apply(this,arguments)}),ri=(ee=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/campaigns"),e.next=6,s.patch(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("updateCampaigns",n),i.latency("updateCampaigns",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("updateCampaigns",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return ee.apply(this,arguments)}),rc=(et=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/campaigns/automated_budgets"),u={currency:t.currency,objective_types:t.objective_types},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getAutomatedCampaignBudgets",r),s.latency("getAutomatedCampaignBudgets",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getAutomatedCampaignBudgets",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return et.apply(this,arguments)}),ru=(er=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversion_tags"),u={filter_deleted:t.filter_deleted,include_shared_tags:t.include_shared_tags},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getConversionTags",r),s.latency("getConversionTags",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getConversionTags",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return er.apply(this,arguments)}),ro=(en=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversion_tags/ocpm_eligible"),u={include_shared_tags:t.include_shared_tags},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getOcpmEligibleConversionTags",r),s.latency("getOcpmEligibleConversionTags",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getOcpmEligibleConversionTags",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return en.apply(this,arguments)}),rp=(ea=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c={entity_id:t.entity_id,start_time:t.start_time,end_time:t.end_time,page_size:t.page_size,pagination_token:t.pagination_token,user_id_filter:t.user_id_filter,field_filters:t.field_filters},e.next=7,a.get("/ads/v4/entity_history",c,!1);case 7:return u=e.sent,o=new Date,s&&(s.success("getEntityHistory",r),s.latency("getEntityHistory",o.getTime()-i.getTime(),r)),e.abrupt("return",u);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getEntityHistory",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return ea.apply(this,arguments)}),rd=(es=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/pca/suggestions/tto/windows"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("postRecommendedAttributionWindows",n),i.latency("postRecommendedAttributionWindows",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("postRecommendedAttributionWindows",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return es.apply(this,arguments)}),rg=(ei=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/order_lines"),u={bookmark:t.bookmark,page_size:t.page_size,order:t.order,include_spend:t.include_spend},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getOrderLines",r),s.latency("getOrderLines",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getOrderLines",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return ei.apply(this,arguments)}),rl=(ec=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/targeting/".concat(t.targeting_type),u={client_id:t.client_id,oauth_signature:t.oauth_signature,timestamp:t.timestamp,advertiser_id:t.advertiser_id},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getTargetingOptions",r),s.latency("getTargetingOptions",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getTargetingOptions",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return ec.apply(this,arguments)}),rv=(eu=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).cachedApi,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/targeting/".concat(t.targeting_type),u={client_id:t.client_id,oauth_signature:t.oauth_signature,timestamp:t.timestamp,advertiser_id:t.advertiser_id},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getCachedTargetingOptions",r),s.latency("getCachedTargetingOptions",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getCachedTargetingOptions",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eu.apply(this,arguments)}),rm=(eo=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/notification_messages/".concat(t.surface_type),u={recipient_id:t.recipient_id,recipient_type:t.recipient_type,lifecycle_statuses:t.lifecycle_statuses,user_action_statuses:t.user_action_statuses,notification_keys:t.notification_keys,aggregated:t.aggregated,bypass_deduplication:t.bypass_deduplication,sf_solution_line_item_ids:t.sf_solution_line_item_ids,sf_solution_ids:t.sf_solution_ids,sf_opportunity_ids:t.sf_opportunity_ids,filter_invalid_notifications:t.filter_invalid_notifications,should_activate_experiments:t.should_activate_experiments,limit_per_notification_type:t.limit_per_notification_type,entity_ids:t.entity_ids,entity_types:t.entity_types,notification_types:t.notification_types,page_size:t.page_size,bookmark:t.bookmark},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getNotificationMessages",r),s.latency("getNotificationMessages",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getNotificationMessages",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eo.apply(this,arguments)}),rf=(ep=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/pca/suggestions/tto/conversion/coverage"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("postConversionWindowCoverage",n),i.latency("postConversionWindowCoverage",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("postConversionWindowCoverage",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return ep.apply(this,arguments)}),r_=(ed=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/keywords"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("createBulkKeywords",n),i.latency("createBulkKeywords",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("createBulkKeywords",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return ed.apply(this,arguments)}),rw=(eg=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/business_information"),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getBusinessInformation",r),s.latency("getBusinessInformation",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getBusinessInformation",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eg.apply(this,arguments)}),rh=(el=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/audiences/").concat(t.audience_id,"/debug"),u={start_date:t.start_date,end_date:t.end_date},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getAudienceDebugInformation",r),s.latency("getAudienceDebugInformation",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getAudienceDebugInformation",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return el.apply(this,arguments)}),ry=(ev=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/audiences"),u={page_size:t.page_size,order:t.order,bookmark:t.bookmark,audience_type:t.audience_type,search_query:t.search_query,flatten_rule:t.flatten_rule,start_index:t.start_index,order_by:t.order_by,audience_ids:t.audience_ids,audience_types:t.audience_types,audience_statuses:t.audience_statuses},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getAudiences",r),s.latency("getAudiences",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getAudiences",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return ev.apply(this,arguments)}),rT=(em=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/audiences/").concat(t.audience_id),e.next=6,s.patch(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("updateAudience",n),i.latency("updateAudience",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("updateAudience",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return em.apply(this,arguments)}),rR=(ef=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/discounts"),u={active:t.active,invoice_credits_only:t.invoice_credits_only,prepaid_credit_only:t.prepaid_credit_only},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getActiveDiscounts",r),s.latency("getActiveDiscounts",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getActiveDiscounts",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return ef.apply(this,arguments)}),rb=(e_=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/billing_profile_data"),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getBillingProfileData",r),s.latency("getBillingProfileData",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getBillingProfileData",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return e_.apply(this,arguments)}),rx=(ew=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c={currency:t.currency},e.next=7,a.get("/ads/v4/resources/ads/daily_budget_warning_threshold",c,!1);case 7:return u=e.sent,o=new Date,s&&(s.success("getDailyBudgetWarningThreshold",r),s.latency("getDailyBudgetWarningThreshold",o.getTime()-i.getTime(),r)),e.abrupt("return",u);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getDailyBudgetWarningThreshold",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return ew.apply(this,arguments)}),rD=(eh=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,e.next=6,a.patch("/ads/v4/business_entities",t,!1);case 6:return c=e.sent,u=new Date,s&&(s.success("setMultipleBizEntityProperties",r),s.latency("setMultipleBizEntityProperties",u.getTime()-i.getTime(),r)),e.abrupt("return",c);case 12:throw e.prev=12,e.t0=e.catch(1),s&&s.failure("setMultipleBizEntityProperties",r),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t){return eh.apply(this,arguments)}),rk=(ey=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,e.next=6,a.put("/ads/v4/business_entities",t,!1);case 6:return c=e.sent,u=new Date,s&&(s.success("setMultipleBizEntityPropertiesFullUpdate",r),s.latency("setMultipleBizEntityPropertiesFullUpdate",u.getTime()-i.getTime(),r)),e.abrupt("return",c);case 12:throw e.prev=12,e.t0=e.catch(1),s&&s.failure("setMultipleBizEntityPropertiesFullUpdate",r),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t){return ey.apply(this,arguments)}),rA=(eT=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,e.next=6,a.post("/ads/v4/business_entities",t,!1);case 6:return c=e.sent,u=new Date,s&&(s.success("getMultipleBizEntityProperties",r),s.latency("getMultipleBizEntityProperties",u.getTime()-i.getTime(),r)),e.abrupt("return",c);case 12:throw e.prev=12,e.t0=e.catch(1),s&&s.failure("getMultipleBizEntityProperties",r),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t){return eT.apply(this,arguments)}),rL=(eR=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/ssio"),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getSelfServiceInsertionOrderEligibilityAndFormData",r),s.latency("getSelfServiceInsertionOrderEligibilityAndFormData",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getSelfServiceInsertionOrderEligibilityAndFormData",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eR.apply(this,arguments)}),rC=(eb=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/targeting_profiles"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("createTargetingProfile",n),i.latency("createTargetingProfile",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("createTargetingProfile",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return eb.apply(this,arguments)}),rP=(ex=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/targeting_profiles"),u={page_size:t.page_size,order:t.order,bookmark:t.bookmark,order_by:t.order_by,start_index:t.start_index,include_sizing:t.include_sizing,search_query:t.search_query},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getTargetingProfiles",r),s.latency("getTargetingProfiles",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getTargetingProfiles",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return ex.apply(this,arguments)}),rS=(eD=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/targeting_profiles"),e.next=6,s.patch(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("updateTargetingProfile",n),i.latency("updateTargetingProfile",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("updateTargetingProfile",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return eD.apply(this,arguments)}),rB=(ek=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/billing_profiles"),u={billing_profile_id:t.billing_profile_id},e.next=7,a.delete(c,u,!1);case 7:o=new Date,s&&(s.success("deleteBillingProfile",r),s.latency("deleteBillingProfile",o.getTime()-i.getTime(),r)),e.next=15;break;case 11:throw e.prev=11,e.t0=e.catch(1),s&&s.failure("deleteBillingProfile",r),e.t0;case 15:case"end":return e.stop()}},e,null,[[1,11]])})),function(e,t){return ek.apply(this,arguments)}),rM=(eA=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/billing_profiles"),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getBillingProfiles",r),s.latency("getBillingProfiles",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getBillingProfiles",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eA.apply(this,arguments)}),rE=(eL=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/sfdc_account"),u={},e.next=7,a.post(c,u,!1);case 7:o=new Date,s&&(s.success("createSFDCAccount",r),s.latency("createSFDCAccount",o.getTime()-i.getTime(),r)),e.next=15;break;case 11:throw e.prev=11,e.t0=e.catch(1),s&&s.failure("createSFDCAccount",r),e.t0;case 15:case"end":return e.stop()}},e,null,[[1,11]])})),function(e,t){return eL.apply(this,arguments)}),rz=(eC=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/sfdc_account"),u={},e.next=7,a.put(c,u,!1);case 7:o=new Date,s&&(s.success("updateSFDCAccount",r),s.latency("updateSFDCAccount",o.getTime()-i.getTime(),r)),e.next=15;break;case 11:throw e.prev=11,e.t0=e.catch(1),s&&s.failure("updateSFDCAccount",r),e.t0;case 15:case"end":return e.stop()}},e,null,[[1,11]])})),function(e,t){return eC.apply(this,arguments)}),rF=(eP=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/switch_primary_secondary_billing_profiles"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("switchPrimaryAndSecondaryBillingProfiles",n),i.latency("switchPrimaryAndSecondaryBillingProfiles",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("switchPrimaryAndSecondaryBillingProfiles",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return eP.apply(this,arguments)}),rO=(eS=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversions/deduplication_metrics"),u={ingestion_source_a:t.ingestion_source_a,ingestion_source_b:t.ingestion_source_b,start_date:t.start_date,end_date:t.end_date},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getConversionDeduplicationData",r),s.latency("getConversionDeduplicationData",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getConversionDeduplicationData",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eS.apply(this,arguments)}),rG=(eB=tw(regeneratorRuntime.mark(function e(t){var r,n,a,s,i,c,u;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=(r=(0,tf.t)()).api,a=r.statsLog,e.prev=1,s=new Date,i={},e.next=7,n.get("/ads/v4/interests",i,!1);case 7:return c=e.sent,u=new Date,a&&(a.success("getInterests",t),a.latency("getInterests",u.getTime()-s.getTime(),t)),e.abrupt("return",c);case 13:throw e.prev=13,e.t0=e.catch(1),a&&a.failure("getInterests",t),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e){return eB.apply(this,arguments)}),rI=(eM=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/prepay_with_billing_profile"),e.next=6,s.post(u,r,!1);case 6:o=new Date,i&&(i.success("prepayWithBillingProfile",n),i.latency("prepayWithBillingProfile",o.getTime()-c.getTime(),n)),e.next=14;break;case 10:throw e.prev=10,e.t0=e.catch(1),i&&i.failure("prepayWithBillingProfile",n),e.t0;case 14:case"end":return e.stop()}},e,null,[[1,10]])})),function(e,t,r){return eM.apply(this,arguments)}),rq=(eE=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/get_tax_from_avalara"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("getTaxFromAvalara",n),i.latency("getTaxFromAvalara",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("getTaxFromAvalara",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return eE.apply(this,arguments)}),rJ=(ez=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversion_tags/").concat(t.conversion_tag_id,"/event_metrics"),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getConversionTagEventMetrics",r),s.latency("getConversionTagEventMetrics",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getConversionTagEventMetrics",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return ez.apply(this,arguments)}),rj=(eF=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,e.next=6,a.post("/ads/v4/geo_suggestions/validate",t,!1);case 6:return c=e.sent,u=new Date,s&&(s.success("validateGeo",r),s.latency("validateGeo",u.getTime()-i.getTime(),r)),e.abrupt("return",c);case 12:throw e.prev=12,e.t0=e.catch(1),s&&s.failure("validateGeo",r),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t){return eF.apply(this,arguments)}),rH=(eO=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/conversion_tags/wizard"),u={url:t.url},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getConversionTagWizard",r),s.latency("getConversionTagWizard",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getConversionTagWizard",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eO.apply(this,arguments)}),rW=(eG=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/insertion_orders"),u={gid_info:t.gid_info,order_line_ids:t.order_line_ids,viewed_user:t.viewed_user,sterling_on_steroids_ldap:t.sterling_on_steroids_ldap,user_id:t.user_id},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getInsertionOrders",r),s.latency("getInsertionOrders",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getInsertionOrders",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eG.apply(this,arguments)}),rK=(eI=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/preferences/".concat(t.advertiser_id),u={level:t.level,key:t.key},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getPreferences",r),s.latency("getPreferences",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getPreferences",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eI.apply(this,arguments)}),rN=(eq=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/preferences/".concat(t.advertiser_id),e.next=6,s.put(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("upsertPreferences",n),i.latency("upsertPreferences",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("upsertPreferences",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return eq.apply(this,arguments)}),rU=(eJ=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/prepaid_monthly_spend"),u={start_timestamp:t.start_timestamp,end_timestamp:t.end_timestamp},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getPrepaidMonthlySpendByAdvertiserId",r),s.latency("getPrepaidMonthlySpendByAdvertiserId",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getPrepaidMonthlySpendByAdvertiserId",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eJ.apply(this,arguments)}),rQ=(ej=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/bulk_generate_request_id"),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("generateBulkRequestId",r),s.latency("generateBulkRequestId",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("generateBulkRequestId",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return ej.apply(this,arguments)}),rV=(eH=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/bulk_editor_validate"),u={request_id:t.request_id,in_admin_mode:t.in_admin_mode},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("validateBulkEditorRequest",r),s.latency("validateBulkEditorRequest",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("validateBulkEditorRequest",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eH.apply(this,arguments)}),rZ=(eW=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/bulk_editor_start"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("startBulkEditorJob",n),i.latency("startBulkEditorJob",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("startBulkEditorJob",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return eW.apply(this,arguments)}),rX=(eK=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/ad_previews"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("previewAd",n),i.latency("previewAd",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("previewAd",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return eK.apply(this,arguments)}),rY=(eN=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/ad_previews/enabled"),u={},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("previewAdEnabled",r),s.latency("previewAdEnabled",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("previewAdEnabled",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eN.apply(this,arguments)}),r$=(eU=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/prepaid_monthly_campaign_spend"),u={start_of_month_timestamp:t.start_of_month_timestamp},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getPrepaidCampaignMonthlySpendDetailsByAdvertiserId",r),s.latency("getPrepaidCampaignMonthlySpendDetailsByAdvertiserId",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getPrepaidCampaignMonthlySpendDetailsByAdvertiserId",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eU.apply(this,arguments)}),r1=(eQ=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c={account_id:t.account_id,account_type:t.account_type,share_type:t.share_type},e.next=7,a.get("/ads/v4/audiences/shared",c,!1);case 7:return u=e.sent,o=new Date,s&&(s.success("getSharedAudiences",r),s.latency("getSharedAudiences",o.getTime()-i.getTime(),r)),e.abrupt("return",u);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getSharedAudiences",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eQ.apply(this,arguments)}),r0=(eV=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/audiences/advertisers/shared"),e.next=6,s.patch(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("updateSharedAudienceAdvertiserToAdvertiser",n),i.latency("updateSharedAudienceAdvertiserToAdvertiser",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("updateSharedAudienceAdvertiserToAdvertiser",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return eV.apply(this,arguments)}),r7=(eZ=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/audiences/businesses/shared"),e.next=6,s.patch(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("updateSharedAudienceAdvertiserToBusiness",n),i.latency("updateSharedAudienceAdvertiserToBusiness",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("updateSharedAudienceAdvertiserToBusiness",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return eZ.apply(this,arguments)}),r3=(eX=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c={audience_id:t.audience_id,requestor_account_id:t.requestor_account_id,requestor_account_type:t.requestor_account_type,recipient_account_type:t.recipient_account_type},e.next=7,a.get("/ads/v4/audiences/shared/accounts",c,!1);case 7:return u=e.sent,o=new Date,s&&(s.success("getSharedAccountsForAudience",r),s.latency("getSharedAccountsForAudience",o.getTime()-i.getTime(),r)),e.abrupt("return",u);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getSharedAccountsForAudience",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return eX.apply(this,arguments)}),r2=(eY=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/lead_forms"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("createLeadForms",n),i.latency("createLeadForms",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("createLeadForms",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return eY.apply(this,arguments)}),r6=(e$=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/lead_forms"),e.next=6,s.patch(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("updateLeadForms",n),i.latency("updateLeadForms",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("updateLeadForms",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return e$.apply(this,arguments)}),r4=(e1=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/leads_export"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("createLeadsExportJob",n),i.latency("createLeadsExportJob",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("createLeadsExportJob",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return e1.apply(this,arguments)}),r5=(e0=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/leads_export/").concat(t.leads_export_id),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getLeadsExportJob",r),s.latency("getLeadsExportJob",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getLeadsExportJob",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return e0.apply(this,arguments)}),r8=(e7=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).cachedApi,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/aggregated_metrics"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("getAggregatedMetrics",n),i.latency("getAggregatedMetrics",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("getAggregatedMetrics",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return e7.apply(this,arguments)}),r9=(e3=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).cachedApi,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/campaigns/metrics"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("getCachedCampaignMetrics",n),i.latency("getCachedCampaignMetrics",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("getCachedCampaignMetrics",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return e3.apply(this,arguments)}),ne=(e2=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).cachedApi,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/ad_groups/metrics"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("getCachedAdGroupMetrics",n),i.latency("getCachedAdGroupMetrics",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("getCachedAdGroupMetrics",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return e2.apply(this,arguments)}),nt=(e6=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).cachedApi,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/ads/metrics"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("getCachedAdMetrics",n),i.latency("getCachedAdMetrics",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("getCachedAdMetrics",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return e6.apply(this,arguments)}),nr=(e4=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).cachedApi,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/product_groups/metrics"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("getCachedProductGroupMetrics",n),i.latency("getCachedProductGroupMetrics",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("getCachedProductGroupMetrics",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return e4.apply(this,arguments)}),nn=(e5=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).cachedApi,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/product_groups/top_product_item_metrics"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("getCachedProductItemMetrics",n),i.latency("getCachedProductItemMetrics",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("getCachedProductItemMetrics",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return e5.apply(this,arguments)}),na=(e8=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).cachedApi,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/campaigns/targeting_metrics"),u={campaign_ids:t.campaign_ids,start_date:t.start_date,end_date:t.end_date,targeting_types:t.targeting_types,columns:t.columns,granularity:t.granularity,click_window_days:t.click_window_days,engagement_window_days:t.engagement_window_days,view_window_days:t.view_window_days,conversion_report_time:t.conversion_report_time,attribution_types:t.attribution_types,custom_column_ids:t.custom_column_ids,ingestion_sources:t.ingestion_sources,conversion_metric_type:t.conversion_metric_type,sort_columns:t.sort_columns,sort_ascending:t.sort_ascending},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getCachedCampaignTargetingMetrics",r),s.latency("getCachedCampaignTargetingMetrics",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getCachedCampaignTargetingMetrics",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return e8.apply(this,arguments)}),ns=(e9=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).cachedApi,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/ad_groups/targeting_metrics"),u={ad_group_ids:t.ad_group_ids,start_date:t.start_date,end_date:t.end_date,targeting_types:t.targeting_types,columns:t.columns,granularity:t.granularity,click_window_days:t.click_window_days,engagement_window_days:t.engagement_window_days,view_window_days:t.view_window_days,conversion_report_time:t.conversion_report_time,attribution_types:t.attribution_types,custom_column_ids:t.custom_column_ids,ingestion_sources:t.ingestion_sources,conversion_metric_type:t.conversion_metric_type,sort_columns:t.sort_columns,sort_ascending:t.sort_ascending},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getCachedAdGroupTargetingMetrics",r),s.latency("getCachedAdGroupTargetingMetrics",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getCachedAdGroupTargetingMetrics",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return e9.apply(this,arguments)}),ni=(te=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).cachedApi,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/ads/targeting_metrics"),u={ad_ids:t.ad_ids,start_date:t.start_date,end_date:t.end_date,targeting_types:t.targeting_types,columns:t.columns,granularity:t.granularity,click_window_days:t.click_window_days,engagement_window_days:t.engagement_window_days,view_window_days:t.view_window_days,conversion_report_time:t.conversion_report_time,attribution_types:t.attribution_types,custom_column_ids:t.custom_column_ids,ingestion_sources:t.ingestion_sources,conversion_metric_type:t.conversion_metric_type,sort_columns:t.sort_columns,sort_ascending:t.sort_ascending},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getCachedAdTargetingMetrics",r),s.latency("getCachedAdTargetingMetrics",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getCachedAdTargetingMetrics",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return te.apply(this,arguments)}),nc=(tt=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).cachedApi,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/keywords/delivery_metrics"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("getCachedKeywordDeliveryMetrics",n),i.latency("getCachedKeywordDeliveryMetrics",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("getCachedKeywordDeliveryMetrics",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return tt.apply(this,arguments)}),nu=(tr=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).cachedApi,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/ad_groups/pacing"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("getCachedAdGroupPacingMetrics",n),i.latency("getCachedAdGroupPacingMetrics",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("getCachedAdGroupPacingMetrics",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return tr.apply(this,arguments)}),no=(tn=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/lead_forms/").concat(t.lead_form_id),u={},e.next=7,a.get(c,u,!0);case 7:return o=e.sent,p=new Date,s&&(s.success("getLeadForm",r),s.latency("getLeadForm",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getLeadForm",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return tn.apply(this,arguments)}),np=(ta=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/policy"),u={business_id:t.business_id},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getAdvertiserPolicy",r),s.latency("getAdvertiserPolicy",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getAdvertiserPolicy",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return ta.apply(this,arguments)}),nd=(ts=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/goals/upsert"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("upsertGoals",n),i.latency("upsertGoals",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("upsertGoals",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return ts.apply(this,arguments)}),ng=(ti=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/goals"),u={entity_type:t.entity_type,entity_ids:t.entity_ids},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getGoals",r),s.latency("getGoals",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getGoals",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return ti.apply(this,arguments)}),nl=(tc=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/goals/attainment_data"),u={campaign_ids:t.campaign_ids,start_date:t.start_date,end_date:t.end_date,conversion_report_time:t.conversion_report_time,ingestion_sources:t.ingestion_sources,attribution_types:t.attribution_types,conversion_metric_type:t.conversion_metric_type,should_zero_fill:t.should_zero_fill},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getGoalAttainmentMetrics",r),s.latency("getGoalAttainmentMetrics",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getGoalAttainmentMetrics",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return tc.apply(this,arguments)}),nv=(tu=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getAdvertiser",r),s.latency("getAdvertiser",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getAdvertiser",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return tu.apply(this,arguments)}),nm=(to=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).cachedApi,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/standard_ad_feed/custom_labels"),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getStandardAdFeedCustomLabels",r),s.latency("getStandardAdFeedCustomLabels",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getStandardAdFeedCustomLabels",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return to.apply(this,arguments)}),nf=(tp=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).cachedApi,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/standard_ad_feed/filter_summary"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("getStandardAdFeedFilterSummary",n),i.latency("getStandardAdFeedFilterSummary",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("getStandardAdFeedFilterSummary",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return tp.apply(this,arguments)}),n_=(td=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/pins/metrics"),e.next=6,s.post(u,r,!0);case 6:return o=e.sent,p=new Date,i&&(i.success("queryPinMetrics",n),i.latency("queryPinMetrics",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("queryPinMetrics",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return td.apply(this,arguments)}),nw=(tg=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/promoted_product_groups/").concat(t.promoted_catalog_product_group_id),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getProductGroup",r),s.latency("getProductGroup",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getProductGroup",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return tg.apply(this,arguments)}),nh=(tl=tw(regeneratorRuntime.mark(function e(t,r,n){var a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=(a=(0,tf.t)()).api,i=a.statsLog,e.prev=1,c=new Date,u="/ads/v4/advertisers/".concat(t.advertiser_id,"/product_groups/top_product_item_metrics"),e.next=6,s.post(u,r,!1);case 6:return o=e.sent,p=new Date,i&&(i.success("getProductGroupItemsMetrics",n),i.latency("getProductGroupItemsMetrics",p.getTime()-c.getTime(),n)),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),i&&i.failure("getProductGroupItemsMetrics",n),e.t0;case 16:case"end":return e.stop()}},e,null,[[1,12]])})),function(e,t,r){return tl.apply(this,arguments)}),ny=(tv=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c={advertiser_ids:t.advertiser_ids,actions:t.actions},e.next=7,a.get("/ads/v4/advertisers/actions",c,!1);case 7:return u=e.sent,o=new Date,s&&(s.success("getAllowedAdvertisersForActionList",r),s.latency("getAllowedAdvertisersForActionList",o.getTime()-i.getTime(),r)),e.abrupt("return",u);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getAllowedAdvertisersForActionList",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return tv.apply(this,arguments)}),nT=(tm=tw(regeneratorRuntime.mark(function e(t,r){var n,a,s,i,c,u,o,p;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=(0,tf.t)()).api,s=n.statsLog,e.prev=1,i=new Date,c="/ads/v4/advertisers/".concat(t.advertiser_id,"/advertiser_settings"),u={},e.next=7,a.get(c,u,!1);case 7:return o=e.sent,p=new Date,s&&(s.success("getAdvertiserSettings",r),s.latency("getAdvertiserSettings",p.getTime()-i.getTime(),r)),e.abrupt("return",o);case 13:throw e.prev=13,e.t0=e.catch(1),s&&s.failure("getAdvertiserSettings",r),e.t0;case 17:case"end":return e.stop()}},e,null,[[1,13]])})),function(e,t){return tm.apply(this,arguments)})},438167:function(e,t,r){r.r(t),r.d(t,{addAPIResponse:function(){return v},addAPIResponseAndCheckParams:function(){return m},clearResponsesAndErrors:function(){return l},default:function(){return u},setAPIError:function(){return d},setAPIResponse:function(){return o},setAPIResponseAndCheckParams:function(){return p},setAPIResponseAndReturnResolveFunctor:function(){return g}});var n=r(453880);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var r=0;r