[image: Imagen 7-2-22 a las 17.47.jpg]

El lunes, 7 de febrero de 2022 a las 17:45:35 UTC+1, Iván López escribió:

> Hello,
> This is a query Im trying to do in my request trough Google Ads API (V8). 
> Everything is going ok, but the field "bidding_strategy.type" is not coming 
> in the response attributes. I also tried to access "bidding_strategy.id" 
> and "bidding_strategy.name", but the result is the same, nothing.
>
> query = """
> SELECT
> campaign.id,
> ad_group.id,
> ad_group_criterion.criterion_id,
> metrics.conversions,
> metrics.value_per_conversion,
> metrics.conversions_value,
> metrics.cost_micros,
> metrics.clicks,
> ad_group_criterion.keyword.text,
> ad_group_criterion.cpc_bid_micros,
> ad_group_criterion.keyword.match_type,
> bidding_strategy.type,
> bidding_strategy. id,
> bidding_strategy.name,
> ad_group_criterion.position_estimates.first_page_cpc_micros
> FROM keyword_view WHERE campaign.advertising_channel_type = 'SEARCH'
> AND ad_group.status = 'ENABLED'
> AND metrics.conversions > 0
> AND ad_group_criterion.status = 'ENABLED'
> AND ad_group_criterion.negative = 'false'
> AND campaign.status = 'ENABLED'
> AND ad_group_criterion.system_serving_status = 'ELIGIBLE'
> AND campaign.name NOT LIKE 'brand'
> AND campaign.name NOT LIKE 'BRAND'
> AND campaign.name NOT LIKE 'marca'
> AND campaign.name NOT LIKE 'MARCA'
> AND segments.date BETWEEN '{start_date}' AND '{end_date}'""".format(
> start_date=from_date,
> end_date=end_date)
>
> Here is an example of the results in this query:
>  campaign {
>     resource_name: "customers/7910637076/campaigns/100925979"
>     id: 100925979
>   }
>   ad_group {
>     resource_name: "customers/7910637076/adGroups/4243192059 
> <(424)%20319-2059>"
>     id: 4243192059 <(424)%20319-2059>
>   }
>   metrics {
>     clicks: 2253
>     value_per_conversion: 78.24969001993682
>     conversions_value: 31843.68693971
>     conversions: 406.949688
>     cost_micros: 22610000
>   }
>   ad_group_criterion {
>     resource_name: 
> "customers/7910637076/adGroupCriteria/4243192059~36756703161"
>     position_estimates {
>       first_page_cpc_micros: 10000
>     }
>     keyword {
>       match_type: EXACT
>       text: "bodeboca"
>     }
>     criterion_id: 36756703161
>     cpc_bid_micros: 10000
>   }
>   keyword_view {
>     resource_name: 
> "customers/7910637076/keywordViews/4243192059~36756703161"
>   }
> }
>
> The documentation from keyword_view (
> https://developers.google.com/google-ads/api/fields/v7/keyword_view) says 
> that this is the way. And this field is returned when I ask for the same 
> request through Adwords API, but we need to migrate it to Google Ads API 
> since you are gonna to deprecate it.
>
> Some help, please :) 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0d031726-9781-498d-a0b9-6ec961ced3a3n%40googlegroups.com.
  • Bi... Iván López
    • ... Iván López
      • ... Iván López
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Marc Kamphuis
            • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to