Re: Asset performance segmented by conversion_action

2020-05-30 Thread 'He Chang' via AdWords API and Google Ads API Forum
Hi,

Thanks for the help. I tried the query but got the error like below. 

error_code {

query_error: PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE

  }

  message: "Cannot select or filter on the following segments: 
\'segments.conversion_action\'(could not support requested resources: 
\'AD_GROUP_AD_ASSET_VIEW\', \'AD_GROUP_AD_ASSET_VIEW\'), since segment is 
incompatible with the resource in the FROM clause or other selected 
segmenting resources."

Looks like 'conversion_action' is not a segmentable field according to the 
doc.

Can you kindly help check again?

On Saturday, May 30, 2020 at 3:20:29 AM UTC+8, adsapiforumadvisor wrote:
>
> Hi,
>
> Thanks for reaching out. With regards to your concern,  you can query all 
> of that info from the  ad_group_ad_asset_view 
> 
>  
> report and you can pull fields from the reports in the "attributed 
> resources”, Please see the below query to get the data  what you are 
> looking for.
>
> Query:
>  SELECT  Ad_group_ad_asset_view.ad_group_ad,asset.id,campaign.name,
> asset.type,Ad_group_ad_asset_view.asset, 
> ad_group_ad_asset_view.performance_label,metrics.impressions,metrics.clicks,segments.conversion_action
> FROM ad_group_ad_asset_view
> WHERE segments.date DURING LAST_MONTH
>
>  Let me know if you have any questions.
>
> Thanks,
> Nirmita Patel Google Ads Team
>
>  
>
>  
>
> ref:_00D1U1174p._5004Q1zsmKa: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/29429e17-c7f3-42b3-9571-4c53ae892029%40googlegroups.com.


Re: User List maintenance using Google Ads API

2020-05-30 Thread cv
Hello Abhinav,

This may clear all the doubts.

Good explanation here 

.

Thanks,


On Friday, 29 May 2020 20:04:42 UTC+5:30, adsapiforumadvisor wrote:
>
> Hi Abhinav,
>
> Please see here 
>  
> for more information about getting the partial failure values and a more in 
> depth example here 
> .
>  
> Please share your code if you are still having.
>
> @cv, the documentation shows that both partial failure and validate only 
> should be supported for that service. I will monitor that thread and take 
> the appropriate action.
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5001UaRix7: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/2e97b098-21e9-4d17-bbb3-aee90f6ed2e9%40googlegroups.com.


I am getting Ad Error INVALID_AD_TYPE exception while trying to update shopping and expanded dynamic search ad.

2020-05-30 Thread Ankit Agarwal
I am getting an exception: AdError.INVALID_AD_TYPE @ 
operations[0].operand.id
full error:
[{:field_path=>"operations[0].operand.id", 
:field_path_elements=>[{:field=>"operations", :index=>0}, 
{:field=>"operand"}, {:field=>"id"}], :trigger=>"", 
:error_string=>"AdError.INVALID_AD_TYPE", :api_error_type=>"AdError", 
:reason=>"INVALID_AD_TYPE", :xsi_type=>"AdError"}]

I am using 'AdService', creating both shopping as well as expanded dynamic 
search ads.
below are my operations set for shopping and expanded dynamic search ad 
respectively:

shopping:
[{:operator=>"SET", :operand=>{:id=>"438598577711", 
:xsi_type=>"ProductAd"}}]

Expanded Dynamic Search Ad:
[{:operator=>"SET", :operand=>{:id=>"438551952907", 
:xsi_type=>"ExpandedDynamicSearchAd", :description=>"too tired for this"}}]

My ad type seems to be valid according to me, my [operator -> 'ADD'] 
requests are working fine. This exception is only happening while updating 
an ad.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/edb32fb4-c2cb-4484-9745-36ffc27b0ce7%40googlegroups.com.