0

Ich versuche, die Anzeigenausgaben und App-Installationen für meine App mithilfe der Facebook Graph API v2.11 für das Marketing zu erhalten. Im Graph API Explorer, wenn ich versuche,Wie kann ich die Facebook Graph API-Abfrage im Graph API Explorer für mein Anzeigenkonto weiter filtern?

/act_<my account>/campaigns?fields=insights{actions,spend}&time_range={'since':'2017-07-07','until':'2017-12-12'} 

In der Ausgabe unter „Einblicke“, bekomme ich ein Objekt dieser Art:

"data": [ 
     { 
     "actions": [    
      { 
      "action_type": "comment", 
      "value": "3" 
      }, 
      { 
      "action_type": "like", 
      "value": "33" 
      }, 
      { 
      "action_type": "link_click", 
      "value": "1531" 
      }, 
      { 
      "action_type": "mobile_app_install", 
      "value": "1049" 
      } 
     ], 
     "spend": "8621.03", 
     "date_start": "2017-10-28", 
     "date_stop": "2017-11-26" 
     } 
    ] 

Wenn ich es will nur die Aktionen holen, wo Aktionstyp ist "mobile_app_install", wie kann ich meine Abfrage weiter filtern?

Antwort