Re: Unable to edit AdWords Express campaigns

2018-10-02 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Tom,

When using the CampaignService 
,
 
you can use the AdvertisingChannelSubType 

 field 
of the campaign object to filter out those campaigns under SEARCH_EXPRESS 
and DISPLAY_EXPRESS.

Via the Campaign Performance Report 
,
 
the AdWords Express campaigns can be identified through both the 
AdvertisingChannelType 

 and AdvertisingChannelSubType 

 fields.

Thanks and regards,
Peter
AdWords API Team

On Wednesday, October 3, 2018 at 12:51:04 AM UTC+8, 
tom.wagst...@raisingit.com wrote:
>
> Thanks Peter,
>
> How do I flag such campaigns as read only so that my script doesn't try to 
> change them?
>
> What attribute do I need to look at to identify AdWords Express campaigns?
>
> Is this information available in any of the reports, or is this something 
> I have to record offline somewhere?
>
> Cheers,
> Tom
>
>
> On Tuesday, 2 October 2018 11:55:17 UTC+1, Peter Oliquino (AdWords API 
> Team) wrote:
>>
>> Hi Tom,
>>
>> Currently, AdWords Express campaigns are not supported in the AdWords 
>> API. Creation and modifications of the said campaigns will need to be done 
>> via the Google Ads UI. I hope this helps.
>>
>> Thanks and regards,
>> Peter
>> AdWords API Team
>>
>> On Tuesday, October 2, 2018 at 5:45:28 PM UTC+8, tom.wa...@raisingit.com 
>> wrote:
>>>
>>> Hi everyone,
>>>
>>> For one client of mine, my attempts to change keyword status via the API 
>>> fail with the error MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT. Apparently this 
>>> is because the client's account contains a campaign created with AdWords 
>>> Express (
>>> https://developers.google.com/adwords/api/docs/common-errors#OperationAccessDenied.MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
>>> )
>>>
>>> The handling advice is to flag such campaigns as read only. How do I do 
>>> this? What attribute do I set? How do I identify AdWords Express campaigns?
>>>
>>> Cheers,
>>> Tom
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b3d35c46-6d42-438a-9c02-79cb4351476b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: TrialService InternalApiError.UNEXPECTED_INTERNAL_API_ERROR

2018-10-02 Thread Stella
Yes, this is the same one. I could not immediately see what has been 
posted, and thought that was not successful 

On Sunday, September 30, 2018 at 11:04:11 PM UTC-7, Dannison Yao (AdWords 
API Team) wrote:
>
> Hi,
>
> It appears that this post is related to this thread 
> .
>  
> You may refer to the link provided for my response and to better track our 
> communication.
>
> Regards,
> Dannison
> AdWords API Team
>
> On Saturday, September 29, 2018 at 3:51:27 AM UTC+8, Stella wrote:
>>
>> Hi, I’ve checked provious dicussion the group, here is my code of 
>> following instructions of logging.
>>
>> I have used this code to create trial campaign 2weeks ago and it worked 
>> well. Now get below error, and I get no more logging when after following 
>> instructions.
>>
>> https://developers.google.com/adwords/api/docs/guides/campaign-drafts-experiments
>>
>> https://github.com/googleads/googleads-python-lib/tree/b80b8b3741a55f1d00c5974bc58f92540663c6f6#user-content-how-do-i-log-soap-interactions
>>
>> trial = {
>> 'draftId': available_pool.loc[index]['draftId'],
>> 'baseCampaignId': available_pool.loc[index]['draft_campaign_id'],
>> 'name': '%s_value' %available_pool.loc[index]['CampaignName'],
>> 'trafficSplitPercent': 30,
>> 'startDate': '2018-10-01',
>> 'endDate': '2019-01-26'
>> }
>> trial_operation = {'operator': 'ADD', 'operand': trial}
>>
>> import logging
>> logging.basicConfig(level=logging.INFO)
>> logging.getLogger('suds.transport').setLevel(logging.DEBUG)
>>
>> trial_result = trial_service.mutate([trial_operation])
>>
>>
>> [WARNING] 2018-09-28 09:18:55,308 googleads.soap(363): Error summary: 
>> {'faultMessage': '[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
>> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]',
>>  
>> 'requestId': '000576f0cfd8ecd00a37ac0b110b3534', 'serviceName': 
>> 'TrialService', 'methodName': 'mutate', 'operations': '1', 'responseTime': 
>> '337'}
>> Traceback (most recent call last):
>>   File "/usr/local/lib/python3.6/site-packages/googleads/common.py", line 
>> 1371, in MakeSoapRequest
>> *packed_args, _soapheaders=soap_headers)['body']['rval']
>>   File "/usr/local/lib/python3.6/site-packages/zeep/client.py", line 45, 
>> in __call__
>> self._op_name, args, kwargs)
>>   File 
>> "/usr/local/lib/python3.6/site-packages/zeep/wsdl/bindings/soap.py", line 
>> 121, in send
>> return self.process_reply(client, operation_obj, response)
>>   File 
>> "/usr/local/lib/python3.6/site-packages/zeep/wsdl/bindings/soap.py", line 
>> 186, in process_reply
>> return self.process_error(doc, operation)
>>   File 
>> "/usr/local/lib/python3.6/site-packages/zeep/wsdl/bindings/soap.py", line 
>> 291, in process_error
>> detail=fault_node.find('detail'))
>> zeep.exceptions.Fault: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
>> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]
>> During handling of the above exception, another exception occurred:
>> Traceback (most recent call last):
>>   File 
>> "/Users/stellayang/Library/Python/3.6/lib/python/site-packages/IPython/core/interactiveshell.py",
>>  
>> line 2881, in run_code
>> exec(code_obj, self.user_global_ns, self.user_ns)
>>   File "", line 15, in 
>> trial_result = trial_service.mutate([trial_operation])['value']
>>   File "/usr/local/lib/python3.6/site-packages/googleads/common.py", line 
>> 1383, in MakeSoapRequest
>> e.detail, errors=error_list, message=e.message)
>> googleads.errors.GoogleAdsServerFault: 
>> [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
>> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ed1fd20c-3a66-4807-8bf5-7c1ed253280c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to fetch Household Income/Demographic Data through Adwords API?

2018-10-02 Thread GDZ
Hello Bharani, 

are their any updates on household income reports? 

Thank you!

On Thursday, August 23, 2018 at 2:28:08 PM UTC-4, Bharani Cherukuri 
(AdWords API Team) wrote:
>
> Hello Ronak, 
>
> Thank you for sharing the details privately. I was able to replicate the 
> issue you're describing. Based on this help center article 
> ,
>  
> the household income is only supported for Video campaigns in the old 
> AdWords UI. It is supported for Display, Search and Video campaigns campaigns 
> in the new UI. Currently, the AdWords API is only able to display the 
> same data as the old AdWords UI. In your case, you don't have any video 
> campaigns, that's why you're not seeing income range. I have raised this 
> issue with the team. I will keep you posted as soon as I have an update. 
>
> Thanks,
> Bharani, AdWords API Team
>
> On Wednesday, August 22, 2018 at 7:05:57 AM UTC-4, Ronak Shah wrote:
>>
>> Hello,
>>
>> How to download Household Income Report Stats through Adwords API? We 
>> Tried CRITERIA_PERFORMANCE_REPORT 
>> 
>>  with 
>> CriteriaType INCOME_RANGE but the report comes blank and also we cannot see 
>> any Report Types for getting Household Income data?
>>
>> Please let us know how to get the Income Report data
>>
>> Regards,
>> Ronak
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/21dc4452-1d88-41e3-ba3d-c49e612d6622%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to edit AdWords Express campaigns

2018-10-02 Thread tom . wagstaff
Thanks Peter,

How do I flag such campaigns as read only so that my script doesn't try to 
change them?

What attribute do I need to look at to identify AdWords Express campaigns?

Is this information available in any of the reports, or is this something I 
have to record offline somewhere?

Cheers,
Tom


On Tuesday, 2 October 2018 11:55:17 UTC+1, Peter Oliquino (AdWords API 
Team) wrote:
>
> Hi Tom,
>
> Currently, AdWords Express campaigns are not supported in the AdWords API. 
> Creation and modifications of the said campaigns will need to be done via 
> the Google Ads UI. I hope this helps.
>
> Thanks and regards,
> Peter
> AdWords API Team
>
> On Tuesday, October 2, 2018 at 5:45:28 PM UTC+8, tom.wa...@raisingit.com 
>  wrote:
>>
>> Hi everyone,
>>
>> For one client of mine, my attempts to change keyword status via the API 
>> fail with the error MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT. Apparently this 
>> is because the client's account contains a campaign created with AdWords 
>> Express (
>> https://developers.google.com/adwords/api/docs/common-errors#OperationAccessDenied.MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
>> )
>>
>> The handling advice is to flag such campaigns as read only. How do I do 
>> this? What attribute do I set? How do I identify AdWords Express campaigns?
>>
>> Cheers,
>> Tom
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b4cb0302-7314-454c-998a-6faccec2c0b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: can't get reach ad group

2018-10-02 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Raneen,

Could you please share the report definition you are trying to investigate 
further on your concern. You could use *reply privately to the author* option 
while sharing the details requested.

Regards,
Sai Teja, AdWords API Team.

On Tuesday, October 2, 2018 at 7:14:34 AM UTC-4, Raneen Bsais wrote:
>
> hi,
> we are using this report: 
> *ReportDefinitionReportType.CAMPAIGN_PERFORMANCE_REPORT* 
>
> but i can't get all campaigns under the adgroup: "Reach".
> how we can get all campaigns?
>  
> thanks,
> Raneen
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4f581630-e81f-49cb-8670-e109ee052e91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is it possible to obtain bid landscapes for portfolio shared bidding strategies

2018-10-02 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Querijn,

To better investigate this, could you provide the complete SOAP request and 
response logs when you run the request? Please reply via *Reply privately 
to author*.

If you haven't enabled the SOAP logs yet, you can enable it by following 
this guide 

.

Regards,
Luis
Adwords API Team

On Tuesday, October 2, 2018 at 4:34:47 PM UTC+8, querijn.de.graaf wrote:
>
> Hi Luis,
>
> That would be what I'm looking for. Ideally for all campaigns using the 
> same strategy, but I can just run the script on a list of campaigns. 
> Unfortunately this doesn't seem to work for me. I have tried it with 
> several campaigns with conversion tracking enabled and conforming to the 
> other requirements and it returns 0 landscapes.
>
> I am using the code available on the API GitHub (Python, see attachment). 
> Is there anything I could be overlooking?
>
> Thanks and regards,
> Querijn
>
> On Monday, October 1, 2018 at 10:34:50 PM UTC+2, Luis Xander Talag 
> (AdWords API Team) wrote:
>>
>> Hi Querijin,
>>
>> Could you confirm if what you want to achieve is to obtain the 
>> BidLandscape 
>> 
>>  of 
>> a Campaign with shared bidding strategy? If so, as long as you meet the 
>> requirements stated on this guide 
>> ,
>>  whether 
>> you are using a shared bidding strategy or not, you should be able to 
>> retrieve the BidLandscape 
>> 
>>  object 
>> data.
>>
>> Let me know if this is what you are looking for. 
>>
>> Thanks and regards,
>> Luis
>> AdWords API Team
>>
>> On Tuesday, October 2, 2018 at 2:51:06 AM UTC+8, querijn.de.graaf wrote:
>>>
>>> Dear Adwords API team,
>>>
>>> Aside from Adgroup, Campaign and Criterion level, is it possible to 
>>> obtain the BidLandscape object for a shared bidding strategy over an entire 
>>> portfolio?
>>> Provided that all the campaigns in the portfolio have conversion 
>>> tracking enabled, are of a Search Only or Display Only type and are not 
>>> Test accounts.
>>>
>>> If not, what are other possibilities for using the API to obtain the bid 
>>> simulation of a shared strategy over many campaigns in an account?
>>>
>>> Thanks in advance for the support
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/60909052-4b7d-4b65-9eb0-904cf41a73c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


can't get reach ad group

2018-10-02 Thread 'Raneen Bsais' via AdWords API and Google Ads API Forum
hi,
we are using this report: 
*ReportDefinitionReportType.CAMPAIGN_PERFORMANCE_REPORT* 

but i can't get all campaigns under the adgroup: "Reach".
how we can get all campaigns?
 
thanks,
Raneen

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e7565d52-4327-4aff-a0d1-1b781bde3b17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to edit AdWords Express campaigns

2018-10-02 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Tom,

Currently, AdWords Express campaigns are not supported in the AdWords API. 
Creation and modifications of the said campaigns will need to be done via 
the Google Ads UI. I hope this helps.

Thanks and regards,
Peter
AdWords API Team

On Tuesday, October 2, 2018 at 5:45:28 PM UTC+8, tom.wagst...@raisingit.com 
wrote:
>
> Hi everyone,
>
> For one client of mine, my attempts to change keyword status via the API 
> fail with the error MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT. Apparently this 
> is because the client's account contains a campaign created with AdWords 
> Express (
> https://developers.google.com/adwords/api/docs/common-errors#OperationAccessDenied.MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
> )
>
> The handling advice is to flag such campaigns as read only. How do I do 
> this? What attribute do I set? How do I identify AdWords Express campaigns?
>
> Cheers,
> Tom
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e2559935-6c22-4b0a-a46f-de8d38897480%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unable to edit AdWords Express campaigns

2018-10-02 Thread tom . wagstaff
Hi everyone,

For one client of mine, my attempts to change keyword status via the API 
fail with the error MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT. Apparently this 
is because the client's account contains a campaign created with AdWords 
Express (
https://developers.google.com/adwords/api/docs/common-errors#OperationAccessDenied.MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
)

The handling advice is to flag such campaigns as read only. How do I do 
this? What attribute do I set? How do I identify AdWords Express campaigns?

Cheers,
Tom

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/41a9c454-f212-4ccd-a2b5-f7d2ebcdf9d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting a Fatal error : cURL error 56: SSL read: error:00000000:lib(0):func(0):reason(0), errno 104 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

2018-10-02 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Ronak,

To investigate this further, could you provide the complete report 
definition 

 and 
the complete SOAP request and response logs that were generated when the 
error was encountered? You may provide the requested information via *Reply 
privately to author*.

Regards,
Dannison
AdWords API Team

On Tuesday, October 2, 2018 at 3:25:43 PM UTC+8, Ronak Shah wrote:
>
> Yes, We are also facing this same issue and it happens frequently.
>
>
>
> On Saturday, September 29, 2018 at 4:48:53 AM UTC+5:30, 
> pravin.s...@frequence.com wrote:
>>
>> Hello Adwords API team,
>>
>> Since today morning I am getting this error : cURL error 56: SSL read: 
>> error::lib(0):func(0):reason(0), errno 104 (see 
>> https://curl.haxx.se/libcurl/c/libcurl-errors.html) when we try to 
>> download one of the AdWords reports like the GEO_PERFORMANCE_REPORT for 
>> one of the adwords advertisers through AdWords reporting API.
>>
>> Kindly help resolve this issue.
>>
>> Thanks & Regards,
>> Pravin Sreedharan.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/233f37c3-ed7d-4ce2-ae72-708923477ea8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is it possible to obtain bid landscapes for portfolio shared bidding strategies

2018-10-02 Thread querijn . de . graaf
Hi Luis,

That would be what I'm looking for. Ideally for all campaigns using the 
same strategy, but I can just run the script on a list of campaigns. 
Unfortunately this doesn't seem to work for me. I have tried it with 
several campaigns with conversion tracking enabled and conforming to the 
other requirements and it returns 0 landscapes.

I am using the code available on the API GitHub (Python, see attachment). 
Is there anything I could be overlooking?

Thanks and regards,
Querijn

On Monday, October 1, 2018 at 10:34:50 PM UTC+2, Luis Xander Talag (AdWords 
API Team) wrote:
>
> Hi Querijin,
>
> Could you confirm if what you want to achieve is to obtain the 
> BidLandscape 
> 
>  of 
> a Campaign with shared bidding strategy? If so, as long as you meet the 
> requirements stated on this guide 
> ,
>  whether 
> you are using a shared bidding strategy or not, you should be able to 
> retrieve the BidLandscape 
> 
>  object 
> data.
>
> Let me know if this is what you are looking for. 
>
> Thanks and regards,
> Luis
> AdWords API Team
>
> On Tuesday, October 2, 2018 at 2:51:06 AM UTC+8, querijn.de.graaf wrote:
>>
>> Dear Adwords API team,
>>
>> Aside from Adgroup, Campaign and Criterion level, is it possible to 
>> obtain the BidLandscape object for a shared bidding strategy over an entire 
>> portfolio?
>> Provided that all the campaigns in the portfolio have conversion tracking 
>> enabled, are of a Search Only or Display Only type and are not Test 
>> accounts.
>>
>> If not, what are other possibilities for using the API to obtain the bid 
>> simulation of a shared strategy over many campaigns in an account?
>>
>> Thanks in advance for the support
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/14bf954a-3062-4cae-9894-71bcac14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

from googleads import adwords


CAMPAIGN_ID = 'some_id'
PAGE_SIZE = 100


def main(client, campaign_id):
# Initialize appropriate service.
data_service = client.GetService('DataService', version='v201809')

# Get all the campaigns for this account.
selector = {
'fields': ['CampaignId', 'CriterionId', 'StartDate', 'EndDate',
   'BidModifier', 'LocalClicks', 'LocalCost', 'LocalImpressions',
   'TotalLocalClicks', 'TotalLocalCost', 'TotalLocalImpressions',
   'RequiredBudget'],
'paging': {
  'startIndex': 0,
  'numberResults': PAGE_SIZE
},
'predicates': [{
'field': 'CampaignId', 'operator': 'IN', 'values': [campaign_id]
}]
}

# Set initial values.
offset = 0
more_pages = True

while more_pages is True:
num_landscape_points = 0
page = data_service.getCampaignCriterionBidLandscape(selector)

# Display results.
if 'entries' in page:
print('Bid landscape(s) retrieved: %d.' % len(page['entries']))
for bid_modifier_landscape in page['entries']:
num_landscape_points = 0
print('Found campaign-level criterion bid modifier landscapes for '
  'criterion with ID "%d", start date "%s", end date "%s", and '
  'landscape points:') % (bid_modifier_landscape['criterionId'],
  bid_modifier_landscape['startDate'],
  bid_modifier_landscape['endDate'])
for landscape_point in bid_modifier_landscape['landscapePoints']:
num_landscape_points += 1
print('\tbid modifier: %f, clicks: %d, cost: %d, impressions: %d, '
  'total clicks: %d, total cost: %d, total impressions: %d, '
  'and required budget: %f') % (
 

Re: Custom Affinity via AdWords API

2018-10-02 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Henry,

Custom Affinity is already available in AdWords API starting from v201806. 
Unfortunately, AdWords API currently does not support the association of 
custom affinities in campaigns. However, It is available in the ad group 
level. You may use the AdGroupCriterionService 

 in 
associating your CriterionCustomAffinity 

 to 
a specific ad group.

Let me know if you have further clarifications.

Regards,
Dannison
AdWords API Team

On Tuesday, October 2, 2018 at 12:33:16 PM UTC+8, henry wrote:
>
> Hi AdWords API/Google Ads API support team,
>
> I found previous threads talking about Custom Affinity via AdWords API but 
> they were not availabel back then. Now I see that their is a 
> CustomAffinityService so I assume it exists now. I created the 
> CustomAffinity and CustomAffinityToken but I am having trouble to find 
> documents which can link the created CustomAffinity back to a Campaign or 
> an AdGroup. Are their any documents or guides for this?
>
> Sincerely,
> 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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d688fbaf-1280-41e7-af3c-5f1f102d9551%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting a Fatal error : cURL error 56: SSL read: error:00000000:lib(0):func(0):reason(0), errno 104 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

2018-10-02 Thread Ronak Shah
Yes, We are also facing this same issue and it happens frequently.



On Saturday, September 29, 2018 at 4:48:53 AM UTC+5:30, 
pravin.s...@frequence.com wrote:
>
> Hello Adwords API team,
>
> Since today morning I am getting this error : cURL error 56: SSL read: 
> error::lib(0):func(0):reason(0), errno 104 (see 
> https://curl.haxx.se/libcurl/c/libcurl-errors.html) when we try to 
> download one of the AdWords reports like the GEO_PERFORMANCE_REPORT for 
> one of the adwords advertisers through AdWords reporting API.
>
> Kindly help resolve this issue.
>
> Thanks & Regards,
> Pravin Sreedharan.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/71629ec4-193c-4e30-a18b-6f72bfdf8ee0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.