Hi Jia,

I had to remove your post because it contains logs. Here's a redacted version:

Hi, at first, I used this query,

SELECT segments.product_item_id, campaign.name FROM shopping_performance_view 
WHERE campaign.name = \'auto SSC for all\' AND segments.date DURING LAST_7_DAYS 
limit 2

And the result is,

results {
campaign {
resource_name: "rn"
name: "auto SSC for all"
}
shopping_performance_view {
resource_name: "rn"
}
}
results {
campaign {
resource_name: "rn"
name: "auto SSC for all"
}
segments {
product_item_id: "id"
}
shopping_performance_view {
resource_name: "rn"
}
}
field_mask {
paths: "segments.product_item_id"
paths: "campaign.name"
}
request_id: "PWHwmCtouQCfF4LQyE_3EQ"

Failure message: null
Status: Status{code=OK, description=null, cause=null}.

In the first result, “segments”is missing.

However, after I changed “product_item_id” to “product_title”in query, then I 
got the right result.
Response
--------
Body: results {
campaign {
resource_name: "rn"
name: "auto SSC for all"
}
segments {
product_title: 
"[\344\270\213\345\226\256\350\263\272200]\344\271\235\346\234\210\347\266\240\350\214\266\351\230\262\350\255\267\346\267\250\346\211\213\346\266\262(4000ml
 / 4\346\241\266 / \347\256\261)"
}
shopping_performance_view {
resource_name: "rn"
}
}
results {
campaign {
resource_name: "rn"
name: "auto SSC for all"
}
segments {
product_title: 
"[\344\270\213\345\226\256\350\263\272200]\345\210\251\350\255\267\346\250\202 
\346\210\220\350\244\262\350\244\262\345\236\2134\346\254\241\345\260\277\351\207\217(m/l/ll)"
}
shopping_performance_view {
resource_name: "rn"
}
}
field_mask {
paths: "segments.product_title"
paths: "campaign.name"
}
request_id: "QhXorKrSy1ZYXkFKYcZLFQ"

Failure message: null
Status: Status{code=OK, description=null, cause=null}.

So is there something wrong?


Regards,

Aryeh Baker
Google Ads API Team
ref:_00D1U1174p._5004Q2Uk0SW:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2UxlL000000000000000000000000000000000000000000000R5PQI200CtGMsp_0SAK6ldrOGR5zhA%40sfdc.net.
  • se... 'Jia, Hongchao' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... 'Jia Hongchao' via Google Ads API and AdWords API Forum
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to