Chào mừng bạn đến với bảng nhớ tạm của Gboard, bất kỳ văn bản nào bạn sao
chép sẽ được lưu tại đây.Sử dụng biểu tượng chỉnh sửa để ghim, thêm hoặc
xóa đoạn.Nhấn vào một đoạn để dán vào hộp văn bản.Chạm và giữ một đoạn để
ghim đoạn đó. Các đoạn đã bỏ ghim sẽ bị xóa sau 1 giờ.

Vào 6:05, Th 3, 15 thg 3, 2022 Leo Sanchez <[email protected]>
đã viết:

> Hi,
>
> As we are in the process of migrating away from AdWords API to Google Ads
> API we found a discrepancy in the data Google Ads API is returning for many
> clients regarding the CampaingCriterion, specifically the ones with type
> USER_LIST and the user_list that should be related to it.
>
> For a particular client AdWords is returning 69 CampaignCriterion objects
> and all of them have the CriterionUserList object present. That'd be id,
> userListId, userListName, etc.
> The same client but in Google Ads API has also 69 CampaignCriterion
> objects *but *only 65 have the CriterionUserList object present and the
> other 4 don't have a criterion at all.
> This is a problem because our code is expecting the Google Ads API to have
> the same info as AdWords API and when doing a comparation between objects
> we don't know what info we should trust.
>
> We are doing the following query in Google Ads API (I removed some fields
> to make it shorter and left only what I feel it's important):
>
> Select campaign.id,
> campaign_criterion.criterion_id,
> campaign_criterion.type,
> campaign_criterion.user_list.user_list,
> user_list.id,
> user_list.name,
> user_list.membership_status,
> user_list.description
> From campaign_criterion
> Where campaign.id = XXXXX AND campaign_criterion.type IN ('USER_LIST')
> AND campaign_criterion.status IN ('ENABLED')
> ORDER BY campaign_criterion.criterion_id
>
> This is good enough to get the info from the user_list table (since we
> can't really joing from it) and return it alongside the CampaignCriterion.
> As I mentioned this works for 65 objects, but 4 of them do have a
> campaign_criterion.user_list.user_list but no userl_list object.
> I even queried the user_list table with a simple select for that specific
> customerId and it returned a lot of userList objects but not the ones I
> know are missing from the CampaignCriterion call I commented before.
>
> Is there a specific or correct way to do the CampaignCriterion query to
> get all the info we need? Is there any filter I should add the tell the API
> that I want all the criterions from a CampaignCriterion no matter what is
> the status, name and such? I'm not sure what we're missing here.
>
> Thanks in advance,
> Leo
>
>
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/88195fab-cfb8-4082-a4af-b321fcfa17e2n%40googlegroups.com
> <https://groups.google.com/d/msgid/adwords-api/88195fab-cfb8-4082-a4af-b321fcfa17e2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAGPr9nKFaqkmrkS%3DAyDPN9bFRw57aAmzEt0S5ocYW%2BLVoTucAg%40mail.gmail.com.
  • Ad... Leo Sanchez
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Leo Sanchez
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... Ngon Nguyen
      • ... Leo Sanchez
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Leo Sanchez
            • ... Leo Sanchez
              • ... Leo Sanchez

Reply via email to