Re: Bid_strategy_type enum incompatibility

2020-09-15 Thread 'Ido Karnon' via AdWords API and Google Ads API Forum
Mat's suggestion was great, didn't know that was an option.
Thanks for your help!


On Mon, Sep 14, 2020 at 11:09 PM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hi Ido,
>
> As an alternative to the *Reply privately to author *option, you can send
> the requested details over to our support alias:
> googleadsapi-supp...@google.com. Additionally, you can try Mat's
> suggestions to see if they provide you with any insight.
>
> Regards,
> [image: Google Logo]
> Danica
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q23wunK: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 adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@googlegroups.com
> 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 a topic in the
> Google Groups "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/M2Ur-OTK1xM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> adwords-api+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/adwords-api/UYt0d0QGNXV100cw_TdeE0R5iXt7oghOL6YA%40sfdc.net
> 
> .
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAP8sztFJDgpHpGtuHQL0Jh_rMpf2KqFvTAs4MaHncLY9zavgCw%40mail.gmail.com.


RE: Bid_strategy_type enum incompatibility

2020-09-14 Thread Google Ads API Forum Advisor Prod
Hi Ido,

As an alternative to the Reply privately to author option, you can send the 
requested details over to our support alias: googleadsapi-supp...@google.com. 
Additionally, you can try Mat's suggestions to see if they provide you with any 
insight.

Regards,

Danica
Google Ads API Team
ref:_00D1U1174p._5004Q23wunK: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/UYt0d0QGNXV100cw_TdeE0R5iXt7oghOL6YA%40sfdc.net.


Re: Bid_strategy_type enum incompatibility

2020-09-14 Thread Mat
Hi Ido,

I don't know which library you're using, but according to the Python Proto, 
there are two different values: "index" and "number", where "index" seems 
to relate to the order in witch those enumes are listed in the 
documentation while "number" seems to be the value you get while fetching 
"campaign.bidding_strategy_type":

https://github.com/googleads/google-ads-python/blob/master/google/ads/google_ads/v5/proto/enums/bidding_strategy_type_pb2.py

So I'd recommend to use the built-in client library methods to get the 
correct enum currently related to the number, as in these examples:
https://developers.google.com/google-ads/api/docs/samples/get-account-changes?hl=en

Regards
Mat

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5ee95830-3e65-43b5-b858-ce091242c051o%40googlegroups.com.


Re: Bid_strategy_type enum incompatibility

2020-09-13 Thread Jasim Bangla
On Sun, 13 Sep 2020 at 2:59 pm, 'Ido Karnon' via AdWords API and Google Ads
API Forum  wrote:

>
> I can't click o reply to author.
> It's grayed out.
> When I hover over it it says:
> "you do not have permissions to reply to author in this group".
> How can I get these permissions?
>
> On Friday, September 11, 2020 at 4:16:39 PM UTC+3 adsapiforumadvisor wrote:
>
>>
>>
>>
>>
>>
>>
>>
>>
>> Hi Ido,
>>
>>
>>
>>
>>
>> Looks like you may have missed my response on September 8th, so I am
>> reposting here:
>>
>>
>>
>>
>>
>> Can you please provide a specific campaign and customer ID that
>> highlights the issue you are facing? Our team needs this in order to
>> further confirm if the mapping is correct. Kindly provide these via the 
>> *Reply
>> privately to author *option.
>>
>>
>>
>>
>>
>>
>> Regards,
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> [image: Google Logo]
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Danica
>>
>>
>> Google Ads API Team
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ref:_00D1U1174p._5004Q23wunK: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 adwords-api@googlegroups.com
>
>
> To unsubscribe from this group, send email to
>
>
> adwords-api+unsubscr...@googlegroups.com
>
>
> 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
> "AdWords API and Google Ads API Forum" group.
>
>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to adwords-api+unsubscr...@googlegroups.com.
>
>
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/adwords-api/f0c79447-1885-4c52-a7dd-97c15bf65931n%40googlegroups.com
> 
> .
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAD4-JTi7LyQfE4d6iJCrY6QrSr9GDKmyUBK37BJpx%2BTPHshxmg%40mail.gmail.com.


Re: Bid_strategy_type enum incompatibility

2020-09-13 Thread 'Ido Karnon' via AdWords API and Google Ads API Forum

I can't click o reply to author.
It's grayed out.
When I hover over it it says:
"you do not have permissions to reply to author in this group".
How can I get these permissions?

On Friday, September 11, 2020 at 4:16:39 PM UTC+3 adsapiforumadvisor wrote:

> Hi Ido,
>
> Looks like you may have missed my response on September 8th, so I am 
> reposting here:
>
> Can you please provide a specific campaign and customer ID that highlights 
> the issue you are facing? Our team needs this in order to further confirm 
> if the mapping is correct. Kindly provide these via the *Reply privately 
> to author *option.
>
>
> Regards,
> [image: Google Logo] 
> Danica 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q23wunK: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f0c79447-1885-4c52-a7dd-97c15bf65931n%40googlegroups.com.


Re: Bid_strategy_type enum incompatibility

2020-09-11 Thread Google Ads API Forum Advisor Prod
Hi Ido,

Looks like you may have missed my response on September 8th, so I am reposting 
here:

Can you please provide a specific campaign and customer ID that highlights the 
issue you are facing? Our team needs this in order to further confirm if the 
mapping is correct. Kindly provide these via the Reply privately to author 
option.

Regards,

Danica
Google Ads API Team
ref:_00D1U1174p._5004Q23wunK: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/oIiCN0QGHWV1007ge4YIhpQPyWmFxJ9pDvOA%40sfdc.net.


Re: Bid_strategy_type enum incompatibility

2020-09-10 Thread 'Ido Karnon' via AdWords API and Google Ads API Forum
Hi again,

Any news here?


On Thursday, September 3, 2020 at 11:02:43 PM UTC+3 Ido Karnon wrote:

> Hi,
>
> This is the documentation I found:
>
> https://developers.google.com/google-ads/api/reference/rpc/v4/BiddingStrategyTypeEnum.BiddingStrategyType
>
> But it appears to be inconsistent with what I get from the API.
>
> Thanks,
> Ido 
>
> On Thu, Sep 3, 2020 at 10:51 PM Google Ads API Forum Advisor Prod <
> adsapifor...@gmail.com> wrote:
>
>> Hi Ido,
>>
>> Thanks for reaching out. I will check internally within the team to see 
>> if there is documentation that will map these values out between the UI and 
>> the API. We will reach out to you once we have an update.
>>
>> Regards,
>> [image: Google Logo] 
>> Danica 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q23wunK: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 adwor...@googlegroups.com
>> To unsubscribe from this group, send email to
>> adwords-api...@googlegroups.com
>> 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 a topic in the 
>> Google Groups "AdWords API and Google Ads API Forum" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/adwords-api/M2Ur-OTK1xM/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> adwords-api...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/adwords-api/f0PAx0QG3LRX00KWmhETmFSyCxn-BcBkt9ng%40sfdc.net
>>  
>> 
>> .
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/677f02ab-6512-4b9a-9ecd-81f40362fd48n%40googlegroups.com.


Re: Bid_strategy_type enum incompatibility

2020-09-03 Thread 'Ido Karnon' via AdWords API and Google Ads API Forum
Hi,

This is the documentation I found:
https://developers.google.com/google-ads/api/reference/rpc/v4/BiddingStrategyTypeEnum.BiddingStrategyType

But it appears to be inconsistent with what I get from the API.

Thanks,
Ido

On Thu, Sep 3, 2020 at 10:51 PM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hi Ido,
>
> Thanks for reaching out. I will check internally within the team to see if
> there is documentation that will map these values out between the UI and
> the API. We will reach out to you once we have an update.
>
> Regards,
> [image: Google Logo]
> Danica
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q23wunK: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 adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@googlegroups.com
> 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 a topic in the
> Google Groups "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/M2Ur-OTK1xM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> adwords-api+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/adwords-api/f0PAx0QG3LRX00KWmhETmFSyCxn-BcBkt9ng%40sfdc.net
> 
> .
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAP8sztHcqAaJLwNB7%3DphLtBtEbTUfLJKZMjkG_-zVQ2r4iydmA%40mail.gmail.com.


RE: Bid_strategy_type enum incompatibility

2020-09-03 Thread Google Ads API Forum Advisor Prod
Hi Ido,

Thanks for reaching out. I will check internally within the team to see if 
there is documentation that will map these values out between the UI and the 
API. We will reach out to you once we have an update.

Regards,

Danica
Google Ads API Team
ref:_00D1U1174p._5004Q23wunK: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f0PAx0QG3LRX00KWmhETmFSyCxn-BcBkt9ng%40sfdc.net.


Re: Bid_strategy_type enum incompatibility

2020-09-03 Thread 'Ido Karnon' via AdWords API and Google Ads API Forum
This is what I got so far from comparing the bidding strategy in the UI to 
the bidding strategy number I get for the same campaign through the google 
ads api:
0: "UNSPECIFIED",
1: "UNKNOWN",
2: "ENHANCED_CPC",
3: "MANUAL_CPC",
6: "TARGET_CPA",
13: "MANUAL_CPV",
14: "TARGET_CPM",
15: "TARGET_IMPRESSION_SHARE",

Can someone confirm this is true and fill in the missing ones?

On Thursday, September 3, 2020 at 3:08:16 PM UTC+3 Ido Karnon wrote:

> Hi,
>
> I'm running this query:
>
> SELECT segments.date
> , segments.day_of_week
> , segments.ad_network_type
> , campaign.advertising_channel_type
> , campaign.advertising_channel_sub_type
> , customer.descriptive_name
> , customer.id, campaign.name
> , campaign.id
> , campaign.status
> , ad_group.name
> , ad_group.id
> , ad_group.status
> , campaign.bidding_strategy_type
> , ad_group.cpc_bid_micros
> , ad_group.cpm_bid_micros
> , ad_group.target_cpa_micros
> , metrics.cost_micros
> , metrics.impressions
> , metrics.clicks
> , metrics.conversions
> , ad_group_ad.ad.name
> , ad_group_ad.ad.id
> , ad_group_ad.status
> , video.id
> , ad_group.cpv_bid_micros
> , metrics.view_through_conversions
> , metrics.cross_device_conversions 
> FROM video 
> WHERE segments.date BETWEEN '2020-09-02' and '2020-09-02' 
>
> I have a problem with the result I getting for 
> campaign.bidding_strategy_type.
> The ENUM values don't match the ones I see here 
> 
> :
>
> For a campaign with a 'target cpa' bidding strategy type the query returns 
> 6 (which according to the documentation is 'MANUAL_CPV') and for a campaign 
> with a manual cpv bidding strategy type the query returns 13 (which 
> according to the documentation is 'TARGET_IMPRESSION_SHARE').
>
> Either the result I get is incorrect or the mapping between number and 
> bidding strategy type is not right.
> Can someone assist?
>
> Thanks,
> Ido
>
> 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7b3fc14d-9a29-483c-8f3e-2053dd283c95n%40googlegroups.com.


Bid_strategy_type enum incompatibility

2020-09-03 Thread 'Ido Karnon' via AdWords API and Google Ads API Forum
Hi,

I'm running this query:

SELECT segments.date
, segments.day_of_week
, segments.ad_network_type
, campaign.advertising_channel_type
, campaign.advertising_channel_sub_type
, customer.descriptive_name
, customer.id, campaign.name
, campaign.id
, campaign.status
, ad_group.name
, ad_group.id
, ad_group.status
, campaign.bidding_strategy_type
, ad_group.cpc_bid_micros
, ad_group.cpm_bid_micros
, ad_group.target_cpa_micros
, metrics.cost_micros
, metrics.impressions
, metrics.clicks
, metrics.conversions
, ad_group_ad.ad.name
, ad_group_ad.ad.id
, ad_group_ad.status
, video.id
, ad_group.cpv_bid_micros
, metrics.view_through_conversions
, metrics.cross_device_conversions 
FROM video 
WHERE segments.date BETWEEN '2020-09-02' and '2020-09-02' 

I have a problem with the result I getting for 
campaign.bidding_strategy_type.
The ENUM values don't match the ones I see here 

:

For a campaign with a 'target cpa' bidding strategy type the query returns 
6 (which according to the documentation is 'MANUAL_CPV') and for a campaign 
with a manual cpv bidding strategy type the query returns 13 (which 
according to the documentation is 'TARGET_IMPRESSION_SHARE').

Either the result I get is incorrect or the mapping between number and 
bidding strategy type is not right.
Can someone assist?

Thanks,
Ido



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/672db29c-6581-4faa-8bdb-d7e6992060acn%40googlegroups.com.