Re: Conversions

2021-02-07 Thread 'davi...@google.com' via AdWords API and Google Ads API Forum
https://support.google.com/google-ads/answer/6270625 should comprehensively 
answer your question. tl;dr: "All conversions" ("All conv.") shows you data 
for all conversion actions, including those which you've chosen not to 
include in "Conversions." It also includes other special conversion 
sources."

-David

On Friday, February 5, 2021 at 12:09:24 PM UTC-5 mark...@mypthub.net wrote:

> Whats the difference between Conversions and All Conversions

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/972e5861-d014-4bea-ac52-029750809bebn%40googlegroups.com.


Re: module 'google.ads.google_ads.v2.proto.errors' has no attribute 'errors_pb2'

2020-02-24 Thread 'davi...@google.com' via AdWords API and Google Ads API Forum
See https://github.com/googleads/google-ads-python/issues/200 for a fix. 
The GitHub repo is up to date, but PyPi is not as a new major version is 
coming soon.

On Monday, February 24, 2020 at 5:26:46 AM UTC-5 whohow2...@gmail.com wrote:

>
>
> 在 2020年1月20日星期一 UTC+8下午12:23:39,Yolanda Ou写道:
>
>> Hi, 
>>
>> I just started to use ads python api as :
>>
>> https://developers.google.com/google-ads/api/docs/client-libs/python/oauth-installed
>>  
>> 
>>  . 
>>
>> When running the code on example, eg, get_keyword_stats.py, I got 
>> : module 'google.ads.google_ads.v2.proto.errors' has no attribute 
>> 'errors_pb2'
>>
>> How could I fix it?
>>
>> Many thanks!!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b61b89bd-e96d-4e80-847d-fad229cf4699%40googlegroups.com.


Re: Using python3 for campaigns report

2020-02-13 Thread 'davi...@google.com' via AdWords API and Google Ads API Forum
See https://github.com/googleads/google-ads-python/issues/200 for a 
solution. The new version will be posted to PyPi by the end of the month.

On Wednesday, February 12, 2020 at 4:00:32 PM UTC-5 adsapiforumadvisor 
wrote:

> Hi Olesya,
>
> Could you please try the following:
>   
>1. pip uninstalled googled-ads
>2. pip3.7 installed google-ads
>
> Please let me know if the issues persists.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>  
>
>
> ref:_00D1U1174p._5001UV0bNE: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/2c491d20-05d1-4914-b465-81db2f990109%40googlegroups.com.


Re: Issue creating an Ad for App Campaign

2020-02-13 Thread 'davi...@google.com' via AdWords API and Google Ads API Forum
Look at this recently posted example in Python: 
https://github.com/googleads/google-ads-python/blob/master/examples/advanced_operations/add_app_campaign.py

You need to set the ad_group_ad.ad.app_ad.headlines attribute as shown in 
this 
line: 
https://github.com/googleads/google-ads-python/blob/4cf2ed2b5ac51dd1b50bf2bc31bd8ff810a0ad7c/examples/advanced_operations/add_app_campaign.py#L270

Setting the HEADLINE_1 property on the ad_text_asset will indeed cause the 
error you discovered. This was recently filed as an internal bug. In fact, 
it is better if you do not set any values for the 
ad_text_asset.ServedAssetFieldType attribute. The headline needs to be set 
on parent .headlines property.

-David

On Thursday, February 13, 2020 at 4:36:05 AM UTC-5 Diego Toro wrote:

> Hello I've been trying several ways to create an  Ad for App Campaign as 
> described in: 
>
>
> https://developers.google.com/google-ads/api/docs/app-campaigns/create-ad-group
>
> I need to be able to create text, image, and video ads, first I tried toc 
> reate a text ad but I get the following error:
>
>
> Response
>> 
>> Headers: 
>> Metadata(content-type=application/grpc,request-id=EE7bwQ-Em8XCqWb4o5cUVA,date=Thu,
>>  
>> 13 Feb 2020 09:11:49 GMT,alt-svc=quic=":443"; ma=2592000; 
>> v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443"; 
>> ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; 
>> ma=2592000,h3-Q043=":443"; ma=2592000)
>> Body: null
>> Failure message: errors {
>>   error_code {
>> collection_size_error: TOO_FEW
>>   }
>>   message: "Too few."
>>   trigger {
>> string_value: ""
>>   }
>>   location {
>> field_path_elements {
>>   field_name: "operations"
>>   index {
>>   }
>> }
>> field_path_elements {
>>   field_name: "create"
>> }
>> field_path_elements {
>>   field_name: "ad"
>> }
>> field_path_elements {
>>   field_name: "app_ad"
>> }
>> field_path_elements {
>>   field_name: "headlines"
>> }
>> field_path_elements {
>>   field_name: "pinned_field"
>> }
>>   }
>> }
>> errors {
>>   error_code {
>> request_error: UNKNOWN
>>   }
>>   message: "The error code is not in this version."
>>   trigger {
>> string_value: "HEADLINE_1"
>>   }
>>   location {
>> field_path_elements {
>>   field_name: "operations"
>>   index {
>>   }
>> }
>> field_path_elements {
>>   field_name: "create"
>> }
>> field_path_elements {
>>   field_name: "ad"
>> }
>> field_path_elements {
>>   field_name: "app_ad"
>> }
>> field_path_elements {
>>   field_name: "headlines"
>>   index {
>>   }
>> }
>> field_path_elements {
>>   field_name: "pinned_field"
>> }
>>   }
>> }
>> errors {
>>   error_code {
>> collection_size_error: TOO_FEW
>>   }
>>   message: "Too few."
>>   trigger {
>> string_value: ""
>>   }
>>   location {
>> field_path_elements {
>>   field_name: "operations"
>>   index {
>>   }
>> }
>> field_path_elements {
>>   field_name: "create"
>> }
>> field_path_elements {
>>   field_name: "ad"
>> }
>> field_path_elements {
>>   field_name: "app_ad"
>> }
>> field_path_elements {
>>   field_name: "descriptions"
>> }
>> field_path_elements {
>>   field_name: "pinned_field"
>> }
>>   }
>
> }
>
>
> According to other examples for text ads pinned field is not mandatory for 
> text assets, and if I set it with any of the values from 
> ServedAssetFieldType, 
> such as ServedAssetFieldTypeEnum.ServedAssetFieldType.HEADLINE_1. But as 
> you can see in the response, it says the value is unkwown.
>
> Also, there is another issue when I set any status to AdGroupAd, it says 
> the operation is nt permitted for the campaign then.
>
> We really need help with this becaus eyou don't have any example for 
> complete App campaigns creation.
>
> This is the code:
>
> public Ad uploadAd(CompanyAd ad, Long customerId, Long adGroupId) {
>
>AdGroupAdOperation adGroupAdOperation = 
> googleAcAdGroupAdOperationFactory.buildAdGroupAdOperation(ad);
>
>final MutateAdGroupAdResult uploadResult = 
> googleAcClient.executeUploadAdOperation(ad, adGroupAdOperation);
>
>return CompanyAd;
>  
> }
>
>
> public AdGroupAdOperation buildAdGroupAdOperation(Ad ad, Long customerId, 
> Long adGroupId) {
>
>AdGroupAd.Builder adGroupAdBuilder = 
> AdGroupAd.newBuilder().setAdGroup(StringValue.of(ResourceNames.adGroup(customerId,
>  adGroupId)));
>AdGroupAdOperation.Builder opBuilder = AdGroupAdOperation.newBuilder();
>
>if (StringUtils.isNotEmpty(ad.getPartnerRemoteId())) {
>   adGroupAdBuilder.setResourceName(ResourceNames.adGroupAd(customerId, 
> adGroupId, Long.valueOf(ad.getPartnerRemoteId(;
>}
>
>adGroupAdBuilder.setAd(buildHeadlineTextAd(ad));
>
>// adGroupAdBuilder.setStatus(AdGroupAdStatusEnum.AdGroupAdStatus.PAUSED);
>
>