1
我試圖用facebook ads api查詢facebook關鍵字。
我的問題是關鍵字包含括號。我發送給Facebook之前,我的字符串urlencode
,但它仍然無法正常工作。
例如,如果我想查詢誰住在美國和像蘋果公司的用戶,我查詢以下網址:。查詢包含括號的facebook關鍵字
https://graph.facebook.com/act_19720295/targetingsentencelines?targeting_spec={%22countries%22:[%22US%22],%22keywords%22:[%22Apple+Inc.%22]}&access_token=MY_ACCESS_TOKEN
導致以下:
{
"params": {
"countries": [
"US"
],
"keywords": [
"apple inc"
]
},
"targetingsentencelines": [
"who live in the United States",
"who like apple inc"
]
}
如果我添加其中包含另一個關鍵字括弧 「的App Store(iOS版)」,Facebook的忽略它:
https://graph.facebook.com/act_19720295/targetingsentencelines?targeting_spec={%22countries%22:[%22US%22],%22keywords%22:[%22Apple+Inc.%22,%22App+Store+%28iOS%29%22,%22%22]}&access_token=MY_ACCESS_TOKEN
我仍然得到同樣的結果:
{
"params": {
"countries": [
"US"
],
"keywords": [
"apple inc"
]
},
"targetingsentencelines": [
"who live in the United States",
"who like apple inc"
]
}
有沒有人有任何想法爲什麼?