Re: Retrieving Adwords Ads Extension Data using API

2018-03-02 Thread Asad Khan
Hi! what would be the solution then? is it planned in future? if yes, when 
should i expect?

Regards,
Asad

On Saturday, March 3, 2018 at 1:20:08 AM UTC+5, Bharani Cherukuri (AdWords 
API Team) wrote:
>
> Hello Asad, 
>
> Thank you for sharing the screenshot. It is currently not possible to 
> retrieve the Extension name pointed in the screenshot through the AdWords 
> API. 
>
> Let me know if you have any other questions.
>
> Regards,
> Bharani, AdWords API Team
>
> On Wednesday, January 24, 2018 at 11:24:39 AM UTC-5, Asad Khan wrote:
>>
>> Hi,
>> I am trying to download via API, the exact same data that you have in the 
>> UI as "Extensions".
>> In the UI, it is listed as "Ads & Extensions" > tab "Extensions" - see 
>> screenshot attached.
>>
>> Which API should i use Placeholder Feed Item Report 
>> 
>>  or Placeholder Report 
>> ,
>>  
>> Additionally I want to know, which field would give me *Extension Name 
>> and Extension Type Name*
>>
>>
>> 
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/eb7b7be2-ac76-495d-a4c5-90e9af1ee56c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error while trying to add a LogicalUserList

2018-03-02 Thread iukhnovychv
hi, what you exactly changed in your pythone code?

W dniu poniedziałek, 20 lipca 2015 19:50:01 UTC+2 użytkownik Damien napisał:
>
> Hi Josh,
>
> Thank you very much, this solved my problem and I've been able to 
> successfully create my LogicalUserList.
>
> Damien
>
> On Monday, July 20, 2015 at 10:24:21 AM UTC-4, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi Damien,
>>
>> I think the issue here is your ruleOperands 
>> .
>>  
>> This attribute should be a list of LogicalUserListOperand 
>> s,
>>  
>> each of which in turn has a *child* UserList element.
>>
>> So instead of:
>>   
>> ALL
>> 
>>   102489659
>>
>> your request should look like:
>>   
>> ALL
>> 
>>   
>> 102489659
>> 
>> Please give that a try and let me know if you run into any other issues.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Friday, July 17, 2015 at 2:36:37 PM UTC-4, Damien wrote:
>>>
>>> Hi Josh,
>>>
>>> Here is the Python logger output, you can find the XML request below 
>>> (all sensitive information replaced by "[removed]"):
>>>
>>> DEBUG:suds.transport.http:opening (https://
>>> adwords.google.com/api/adwords/rm/v201502/AdwordsUserListService?wsdl)
>>> DEBUG:suds.transport.http:sending:
>>> URL: https://
>>> adwords.google.com/api/adwords/rm/v201502/AdwordsUserListService
>>> HEADERS: {'Content-Type': 'text/xml; charset=utf-8', 'Authorization': 
>>> 'Bearer 
>>> [removed]', 'SOAPAction': b'""', 'Content-type': 'text/xml; 
>>> charset=utf-8', 'Soapaction': b'""'}
>>> MESSAGE:
>>> b'>> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/; xmlns:tns="
>>> https://adwords.google.com/api/adwords/rm/v201502; xmlns:ns2="
>>> https://adwords.google.com/api/adwords/cm/v201502; xmlns:ns0="
>>> http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1="
>>> https://adwords.google.com/api/adwords/rm/v201502; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance;>>>  
>>> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502;>[removed]>>  
>>> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502;>[removed]>>  
>>> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502;>[removed] 
>>> (AwApi-Python, googleads/3.5.0, 
>>> Python/3.4.3)https://adwords.google.com/api/adwords/cm/v201502;>false>>  
>>> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201502;>falseADD>>  
>>> xsi:type="ns1:LogicalUserList">[removed] list created at 20150717 
>>> 14:18:00Users who visited list A but not B, C 
>>> and 
>>> DLogicalUserListALL>>  
>>> xsi:type="ns1:ExpressionRuleUserList">102489659falseList
>>>  
>>> A created at 20150717 14:17:57Users who visited 
>>> a page where URL contains 
>>> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]NONE>>  
>>> xsi:type="ns1:ExpressionRuleUserList">102489779falseList
>>>  
>>> B created at 20150717 14:17:58Users who visited 
>>> a page where URL contains 
>>> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]>>  
>>> xsi:type="ns1:ExpressionRuleUserList">102489899falseList
>>>  
>>> C created at 20150717 14:17:58Users who visited 
>>> a page where URL contains 
>>> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]>>  
>>> xsi:type="ns1:ExpressionRuleUserList">102490019falseList
>>>  
>>> D created at 20150717 14:17:59Users who visited 
>>> a page where URL contains 
>>> [removed]OPENOWNEDACTIVE30RULE_BASEDExpressionRuleUserListurl__CONTAINS[removed]'
>>> ERROR:suds.client:
>>>
>>> Thank you for your help,
>>>
>>> Damien
>>>
>>> On Friday, July 17, 2015 at 9:26:44 AM UTC-4, Josh Radcliff (AdWords API 
>>> Team) wrote:

 Hi Damien,

 In the past, I've seen this error when the SOAP XML was malformed. 
 Could you post your request XML with sensitive information removed (such 
 as 
 your developer token) so I can check it?

 Thanks,
 Josh, AdWords API Team

 On Thursday, July 16, 2015 at 8:56:54 AM UTC-4, Damien wrote:
>
> Hi,
>
> I am currently working on creating Remarketing lists. I am using the 
> Google AdWords API's Python libraries.
>
> I needed to create a LogicalUserList combining two 
> ExpressionRuleUserList. This is the error I got:
> suds.WebFault: Server raised fault: 'Cannot construct an instance of 
> com.google.ads.api.services.datax.userlists.LogicalUserListOperand 
> because 
> it is abstract.  You are probably missing an @Uses annotation while 
> invoking public abstract 
> com.google.ads.api.services.datax.userlists.UserListReturnValue 
> 

Re: 400 Bad Request

2018-03-02 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum
Hi Subin,

The "invalid_grant" error usually indicates that the access or refresh 
token being passed in your request is incorrect or invalid. 

To verify that your credentials are correct, you could also try the CURL 
request provided below and see if you are able to generate the access 
tokens? If the credentials are correct, you should get an access token for 
the below request.
curl https://www.googleapis.com/oauth2/v4/token \
-d refresh_token=your-refresh_token \
-d client_id=your-client-id \
-d client_secret=your-client-secret \
-d grant_type=refresh_token

If your credentials are incorrect and still facing an issues then could you 
generate a new refresh token with the help of this guide 

 and 
retry your request? Let me know if the issue persists.

Thanks,
Milind, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/8051edd9-d690-417e-9319-06cba3112f6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Query to get same data as Adwords dashboard

2018-03-02 Thread Carlos H. Vieira
I have a query that get's the data from the API but the data coming is 
different from the dashboard. The dashboard have nothing different, 
basically I put yesterday and show all campaigns.

The difference is easy spotted when I see the cost. It normally have a 
small difference of around £30, but today I saw more than £1k for yesterday 
report.

My query is the following:

SELECT 
 CampaignId, 
 CampaignName, 
 AdGroupId, 
 AdGroupName, 
 Id, 
 Criteria, 
 CriteriaType, 
 QualityScore, 
 AveragePosition, 
 AverageCpc,
 Impressions,
 Clicks,
 Cost
FROM
 CRITERIA_PERFORMANCE_REPORT
WHERE
 Status IN [ENABLED]
DURING {$dateString}, {$dateString}

Adwords dashboard have Time zone (GMT+00:00) GMT (no daylight saving)

Thank you for the help.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/47956f91-aeb1-45a7-8479-d66bb22d3f5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How often does the Adwords API updates?

2018-03-02 Thread 'Luis Montesa' via AdWords API Forum
Hi everyone,

Does anyone know how often the Adwords API connects both platforms? Does it 
happen once every 24 hours or is it constantly in touch?

Thanks a mil,

Luis

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/d9c0dd7f-8a98-4dc6-98c2-8f2994cd5b59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retrieving Adwords Ads Extension Data using API

2018-03-02 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
Hello Asad, 

Thank you for sharing the screenshot. It is currently not possible to 
retrieve the Extension name pointed in the screenshot through the AdWords 
API. 

Let me know if you have any other questions.

Regards,
Bharani, AdWords API Team

On Wednesday, January 24, 2018 at 11:24:39 AM UTC-5, Asad Khan wrote:
>
> Hi,
> I am trying to download via API, the exact same data that you have in the 
> UI as "Extensions".
> In the UI, it is listed as "Ads & Extensions" > tab "Extensions" - see 
> screenshot attached.
>
> Which API should i use Placeholder Feed Item Report 
> 
>  or Placeholder Report 
> ,
>  
> Additionally I want to know, which field would give me *Extension Name 
> and Extension Type Name*
>
>
> 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/0109744f-90e2-4e3e-9131-75e9dfdc6d84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Android Studio, Google Adwords API and dependencies

2018-03-02 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
Hi,

Since the issue you are facing is around dependencies, could you please 
download the 'AdWords jars and examples' download(which already contains 
the dependencies) in this 
 section of the 
client library and retry installation? Also, is there any specific reason 
that you are using Android Studio and not eclipse/maven 

?

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/f644b3b4-4957-4fa0-9e45-d0bf022e9ea2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Geo Performance API report data differs from Geographic report

2018-03-02 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
Hi Oksana,

Thank you for your patience. I have looked at your issue and in order to 
troubleshoot this further, could you please *reply privately to author* 
providing your client customer id?

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/c51cc0b9-d07c-4e3e-9cd0-b5083aa33e1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: 'Limited by Budget' Alert

2018-03-02 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
Hi Patrick,

You are correct. The "limited by budget" status of campaigns is not 
available via the API. Please request your client to refer this guide 
 to get clarity on 
what causes a campaign to change its status to "limited by budget". Please 
let me know if they have any further questions regarding API. Also, you may 
want to post this question in the AdWords Scripts Forum 

 to 
check if it can be done via scripts.

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/7705a158-289a-4263-bfaa-09b6dcc1faa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [4-4293000020668] throwing DetailedReportDownloadResponseException with 400 Response code.

2018-03-02 Thread Andrew Vathanakamsang
Hi Anash,

Thanks for getting back to me on this issue.

This is a log of the error after trying to parse the response. We have not
been able to download the reports since 02/23/18.

We have not changed our implementation. Can you let us know if you are
seeing a malformed request or is there an issue with our credentials?

Thanks,
Andrew

DetailedReportDownloadResponseException: 400
at
com.google.api.ads.adwords.lib.utils.AdHocReportDownloadHelper.downloadReport(ReportRequest,
DetailedReportDownloadResponseException$Builder)
at
com.google.api.ads.adwords.lib.utils.v201702.ReportDownloader.downloadReport(ReportDefinition)
at
com.thisorthat.alligator.service.impl.CampaignReportingServiceGoogleImpl.getGoogleCostReport(AdNetworkAccount,
Date)
at
com.thisorthat.alligator.service.impl.CampaignReportingServiceGoogleImpl.getCampaignCostReport(AdNetworkAccount,
Date)
at com.thisorthat.alligator.ScheduledTasks.updateGoogleCampigns()
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Object, Object[])
at java.lang.reflect.Method.invoke(Object, Object[])
at org.springframework.scheduling.support.ScheduledMethodRunnable.run()
at
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run()
at org.springframework.scheduling.concurrent.ReschedulingRunnable.run()
at java.util.concurrent.Executors$RunnableAdapter.call()
at java.util.concurrent.FutureTask.run()
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor$ScheduledFutureTask)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker)
at java.util.concurrent.ThreadPoolExecutor$Worker.run()
at java.lang.Thread.run()


On Fri, Mar 2, 2018 at 9:34 AM,  wrote:

> Hi Andrew,
>
> I made this email thread private, so you can respond to it to share the
> details.
>
> Cheers
> Anash
>
>
> On 02/27/18 12:41:22 avathanakams...@8thlight.com wrote:
>
> Hello AdWords API Team,
>
> I am experiencing the same issue. Can you let me know who I should reach
> out inorder to send you the logs?
>
> Thanks,
> Andrew
>
> On Wednesday, January 10, 2018 at 12:03:48 PM UTC-8, Anash P. Oommen
> (AdWords API Team) wrote:
>
> Hi Raneen,
>
> 400 exception happens if there's something wrong with the request being
> sent to the server. It could be because of an expired session; it could be
> because of a malformed request. Capturing the logs is the best way to tell
> for sure, because that gives you the raw HTTP response that the client
> library can't somehow seem to parse.
>
> Cheers
> Anash P. Oommen
> AdWords API Advisor.
>
> On Wednesday, January 10, 2018 at 5:25:23 AM UTC-5, raneenb...@gmail.com
> wrote:
>
> Hi Anash,
> the failure also happen with other reports.
> we think that the problem happen because of that the
> AdWordsSession expired .
>  we have checked in the documentation  which error returned if the
> AdWordsSession expired .
> can you please confirm that we got 400 if the session expired .
>
> Thanks,
> Raneen.
>
>
> On Friday, January 5, 2018 at 4:28:11 PM UTC+2, Anash P. Oommen (AdWords
> API Team) wrote:
>
> Hi Raneen,
>
> This looks to me as a combination of two issues - a server issue that's
> occasionally sending 400 responses, and the client library not being able
> to handle it correctly.
>
> For the first part, could you turn on logging and capture a failing
> request? The instructions are here: https://github.com/googl
> eads/googleads-java-lib/wiki/Logging. Once you have the logs, share it
> with me using the "Reply privately to author" and I'll ask the reporting
> team to respond.
>
> For the second part, file an issue with the Java client library here:
> https://github.com/googleads/googleads-java-lib/issues. You'd want to
> post a redacted version of the log you are sharing with me privately.
>
> Cheers
> Anash P. Oommen,
> AdWords API Team.
>
>
> On Thursday, January 4, 2018 at 6:37:05 AM UTC-5, Raneen Bsais wrote:
>
> Hi Peter,
> this error not always reprduce , we didn't catch this excption by
> debugging , it happens sometiems for our clients ,
> and even after the client try again the issue desapper.
> the main problem that the issue happen and if try it not happen .
>
> Regards,
> Raneen.
>
>
> On Thursday, January 4, 2018 at 7:56:51 AM UTC+2, Peter Oliquino wrote:
>
> Hi Raneen,
>
> Thank you for sending the requested information. Upon trying out your
> report and by also using the 201702 version of the AdWords API, I was able
> to successfully generate it on my end and did not encounter the error 400.
> This being said, could you confirm if you are still encountering the issue?
>
> Best regards,
> Peter
> AdWords API Team
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and Google+:
> https://googleadsdeveloper.blogspot.com/
> https://plus.google.com/+GoogleAdsDevelopers/posts
> 

400 Bad Request

2018-03-02 Thread SUBIN P VASU
An uncaught Exception was encountered 

Type: GuzzleHttp\Exception\ClientException

Message: Client error: `POST https://www.googleapis.com/oauth2/v4/token` 
resulted in a `400 Bad Request` response: { "error": "invalid_grant", 
"error_description": "Code was already redeemed." } 

Filename: 
C:\wamp\www\FeedWize\application\libraries\external\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php

Line Number: 113


Backtrace:

File: 
C:\wamp\www\FeedWize\application\libraries\external\vendor\guzzlehttp\guzzle\src\Middleware.php
Line: 65
Function: create 

File: 
C:\wamp\www\FeedWize\application\libraries\external\vendor\guzzlehttp\promises\src\Promise.php
Line: 203
Function: GuzzleHttp\{closure} 

File: 
C:\wamp\www\FeedWize\application\libraries\external\vendor\guzzlehttp\promises\src\Promise.php
Line: 156
Function: callHandler 

File: 
C:\wamp\www\FeedWize\application\libraries\external\vendor\guzzlehttp\promises\src\TaskQueue.php
Line: 47
Function: GuzzleHttp\Promise\{closure} 

File: 
C:\wamp\www\FeedWize\application\libraries\external\vendor\guzzlehttp\promises\src\Promise.php
Line: 246
Function: run 

File: 
C:\wamp\www\FeedWize\application\libraries\external\vendor\guzzlehttp\promises\src\Promise.php
Line: 223
Function: invokeWaitFn 

File: 
C:\wamp\www\FeedWize\application\libraries\external\vendor\guzzlehttp\promises\src\Promise.php
Line: 267
Function: waitIfPending 

File: 
C:\wamp\www\FeedWize\application\libraries\external\vendor\guzzlehttp\promises\src\Promise.php
Line: 225
Function: invokeWaitList 

File: 
C:\wamp\www\FeedWize\application\libraries\external\vendor\guzzlehttp\promises\src\Promise.php
Line: 62
Function: waitIfPending 

File: 
C:\wamp\www\FeedWize\application\libraries\external\vendor\guzzlehttp\guzzle\src\Client.php
Line: 106
Function: wait 

File: 
C:\wamp\www\FeedWize\application\libraries\external\vendor\google\auth\src\HttpHandler\Guzzle6HttpHandler.php
Line: 34
Function: send 

File: 
C:\wamp\www\FeedWize\application\libraries\external\vendor\google\auth\src\OAuth2.php
Line: 492
Function: __invoke 

File: C:\wamp\www\FeedWize\application\libraries\AccountProspect.php
Line: 45
Function: fetchAuthToken 

File: C:\wamp\www\FeedWize\application\controllers\FeedController.php
Line: 190
Function: __construct 

File: C:\wamp\www\FeedWize\index.php
Line: 315
Function: require_once 


I think, I have almost there, Since i got the credentials by trying the 
code directly.

Please help me.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/8894979a-91a2-4d5a-9e50-59373c14cc8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Some keywords are failing whole volume batch in TargettingIdeaService

2018-03-02 Thread 'Anash P. Oommen (AdWords API Team)' via AdWords API Forum
Hi cv,

We still have this issue in some form or the other - different combinations 
of keywords, targets, etc. We are working on a more complete resolution, 
but I still don't have a date for it yet. I'll update this thread when I 
have a fix.

Cheers
Anash P. Oommen,
AdWords API Advisor.

On Friday, March 2, 2018 at 2:04:58 AM UTC-5, cv wrote:
>
> Hello,
>
> Can anyone suggest what can be done to get proper data?
>
> I am also see that when we can mic category keywords the API is not 
> returning results.
> Can anyone confirm same?
>
>
>
> Thanks,
>
>
>
> On Thursday, 1 March 2018 11:39:13 UTC+5:30, cv wrote:
>>
>> Hello Anash,
>>
>> I am still facing the issue from past few days. When I run the service 
>> with 10-15 keywords it is not returning values, but when I ran the 
>> individual keywords it is providing me ideas through API.
>>
>> Is there still issue with API?
>>
>> Thanks,
>>
>>
>> On Tuesday, 7 November 2017 02:06:15 UTC+5:30, Anash P. Oommen (AdWords 
>> API Team) wrote:
>>>
>>> Hi Sebastian, Suk,
>>>
>>> This issue should be fixed as of today. Let me know if you continue 
>>> seeing more issues.
>>>
>>> Cheers
>>> Anash P. Oommen,
>>> AdWords API Advisor.
>>>
>>> On Thursday, October 26, 2017 at 2:27:19 PM UTC-4, Anash P. Oommen 
>>> (AdWords API Team) wrote:

 Hi Sebastian, Suk,

 I still don't have an update from the team. We are still working on a 
 fix.

 Thanks,
 Anash P. Oommen,
 AdWords API Advisor.

 On Thursday, October 26, 2017 at 5:28:15 AM UTC-4, Sebastian wrote:
>
> Hi Anash,
>
> any news on this topic?
>
> Thanks
> Sebastian
>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/d38eb3e7-5031-4da8-b644-9ded0df4a52a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Geo Performance API report data differs from Geographic report

2018-03-02 Thread Oksana Sulyma
Dear Adwords support, 
Any input will be highly appreciated!
Thanks!

On Wednesday, February 28, 2018 at 6:35:13 PM UTC+2, Oksana Sulyma wrote:
>
> Hi Guys,
> I have difficulties with understanding why my Geo Performance report which 
> I get from API is different from what I see in Adwords Geographic Report. 
> Here is my report xml:
>
>  xmlns="https://adwords.google.com/api/adwords/cm/v201710;>CampaignIdCampaignNameCityCriteriaIdCountryCriteriaIdRegionCriteriaIdMetroCriteriaIdDateImpressionsClicksCostAdNetworkType1LocationTypeMostSpecificCriteriaIdIsTargetingLocationCampaignIdINMYIDHERECityCriteriaIdIN90526762018010120180131Adwords
>  Geo 
> ListGEO_PERFORMANCE_REPORTCUSTOM_DATECSV
>
> Attaching a csv report that I get as a result. It has in summary 7 clicks and 
> 9558 impressions and Location Type = Physical location only.
>
> When I check Adwords Geographic report for this campaign and same city = 
> piney point village I see next
>
>  
> My questions are:
> Why I don't get Location of interest data in API report? I tried to add 
> 
> IsTargetingLocation
> IN
> true
> 
> 
> LocationType
> IN
> LOCATION_OF_PRESENCE
> AREA_OF_INTEREST
> UNKNOWN
> 
> but got the same response.
>
> Even Physical Location summary impressions in API report doesn't match UI.
>
> What am I missing? I'll appreciate any help on this. Thanks!
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/54dc44f3-b046-47c5-9494-88b3ab699487%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: TargetingIdeaService range of dates

2018-03-02 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi,

No updates to report at this time. We'll be sure to announce any changes in 
release 
notes 

 and 
on our blog 
 if this 
happens.

Thanks,
Josh, AdWords API Team

On Friday, March 2, 2018 at 1:23:47 AM UTC-5, ta...@evolvedigitallabs.com 
wrote:
>
> Hi,
>
> Any update in this topic again? Do we have option to give custom date 
> range in TargetingIdeaService in version vv201705? Specifically, with 
> python.
> Thanks!
>
> On Tuesday, November 24, 2015 at 8:21:33 AM UTC-6, Josh Radcliff (AdWords 
> API Team) wrote:
>>
>> Hi,
>>
>> There have not been any changes to *TargetingIdeaService* around dates. 
>> The service still only returns *TARGETED_MONTHLY_SEARCHES* for the last 
>> 12 months.
>>
>> Best regards,
>> Josh, AdWords API Team
>>
>> On Tuesday, November 24, 2015 at 8:44:28 AM UTC-5, Deepa Varma wrote:
>>>
>>> Hi,
>>>
>>>
>>>  Any update in this topic ? Do we have option to give date range 
>>> in TargetingIdeaService in version v201509 ? Please help 
>>>
>>>
>>>
>>> On Wednesday, 3 September 2014 01:59:15 UTC+5:30, Josh Radcliff (AdWords 
>>> API Team) wrote:

 Hi,

 The API does not support custom date ranges. The closest you can get to 
 approximating that functionality is to include the 
 *TARGETED_MONTHLY_SEARCHES* attribute type you mentioned in your 
 request.

 Best regards,
 Josh, AdWords API Team

 On Tuesday, September 2, 2014 4:55:29 AM UTC-4, Alex wrote:
>
> Hello
>
> I am trying to use PHP TargetingIdeaService (v201402) to get 
> TARGETED_MONTHLY_SEARCHES. 
> Is it possible to restrict the result of a range of dates, as it 
> happens in KeywordPlanner ( 
> http://gyazo.com/568f5499d1096ba05e776a05c135b4f9 )? 
>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/881b7891-7735-41d3-8e06-b6e4948c5c1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Android Studio, Google Adwords API and dependencies

2018-03-02 Thread goldenmaza
I have a problem resolving my dependencies and as always the official 
sources lack the details required to solve this problem and/or why certain
things might occur. Online guides have given examples of Eclipse and Maven, 
but since I neither sit with Eclipse or deal with Maven that
often I have no clue what to do.

In my project I would like to use the Google AdWords API, and I'm sitting 
with Android Studio 3.0.1, to do this I have tried the following:


1) Placed the Google API Client (+ Android, just incase) jar files under 
app/libs directory (name.jar + name-sources.jar).


2) The *build.gradle* file, under the *app* directory, have the following 
line under dependencies: *implementation 
'com.google.api-client:google-api-client:1.23.0'*


3) Same gradle file has the following as well, as that seemed to have 
solved a similar issue before:

android {
buildTypes {
debug { ... } // same content...
release { ... } // ...under both
}
}


4) Both build.gradle files (app and project) have the following in their 
respective locations (three different locations):

repositories {
jcenter()
google()
}


I continue having this problem regardless of what I try, once the third 
bullet above fixed a similar issue however, but not in this case and I 
still get the following:

Unable to resolve dependency for ':app@debug/compileClasspath': Could not 
resolve com.google.api-client:google-api-client:1.23.0. Open File Show 
Details

Unable to resolve dependency for ':app@release/compileClasspath': Could not 
resolve com.google.api-client:google-api-client:1.23.0. Open File Show 
Details


Under my class, as a result of the above, it can not find the following 
(one of many):

import com.google.api.ads.adwords.axis.v201710.cm.AdGroupAdServiceInterface;


I followed this guide for setting up my class: 
https://developers.google.com/adwords/api/docs/samples/java/basic-operations#get-expanded-text-ads


*What am I missing in this case?*

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/0f1185c1-a6c6-43a5-be29-f18c1250494d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


'Limited by Budget' Alert

2018-03-02 Thread 'Patrick McGuigan' via AdWords API Forum
Question here from Bidalgo, one of our SaaS partners who has integrated 
with UAC via API. They are building alerts for all UAC best practices into 
their dashboard that clients use to build/manage campaigns. The idea is 
that by pushing best practice adoption, performance will improve and 
adoption of Google on their SaaS product will increase.

One of the hurdles we've come across is including the "limited by budget" 
feature in their dash, it does not appear to be available via API. 
Are there any resources or info on what triggers the "limited by budget" 
alert/status in Adwords? Is any material externally shareable?  If not 
external, it would be great if there's any way to provide an explanation so 
Bidalgo could come up with their own version that would coincide with when 
it appears in Adwords.

Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/a502e75c-8461-4b27-9867-9703eafd113e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Im stock here in CreateHttpHeader error

2018-03-02 Thread Mark Anthony Gutierrez
Hello Vincent,

I have successfully get a request using LoadFromStorage(). Thanks a lot for 
the help! Kudos!

On Friday, March 2, 2018 at 5:04:14 PM UTC+8, Vincent Racaza (AdWords API 
Team) wrote:
>
> Hi Mark,
>
> You need to set the client secret 
> 
>  and refresh token 
> 
>  as 
> they are required fields in the authentication.
>
> In regards to your error, it seems that it could not locate/open the 
> googleads.yaml file based on this error message 
> "C:\Users\MaC\Desktop\project\ksvt, could not be opened". Please double 
> check on your end if the correct path was being set in the 
> *LoadFromStorage('path_of_your_yaml_file')* method. Or, you can also put 
> the googleads.yaml file in your home directory as you can see in this 
> guide 
> 
> .
>
> Thanks,
> Vincent
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/f97aa470-5440-4b15-96e2-ca14d4401fbe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Im stock here in CreateHttpHeader error

2018-03-02 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Mark,

You need to set the client secret 

 and refresh token 

 as 
they are required fields in the authentication.

In regards to your error, it seems that it could not locate/open the 
googleads.yaml file based on this error message 
"C:\Users\MaC\Desktop\project\ksvt, could not be opened". Please double 
check on your end if the correct path was being set in the 
*LoadFromStorage('path_of_your_yaml_file')* method. Or, you can also put 
the googleads.yaml file in your home directory as you can see in this guide 

.

Thanks,
Vincent
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/9dca3efc-c3f7-4bc0-8696-af08fd3d8e54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords : Feed Service API error

2018-03-02 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Gurpreet,

Can you confirm if these multiple AdWords accounts are under one parent 
MCC? If they are under one parent MCC, you can just use the access token 
from a user/email address of the manager account. You don't need to create 
multiple AdWords user/email addresses in order to use its access token in 
the httpAuthorizationHeader 

 field.

However, if these AdWords accounts are from different parent MCCs, then I 
am afraid that you need to use different email addresses that has access to 
the client account (has access to the AdWords API scope, and not to the GMB 
API).

Thanks,
Vincent
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/a133d525-1d49-48fd-922f-83e46710a3a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Im stock here in CreateHttpHeader error

2018-03-02 Thread Mark Anthony Gutierrez
Hello Vincent,

Im trying not to use the google.yaml and in the adwords.AdwordsClient 
parameters there's no indicating that I need the secret token and the 
refresh token.

Also I tried to use googleads.yaml and I got this error:


File 
"C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\googleads\adwords.py",
 
line 286, in LoadFromStorage
cls._OPTIONAL_INIT_VALUES))
  File 
"C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\googleads\common.py",
 
line 263, in LoadFromStorage
'Given yaml file, %s, could not be opened.' % path)
googleads.errors.GoogleAdsValueError: Given yaml file, 
C:\Users\MaC\Desktop\project\ksvt, could not be opened.

On Friday, March 2, 2018 at 1:29:56 PM UTC+8, Vincent Racaza (AdWords API 
Team) wrote:
>
> Hi,
>
> Based on your code snippet, it seems that you are not utilizing the 
> property file in getting the details of your credentials. I recommend that 
> you use the property file 
> 
>  so 
> you don't need to set these values in every example/code you are using.
>
> Also, in your code snippet, you did not set the client secret and refresh 
> token which are required fields for every API request. Please check this 
> guide 
>  to 
> help you get started.
>
> Thanks,
> Vincent
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/54c2c41c-828e-44f2-b79b-956d16d53e06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Im stock here in CreateHttpHeader error

2018-03-02 Thread Mark Anthony Gutierrez
Hello Vincent,

Im trying not to use the google.yaml and in the adwords.AdwordsClient 
parameters there's no indicating that I need the secret token and the 
refresh token.

On Friday, March 2, 2018 at 5:20:19 AM UTC+8, Mark Anthony Gutierrez wrote:
>
> Traceback (most recent call last):
>   File 
> "C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\exception.py",
>  
> line 35, in inner
> response = get_response(request)
>   File 
> "C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py",
>  
> line 128, in _get_response
> response = self.process_exception_by_middleware(e, request)
>   File 
> "C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py",
>  
> line 126, in _get_response
> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>   File "C:\Users\xxx\Desktop\project\ksvt\views.py", line 68, in generate
> main(adwords_client)
>   File "C:\Users\xxx\Desktop\project\ksvt\views.py", line 118, in main
> page = targeting_idea_service.get(selector)
>   File 
> "C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\googleads\common.py",
>  
> line 774, in MakeSoapRequest
> self._header_handler.SetHeaders(self.suds_client)
>   File 
> "C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\googleads\adwords.py",
>  
> line 514, in SetHeaders
> http_headers = self._adwords_client.oauth2_client.CreateHttpHeader()
> AttributeError: 'str' object has no attribute 'CreateHttpHeader'
>
>
> All credentials are passed correctly:
> adwords_client = adwords.AdWordsClient(
> 'dev-token', 
> 'client-id',
> 'user-agent', 
> client_customer_id= 'xxx-xxx-xxx')
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/5131f5cc-cce2-4d95-ba1e-5585e28c3b66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords : Feed Service API error

2018-03-02 Thread gurpreet . admaxlocal
Hi Vincent,

Thanks for the info. Currently we use common GMB account for multiple 
adwords accounts having different email ids. So we were following step 4 in 
"use 
location extensions" 

.
According to your suggestion (blog post link) below, it looks like we 
should now pass the adwords scope and adwords api email id in feed service 
oAuthInfo object. As I mentioned earlier, we have different adwords email 
id for each adwords api user and different email id for GMB. If we follow 
your suggestion we will have to add each adwords api user to GMB as manager 
and also set adwords api user mail id which is extra work of keeping mail 
ids of all adwords api user.

Currently we had created just one GMB manager user in GMB and its mail 
id,GMB scope and GMB Oauth was enough to create customer feeds in adwords 
by passing these info in oAuthInfo and email.

As below blog post suggest that the GMB scope is sunsetting and so we 
cannot use the our current approach, Is there any better way of handling 
our use case where we have multiple adwords api users using same GMB 
account ??  Any info on handling this scenario would be great.

Thanks,
Gurpreet

On Friday, March 2, 2018 at 12:25:50 PM UTC+5:30, Vincent Racaza (AdWords 
API Team) wrote:
>
> Hi Gurpreet,
>
> As you can see in this blog post 
> 
> , you will now need to use the AdWords API scope (
> https://www.googleapis.com/auth/adwords) in your OAuthInfo's 
> httpRequestUrl 
> 
>  field 
> when creating location extension feeds. Kindly do this suggestion and let 
> me know how it goes. If the issue still persists after doing the 
> suggestion, kindly provide the SOAP request and response logs via *Reply 
> privately to author* option so I can further check it. 
>
> Thanks,
> Vincent
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/c6b5ead0-7a9e-419f-9f01-a080918ce15b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.