Re: UNEXPECTED_INTERNAL_API_ERROR using TrafficEstimatorService with test accounts.

2016-02-24 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Dear Rob,

Thanks for reporting this.
I'll pass this information to the relevant team.

Could you please send us your SOAP logs as well by *Reply privately to 
author*?
Thanks in advance.

Best,
Thanet, AdWords API Team

On Thursday, February 25, 2016 at 5:59:13 AM UTC+9, Rob Drimmie wrote:
>
> I am submitting a request against the TrafficEstimatorService using the 
> developer id of an account with "Test Accounts" Access level and client 
> information for a test account. The script I am using is a very lightweight 
> modification of the EstimateKeywordTraffic example from googleads-php-lib (
> https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201601/Optimization/EstimateKeywordTraffic.php
> ).
>
> I am hoping to see some dummy data so I can build an application around 
> it, but instead I'm encountering:
>
> [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.init(InternalApiErro]
>
> I've tried over the course of the afternoon, so it seems likely that I'm 
> doing something wrong rather than encountering an actual error in the API.
>
> If it's helpful information, when I try querying against a production 
> account I receive QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED (which is 
> expected based on my access level). I'd be happy to pass along xml.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/803eb7aa-2b6d-415c-8362-42cd91cf2f6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Batch Job Service v201601. How long should a script wait before giving up?

2016-02-24 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Hello foluso,

1 - Is it possible for the job to take a very long time occaisionally? And 
> rarely fail for reasons unknown, and maybe not change the status after 
> failing or completing?

We have been aware of this issue and just improved the overall performance 
and reliability recently.
Could you please have a try again and let us know if you're still faced 
with this issue?
If you happen to be faced with this issue, please send your SOAP logs to us 
by *Reply privately to author*.

2 - Is there a maximum waiting time (maybe it's in the docs and I missed 
> it) at which I should stop polling the status and assume the job has 
> failed, or double check with the account on the Adwords website.

There is no maximum waiting time suggested currently. 
But if you try as done in our code example, but still don't get the job in 
a DONE or CANCELLED state, please inform us as there may be something wrong 
occurred.

Cheers,
Thanet, AdWords API Team

On Wednesday, February 24, 2016 at 10:30:06 PM UTC+9, 
fol...@brainlabsdigital.com wrote:
>
>
> This is a question about the new BatchJobService 
> ,
>  
> replacement to MutateJobService 
> 
> .
>
> I am using the v201601 Python library which is very well explained and 
> documented. 
>
> Short question:
>
> - Is it possible for the BatchJobService to be "DONE", or "CANCELLED". 
> Without a corresponding change in the batch job object which was selected 
> by Id. 
>
> Long explanation:
>
> I used the BatchJobService to update the status 2701 campaigns all at once.
> I was able to poll the status using the selector and predicates EQUALS 
>  with an exponential drop off as recommended in the example
> This worked reliably most of the time, and completed in 30 - 40s on 
> average.
> Occasionally, the exact same request would complete in 3 minutes with a 
> status of "AWAITING _FILE" or "ACTIVE"
> I believe the operations usually completed eventually, but once in a while 
> they did not. 
>
> This problem is difficult to replicate as the service usually works 
> perfectly, but I will try to log all the interations in the future so I can 
> provide more details. 
>
>
> Long Question:
>
> Assuming:
>
> - I have polled the correct batch job Id
> - I have indeed uploaded operations to the batch job
> - I polled the batch job status exactly as recommended in the documentation
>
> 1 - Is it possible for the job to take a very long time occaisionally? And 
> rarely fail for reasons unknown, and maybe not change the status after 
> failing or completing?
>
> 2 - Is there a maximum waiting time (maybe it's in the docs and I missed 
> it) at which I should stop polling the status and assume the job has 
> failed, or double check with the account on the Adwords website.
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3da634d4-b511-4d7d-92b5-fb3634d938ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Update Image Ad

2016-02-24 Thread Ezequiel Murillo
Hello, 

I'm aware that you can't modify most values in a given ad using the API.

For image ads though, you can modify the name and the finalURL in the UI.

Is this still imposible using the API, are there any plans to include this 
changes in the future?

Cheers
Ezequiel

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ea7a354f-fdfb-4ad2-bb7e-3994ad7c26c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: After a server transfer I'm not receiving a Failed Opening Required error

2016-02-24 Thread 'Umesh Dengale' via AdWords API Forum
Hello,

Could you check Logger.php file exists at include_path location? If you 
downloaded the library from github 
, that file should be in 
the directory specified. If not, please try downloading the library again 
and make sure you include all directories in the library.

Thanks,
Yin, 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/ff4d2138-4e42-4dbd-a0b0-c24d903e2a4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: INVALID_FIELD_NAME_FOR_REPORT when requesting AdGroupName from the Video performance report

2016-02-24 Thread 'Anthony Madrigal' via AdWords API Forum
Hi Tiana,

AdGroupName was added to AdWords API v201601 
. 
So if you are using a previous version, you will get this error.

Regards,
Anthony
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/aaac5c76-3662-4ac8-a57e-99d5f0fdac85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


After a server transfer I'm not receiving a Failed Opening Required error

2016-02-24 Thread nicolus
Hello,

After a recent server migration, when I now try to use the API I receive 
this error:

[PHP Fatal error:  require_once(): Failed opening required 
'Google/Api/Ads/Common/Util/Logger.php' 
(include_path='.:/usr/share/php:/usr/share/pear'

)


Does anyone have any ideas as to what would cause this?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0af86ca2-f3b1-4376-a3e4-9c1511609fc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


UNEXPECTED_INTERNAL_API_ERROR using TrafficEstimatorService with test accounts.

2016-02-24 Thread Rob Drimmie
I am submitting a request against the TrafficEstimatorService using the 
developer id of an account with "Test Accounts" Access level and client 
information for a test account. The script I am using is a very lightweight 
modification of the EstimateKeywordTraffic example from googleads-php-lib 
(https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201601/Optimization/EstimateKeywordTraffic.php).

I am hoping to see some dummy data so I can build an application around it, 
but instead I'm encountering:

[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.init(InternalApiErro]

I've tried over the course of the afternoon, so it seems likely that I'm 
doing something wrong rather than encountering an actual error in the API.

If it's helpful information, when I try querying against a production 
account I receive QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED (which is 
expected based on my access level). I'd be happy to pass along xml.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1e9870a9-1429-4285-8f5d-e7dee7668d20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords Control

2016-02-24 Thread 'Umesh Dengale' via AdWords API Forum
Hi Aayush,

You could use the AdWords API to change the status (e.g. paused etc.) of 
the campaigns. Please check out our getting started guide 
, sign up guide 
 and 
UpdateCampaign 

 Java 
example code from the client library. Other languages example code could be 
found here .

Thanks,
Umesh, 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/074d7a6f-4dc4-4fad-a97c-defc1a9d402f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: documentation for types on some reporting fields appears incorrect

2016-02-24 Thread 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
Hello,

I definitely agree that these inconsistencies in the way things actually 
work versus the way they're documented are really frustrating. 
Unfortunately, I don't know which way is truly intended, so I am going to 
get in contact with the engineering team to clarify and hopefully update 
either the report rendering or the documentation so the two match.

Regards,
Mike, AdWords API Team

On Wednesday, February 24, 2016 at 12:36:34 PM UTC-5, GregT wrote:
>
> Hi,
>
> We're upgrading from v201506 of the API, and because of the RMF, we need 
> to be able to display all the newly available metrics columns for the 
> reports that our end users see. Some of the metrics added to the reports 
> since v201506 appear to be documented incorrectly, with the types in the 
> documentation not matching reality. We just want to verify that the 
> documentation is wrong, as opposed to the documentation being correct and 
> eventually the reports changing the types of these fields (i.e. so we don't 
> find our code breaking down the road).  The fields:
>
>
>1. ActiveViewMeasurability: the documentation claims it's a double, 
>but we are getting back percentages ("0.0%"), and the AdWords UI displays 
> a 
>percentage for this metric.
>2. ActiveViewViewability: same thing as #1.
>3. ActiveViewCtr: same thing as #1.
>4. AverageCpe: the documentation claims it's a double, but we appear 
>to be getting back Money (i.e. micros), and the AdWords UI displays this 
> as 
>money.
>5. AverageCpv: same thing as #4.
>
>
> Thanks in advance,
> Greg
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a37f7f07-444e-44d7-a452-7146822ecb85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PHP Library - Can not set NetwordSearchParameter (Network Search Parameter, Network Setting)

2016-02-24 Thread 'Anthony Madrigal' via AdWords API Forum
Hi Ryan,

I am not experienced with PHP but I think you should be able to resolve 
your issue by setting the targetSearchNetwork 

 to 
FALSE.

If you are still having issues, please *reply privately to author *your 
SOAP request and response.

Regards,
Anthony
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/07cb59a9-049e-4c70-9507-4725c61ab08d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Support of Universal App Campaigns

2016-02-24 Thread 'Anash P. Oommen (AdWords API Team)' via AdWords API Forum
Hi Amir,

No, this isn't supported yet. Please watch our release notes 
 for updates in 
a future version.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, February 24, 2016 at 8:31:16 AM UTC-5, Amir Shoval wrote:
>
> Hi Anash,
> Any update on this? We'd like to use the AdWords API for creating 
> Universal App campaigns as well.
>
> Thanks,
> -Amir
>
> On Tuesday, August 11, 2015 at 6:22:54 PM UTC+3, Александр Швец wrote:
>>
>> Hi Guys!
>>
>> I have a trouble with Universal App Campaigns. I've just created a new 
>> one through Web UI, but I can't see this item through API.
>>
>> Is this type of campaigns supported by API?
>>
>>
>> Thanks,
>> Alexander Shvets
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/12b3a7dd-583e-43a7-b2b2-dd41e2cba0c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


documentation for types on some reporting fields appears incorrect

2016-02-24 Thread GregT
Hi,

We're upgrading from v201506 of the API, and because of the RMF, we need to 
be able to display all the newly available metrics columns for the reports 
that our end users see. Some of the metrics added to the reports since 
v201506 appear to be documented incorrectly, with the types in the 
documentation not matching reality. We just want to verify that the 
documentation is wrong, as opposed to the documentation being correct and 
eventually the reports changing the types of these fields (i.e. so we don't 
find our code breaking down the road).  The fields:


   1. ActiveViewMeasurability: the documentation claims it's a double, but 
   we are getting back percentages ("0.0%"), and the AdWords UI displays a 
   percentage for this metric.
   2. ActiveViewViewability: same thing as #1.
   3. ActiveViewCtr: same thing as #1.
   4. AverageCpe: the documentation claims it's a double, but we appear to 
   be getting back Money (i.e. micros), and the AdWords UI displays this as 
   money.
   5. AverageCpv: same thing as #4.


Thanks in advance,
Greg

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7765e303-cd5f-44fa-a5a4-591e05ad26ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


PHP Library - Can not set NetwordSearchParameter (Network Search Parameter, Network Setting)

2016-02-24 Thread ryan


Everything is working fine but when I try to set the NetworkSearchParameter 
to only use Google Search results it doesn't seem to return the correct 
values.  It returns the number of searches from Google + Search Networks.


My code is:

$networkSearchParameter = new NetworkSearchParameter();
$networkSearchParameter->networkSetting = 'targetGoogleSearch';
$selector->searchParameters[] = $networkSearchParameter;

Also tried:

$networkSearchParameter = new NetworkSearchParameter();
$networkSetting = new NetworkSetting();
$networkSetting->targetGoogleSearch = true;
$networkSearchParameter->networkSetting = $networkSetting;
$selector->searchParameters[] = $networkSearchParameter;

And:
$networkSetting = new NetworkSetting();
$networkSetting->targetGoogleSearch = true;
$selector->networkSetting = $networkSetting


Is there something I am missing here? The documentation/examples on this 
are unclear and this is for the TargetingIdeaService.

Thanks.

= = =

The full code is below in case that is needed:

GetService('TargetingIdeaService', ADWORDS_VERSION);

  // Create selector.
  $selector = new TargetingIdeaSelector();
$selector->requestType = 'STATS';
  $selector->ideaType = 'KEYWORD';
  $selector->requestedAttributeTypes = array('KEYWORD_TEXT', 'SEARCH_VOLUME', 
'AVERAGE_CPC');

  // Create language search parameter (optional).
  // The ID can be found in the documentation:
  //   https://developers.google.com/adwords/api/docs/appendix/languagecodes
  // Note: As of v201302, only a single language parameter is allowed.
  $languageParameter = new LanguageSearchParameter();
  $english = new Language();
  $english->id = 1000;
  $languageParameter->languages = array($english);

  // Create related to query search parameter.
  $relatedToQuerySearchParameter = new RelatedToQuerySearchParameter();
  $relatedToQuerySearchParameter->queries = $keywords;
  $selector->searchParameters[] = $relatedToQuerySearchParameter;
  $selector->searchParameters[] = $languageParameter;

  // Set selector paging (required by this service).
  $selector->paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE);

  do {
// Make the get request.
$page = $targetingIdeaService->get($selector);

// Display results.
if (isset($page->entries)) :
$results_array = array();
  foreach ($page->entries as $targetingIdea) :
$data = MapUtils::GetMap($targetingIdea->data);
$keyword = $data['KEYWORD_TEXT']->value;
$search_volume = isset($data['SEARCH_VOLUME']->value) ? 
$data['SEARCH_VOLUME']->value : 0;
$average_cpc = 
isset($data['AVERAGE_CPC']->value->microAmount) ? 
$data['AVERAGE_CPC']->value->microAmount : 0;
$average_cpc = floatval($average_cpc) / 100;
$results_array[] = 
array( $keyword, $search_volume, 
$average_cpc );
  endforeach;
else :
  print "No keywords ideas were found.\n";
return false;
endif;

// Advance the paging index.
$selector->paging->startIndex += AdWordsConstants::RECOMMENDED_PAGE_SIZE;
  } while ($page->totalNumEntries > $selector->paging->startIndex);
return json_encode( $results_array );
}

// Don't run the example if the file is being included.
if (__FILE__ != realpath($_SERVER['PHP_SELF'])) {
  return;
}

try {
  // Get AdWordsUser from credentials in "../auth.ini"
  // relative to the AdWordsUser.php file's directory.
  $user = new AdWordsUser();

  // Log every SOAP XML request and response.
  //$user->LogAll();

  // Create seed keyword.
$keywords = array(
'Testing'
, 'Web development'
);

  $results_array = GetSearchVolume($user, $keywords);
print_r ( $results_array );
} catch (Exception $e) {
  printf("An error has occurred: %s\n", $e->getMessage());
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3b85d1fb-487b-4c9c-bb41-d460f75ce846%40googlegroups.com.
For more options, visit 

Re: Adwords API Work on Video Campaigns?

2016-02-24 Thread Tiana S.
Hi Filip,

As far as I know it's not possible to pause/resume a video campaign through 
the API currently, but the video campaign statistics have in fact (finally) 
been added to the reporting API (after several years of users asking).

https://developers.google.com/adwords/api/docs/appendix/reports/video-performance-report

They've also added Video views, view rate, Cost per view (avgCPV) and Video 
played to 100/75/50/25% metrics to most of the other Reports, such as the 
Campaign performance report. 
Video campaigns are now also returned in those reports and two network 
types have been added: 

YOUTUBE_SEARCH YouTube Search
YOUTUBE_WATCH YouTube Videos
Best,
Tiana

On Tuesday, 23 February 2016 14:05:41 UTC+1, Filip Holmberg wrote:
>
> So whats the status one year later? I assume nothings changed? 
>
> So just to clarify, it is not possible to pause/resume an video campaign 
> thru the API at the moment?
>
> On Tuesday, 10 February 2015 15:48:49 UTC+2, Danial Klimkin wrote:
>>
>> Hello Eric,
>>
>>
>> Unfortunately no, this is still not supported. Please note we never 
>> announced this functionality to be "coming soon".
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Tuesday, February 10, 2015 at 4:09:11 AM UTC+3, Eric W wrote:
>>>
>>> No updates on this, right? 
>>>
>>> In searching for this functionality (ability to pull video campaign data 
>>> through the api), people have been asking if this is ready since 2012. 
>>> I see a reference saying it is not available as of 2008. 
>>>
>>> Since it has been 7 years, maybe this can get moved up in priority?
>>>
>>> If I am back here in 2022 with this functionality still "coming soon", i 
>>> am going back to "placing small ads in newspapers around the country"!
>>> Eric
>>>
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a49310b6-995a-4e6f-8f81-a4451ecb6bb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJobService HTTP 503 Service Unavailable - [URGENT]

2016-02-24 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi,

Did you retry the request, as Umesh suggested in his earlier reply? Since 
*BatchJobService* uploads go to Google Cloud Storage, you should implement 
retry logic if you are encountering 408, 500, 502, 503, or 504 errors -- 
please see Recommended practices in the Google Cloud Storage guide 
 for 
details.

Thanks,
Josh, AdWords API Team

On Wednesday, February 24, 2016 at 10:24:30 AM UTC-5, Biniam Asnake wrote:
>
> This issue happened again and killed tomcat. Please help.
>
> On Tuesday, February 23, 2016 at 6:19:53 PM UTC+1, Umesh Dengale wrote:
>>
>> Hello,
>>
>> Thanks for attaching the full stack trace. The above error could be 
>> transient. Could you retry above API call? Please let us know if you still 
>> experience the issue.
>>
>> Regards,
>> Umesh, 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/d36052db-b246-4e15-bc5d-5dc2c14dc950%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords API Video campaigns

2016-02-24 Thread 'Anthony Madrigal' via AdWords API Forum
Hi Vladan,

Currently, AdWords API only supports reporting for video campaigns. You 
will not be able to get or mutate any video campaigns via CampaignService. 
You can use the Video Performance Report 

 (and 
other reports) to get back stats on your video campaigns.

You could follow our blog 
 regarding 
any announcements regarding this feature.

Regards,
Anthony
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/bfc781e0-4295-4afb-b114-085e1d45788b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: InConsistency in volumes data from api

2016-02-24 Thread 'Anthony Madrigal' via AdWords API Forum
Hello,

This issue seems better suited for our AdWords Community Forum 
. 
They should be able to figure out why the numbers are returning this way.

Regards,
Anthony
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/e696844c-3114-4c69-bb5d-34519324c9b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Non-ascii characters in report data cause Python sample code to choke

2016-02-24 Thread 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
Hello,

For issues with client libraries specifically, please file reports on that 
library's issue tracker. You can make a new issue on the python library's 
issue tracker , 
and the maintainer will determine whether it is a duplicate of the one you 
mentioned.

I will also let the maintainer know to take a look since the one you linked 
hasn't been addressed yet.

Regards,
Mike, AdWords API Team

On Wednesday, February 24, 2016 at 8:28:59 AM UTC-5, Paul Karayan wrote:
>
> I have a Python program that running Adword reports using AWQL similar to 
> the example here:
>
>
> https://github.com/googleads/googleads-python-lib/blob/57fe3710c6ff95554415640a82f645d894eb1f96/examples/adwords/v201506/reporting/download_criteria_report_as_stream_with_awql.py
>
> What I've found is that the program fails with non-ascii characters in the 
> data - for example, if this were a search term:
> "blockspring 翻译" (quotes added)
>
> Here's the error message generated:
> 'ascii' codec can't encode characters in position 6-7: ordinal not in 
> range(128) 
>
> I think this is the culprit:
> report_data = StringIO.StringIO()
> However, I can't use BytesIO() per suggestion on Stack Overflow or another 
> error results:
> TypeError: 'unicode' does not have the buffer interface 
>
>
> Do you have any suggestions? I find it hard to believe that the sample 
> code wouldn't work for non-ascii characters in the underlying text data but 
> I clearly can't figure it out myself :) Even trying to inject these 
> characters into my data is pretty painful so it's hard to test... so 
> suggestions there would be quite desirable as well.
>
> This may be similar to this issue:
> https://github.com/googleads/googleads-python-lib/issues/86
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/60c54382-c6d7-4a53-b714-b23c8e1bd3c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Re marketing api issue

2016-02-24 Thread 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
Hello,

This forum is specifically for issues with the AdWords API. Your request 
seems to be more generic to conversion tracking in AdWords in general, or 
using a non-AdWords API. Unfortunately, we will not be able to assist.

You could try our AdWords Community: https://www.en.adwords-community.com/

Regards,
Mike, AdWords API Team

On Wednesday, February 24, 2016 at 8:29:38 AM UTC-5, lumoid...@gmail.com 
wrote:
>
> Hi,
>
>  
>
> I tried implementing server to server re-marketing based on this link: 
> https://developers.google.com/app-conversion-tracking/android/remarketing-server
>
>  
>
> I have an analytics server where I am capturing all details from my 
> android and ios app and using the below api to send a GET request. I 
> response, I get 200 OK, but my re marketing widget (top right) in Shared 
> Library > Audiences in the adwords account still displays "We haven't 
> detected the AdWords tag on your website or in your app". The request I am 
> sending is given below. Any idea why this is happening?
>
>  
>
>
> https://www.googleadservices.com/pagead/conversion/my_tracking_id/?rdid=my_device_adid=1...
>  
> 
>
>  
>
> Appreciate any help on this.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d4976b26-e43d-4aff-aa6f-d28f17811075%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


INVALID_FIELD_NAME_FOR_REPORT when requesting AdGroupName from the Video performance report

2016-02-24 Thread Tiana S.
 

In the documentation 
(https://developers.google.com/adwords/api/docs/appendix/reports/video-performance-report#adgroupname),
 
AdGroupName is said to be a valid attribute to request from the Video 
performance report.

The following query however returns an INVALID_FIELD_NAME_FOR_REPORT when 
requesting AdGroupName:


SELECT+VideoId,VideoTitle,CampaignName,AdGroupName,VideoViews,Clicks,Cost,
Conversions,VideoQuartile100Rate,VideoQuartile75Rate,VideoQuartile50Rate,
VideoQuartile25Rate+FROM+VIDEO_PERFORMANCE_REPORT+DURING+20151001,20151031

The error that's returned:

 
   
 ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT
 
 AdGroupName
   
 


Any help would be greatly appreciated!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7fccfd94-c28c-4d76-bfbb-0e8973e808bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJobService HTTP 503 Service Unavailable - [URGENT]

2016-02-24 Thread Biniam Asnake
This issue happened again and killed tomcat. Please help.

On Tuesday, February 23, 2016 at 6:19:53 PM UTC+1, Umesh Dengale wrote:
>
> Hello,
>
> Thanks for attaching the full stack trace. The above error could be 
> transient. Could you retry above API call? Please let us know if you still 
> experience the issue.
>
> Regards,
> Umesh, 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/4872f975-da17-484d-bcd7-75636f4fc9be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJobService upload is taking too long

2016-02-24 Thread 'Yin Niu' via AdWords API Forum
Hello,

You can take a look at this stackoverflow post 

. 

Thanks,
Yin, 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/60864c07-ed35-43a1-9a97-0eaf86164bd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problem while using the API in ColdFusion

2016-02-24 Thread 'Umesh Dengale' via AdWords API Forum
Hello,

Could you provide your application logs which make the AdWords API call? 
The logs will help us to investigate further. Just click *Reply privately 
to author* in the forum when responding. 

Regards,
Umesh, 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/509c8852-4f26-4787-8f5a-a5ce27ad117d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get Campaign List, containing labels: UNEXPECTED_INTERNAL_API_ERROR

2016-02-24 Thread idan harel
Hi. I've resolved this issue so I'm deleting this post. Thanks!

On Wednesday, February 24, 2016 at 3:29:56 PM UTC+2, idan harel wrote:
>
> Hey,
> I'm facing an issue with the AdWords API.
>
> I'm doing a get campaign list request which contain labels, this is the 
> request:
>
> http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance;>
> 
> https://adwords.google.com/api/adwords/cm/v201601; 
> soapenv:mustUnderstand="0">
> ---
> ---
> Mabaya API (AwApi-Java, AdWords-Axis/2.9.0, 
> Common-Java/2.9.0, Axis/1.4, Java/1.8.0_45, internal)
> false
> false
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v201601;>
> 
> Id
> Name
> Status
> BudgetName
> Amount
> 
> Labels
> CONTAINS_ALL
> Visible In Backoffice
> seller-b
> 
> 
> Id
> DESCENDING
> 
> 
> 0
> 10
> 
> 
> 
> 
> 
>
>
> That's the response i'm getting:
>
> http://schemas.xmlsoap.org/soap/envelope/;>
> 
> https://adwords.google.com/api/adwords/cm/v201601;>
> 00052c8140d446110ac4c3a25b033d08
> CampaignService
> get
> 1
> 282
> 
> 
> 
> 
> soap:Server
> [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.init(InternalApiErro]
> 
> https://adwords.google.com/api/adwords/cm/v201601;>
> 
> [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.init(InternalApiErro]
> 
> ApiException
> http://www.w3.org/2001/XMLSchema-instance; xsi:type="InternalApiError">
> 
> 
> 
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> InternalApiError
> UNEXPECTED_INTERNAL_API_ERROR
> 
> 
> 
> 
> 
> 
>
>
> Could someone have a look at this and tell me why this is happening?
>
> Thanks!
> Idan
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/de48e80f-e307-4dfa-85da-c8c3ad49f35d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords API Video campaigns

2016-02-24 Thread Vladan Markovic
Hi,

I see there were some work on the Adwords API for the Video campaigns during 
last couple of versions.
Optimistically we updated API to latest version v201601 and started with 
long time anticipated upgrade of our software to support Youtube Video 
campaigns.


I am interested what is the status of Video campaigns API other then 
reports data, I cannot work with Video Campaign like normal campaign over 
CampaignService.

Our software have two parts, reporting and managing of campaigns. 
With what we have so far from API, i can get report data, but i am having a 
really hard time getting to work anything else for managing campaigns.

Questions specifically:

1. Is it possible to pull Video Campaign data from CampaignService
2. Is it possible to see daily budget amount, budget period, 
and preferably Budget ID that is used by Video Campaign.
4. Is it possible to PAUSE / RESUME Video Campaign.

If answer is NO for previous questions, can anyone tell if this 
is something that Google Dev team is working on,
or Video Campaign report data is all we will get.

Thank You,
Vladan Markovic

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f1c72bf7-51a9-412d-b25b-174ef64dd336%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Support of Universal App Campaigns

2016-02-24 Thread Amir Shoval
Hi Anash,
Any update on this? We'd like to use the AdWords API for creating Universal 
App campaigns as well.

Thanks,
-Amir

On Tuesday, August 11, 2015 at 6:22:54 PM UTC+3, Александр Швец wrote:
>
> Hi Guys!
>
> I have a trouble with Universal App Campaigns. I've just created a new one 
> through Web UI, but I can't see this item through API.
>
> Is this type of campaigns supported by API?
>
>
> Thanks,
> Alexander Shvets
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/eec38548-dfc8-478b-ad83-25f8d82d3e0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Batch Job Service v201601. How long should a script wait before giving up?

2016-02-24 Thread foluso

This is a question about the new BatchJobService 
,
 
replacement to MutateJobService 

.

I am using the v201601 Python library which is very well explained and 
documented. 

Short question:

- Is it possible for the BatchJobService to be "DONE", or "CANCELLED". 
Without a corresponding change in the batch job object which was selected 
by Id. 

Long explanation:

I used the BatchJobService to update the status 2701 campaigns all at once.
I was able to poll the status using the selector and predicates EQUALS 
 with an exponential drop off as recommended in the example
This worked reliably most of the time, and completed in 30 - 40s on average.
Occasionally, the exact same request would complete in 3 minutes with a 
status of "AWAITING _FILE" or "ACTIVE"
I believe the operations usually completed eventually, but once in a while 
they did not. 

This problem is difficult to replicate as the service usually works 
perfectly, but I will try to log all the interations in the future so I can 
provide more details. 


Long Question:

Assuming:

- I have polled the correct batch job Id
- I have indeed uploaded operations to the batch job
- I polled the batch job status exactly as recommended in the documentation

1 - Is it possible for the job to take a very long time occaisionally? And 
rarely fail for reasons unknown, and maybe not change the status after 
failing or completing?

2 - Is there a maximum waiting time (maybe it's in the docs and I missed 
it) at which I should stop polling the status and assume the job has 
failed, or double check with the account on the Adwords website.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ae9272ab-3aad-4045-ae29-ef293b12774f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Get Campaign List, containing labels: UNEXPECTED_INTERNAL_API_ERROR

2016-02-24 Thread idan harel
Hey,
I'm facing an issue with the AdWords API.

I'm doing a get campaign list request which contain labels, this is the 
request:

http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>

https://adwords.google.com/api/adwords/cm/v201601; 
soapenv:mustUnderstand="0">
---
---
Mabaya API (AwApi-Java, AdWords-Axis/2.9.0, 
Common-Java/2.9.0, Axis/1.4, Java/1.8.0_45, internal)
false
false



https://adwords.google.com/api/adwords/cm/v201601;>

Id
Name
Status
BudgetName
Amount

Labels
CONTAINS_ALL
Visible In Backoffice
seller-b


Id
DESCENDING


0
10







That's the response i'm getting:

http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/cm/v201601;>
00052c8140d446110ac4c3a25b033d08
CampaignService
get
1
282




soap:Server
[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.init(InternalApiErro]

https://adwords.google.com/api/adwords/cm/v201601;>

[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.init(InternalApiErro]

ApiException
http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="InternalApiError">



InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
InternalApiError
UNEXPECTED_INTERNAL_API_ERROR








Could someone have a look at this and tell me why this is happening?

Thanks!
Idan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/84a3169a-0d41-474c-ba1c-6ad24f67d124%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords Control

2016-02-24 Thread aayush . gupta

Hi All, 

I want to close all my AdWords account with a single click of my mobile as 
my company's website sometimes is down in the night and thus I have to 
pause my campaigns. Currently I find that it is not possible using my 
smartphone. Is there a way to do it ?

Thanks in advance
Aayush Gupta

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bde084c0-f48c-4649-9f85-e280563c27e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re marketing api issue

2016-02-24 Thread lumoid . in


Hi,

 

I tried implementing server to server re-marketing based on this link: 
https://developers.google.com/app-conversion-tracking/android/remarketing-server

 

I have an analytics server where I am capturing all details from my android 
and ios app and using the below api to send a GET request. I response, I 
get 200 OK, but my re marketing widget (top right) in Shared Library > 
Audiences in the adwords account still displays "We haven't detected the 
AdWords tag on your website or in your app". The request I am sending is 
given below. Any idea why this is happening?

 

https://www.googleadservices.com/pagead/conversion/my_tracking_id/?rdid=my_device_adid=1...
 


 

Appreciate any help on this.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bc767802-bc31-4b19-8049-1d2f7673a0c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re targeting || Server to Server API

2016-02-24 Thread lumoid . in


Hi,

 

I tried implementing server to server re-marketing based on this link: 
https://developers.google.com/app-conversion-tracking/android/remarketing-server

 

I have an analytics server where I am capturing all details from my android 
and ios app and using the below api to send a GET request. I response, I 
get 200 OK, but my re marketing widget (top right) in Shared Library > 
Audiences in the adwords account still displays "We haven't detected the 
AdWords tag on your website or in your app". The request I am sending is 
given below. Any idea why this is happening?

 

https://www.googleadservices.com/pagead/conversion/my_tracking_id/?rdid=my_device_adid=1...
 


 

Appreciate any help on this.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/26ad4ade-c423-457b-94ec-f101f6bf4667%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Non-ascii characters in report data cause Python sample code to choke

2016-02-24 Thread Paul Karayan
I have a Python program that running Adword reports using AWQL similar to 
the example here:

https://github.com/googleads/googleads-python-lib/blob/57fe3710c6ff95554415640a82f645d894eb1f96/examples/adwords/v201506/reporting/download_criteria_report_as_stream_with_awql.py

What I've found is that the program fails with non-ascii characters in the 
data - for example, if this were a search term:
"blockspring 翻译" (quotes added)

Here's the error message generated:
'ascii' codec can't encode characters in position 6-7: ordinal not in 
range(128) 

I think this is the culprit:
report_data = StringIO.StringIO()
However, I can't use BytesIO() per suggestion on Stack Overflow or another 
error results:
TypeError: 'unicode' does not have the buffer interface 


Do you have any suggestions? I find it hard to believe that the sample code 
wouldn't work for non-ascii characters in the underlying text data but I 
clearly can't figure it out myself :) Even trying to inject these 
characters into my data is pretty painful so it's hard to test... so 
suggestions there would be quite desirable as well.

This may be similar to this issue:
https://github.com/googleads/googleads-python-lib/issues/86

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e95d807b-5d79-4a4b-b38a-69c2f02c7854%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJobUtilities Upload taking too long

2016-02-24 Thread Biniam Asnake
@Anash
I created this thread 
.
Thanks

On Tuesday, February 23, 2016 at 5:38:53 PM UTC+1, Anash P. Oommen (AdWords 
API Team) wrote:
>
> Hi Biniam,
>
> Could you kindly open a new thread? This one is discussing the .NET 
> library and I don't want the two discussions to get mixed up.
>
> Cheers,
> Anash
>
> On Tuesday, February 23, 2016 at 8:44:31 AM UTC-5, Biniam Asnake wrote:
>>
>> @Anash
>> How can I increase the connection limit in the Java API?
>>
>>
>> On Friday, January 15, 2016 at 8:34:49 PM UTC+1, Rafael Machado wrote:
>>>
>>> Hello,
>>>
>>> I'm trying to bach upload some CampaignCriterionOperations with c# 
>>> BatchJobUtilities.Upload, but sometimes it's taking too long (I've been 
>>> waiting for an upload of aprox. 500 operations for more than two hours 
>>> now). The BatchJobUtilities.Upload(Url, operations) gets stucked (It does 
>>> not advace, but it doesn't break or give an exception either).
>>> What should I do?
>>>
>>> Thank you,
>>> Rafael
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5207e7a2-f33a-4182-be18-71ca69c012f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


BatchJobService upload is taking too long

2016-02-24 Thread Biniam Asnake
As a continuation of this forum post 
, how can 
I increase the connection limit in the Java API?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/16255804-e662-4c5c-b4c3-2580a5276abf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdGroupAdApprovalStatus changes not present in CustomerChangeData - how can i get latest status

2016-02-24 Thread 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
Hi Giles,

Would you be able to provide me the CID where you're seeing the behavior 
you described, along with a sample Ad and date range where you observed 
that this changed without being shown in the CustomerSyncService. We want 
to investigate a little deeper. You can reply to me privately if you like 
using the drop down at the top right of my post.

Thanks,
Mike, AdWords API Team

On Monday, February 8, 2016 at 5:34:14 PM UTC-5, Giles Bodger wrote:
>
> Hi Mike - no problem. I just wanted to know if i should expect the 
> Approval status as a change on an Ad within the ChangeData object. I can 
> call the other API end point.
>
> Didnt think it was a bug, Would be great if it DID become a feature but 
> for now wont expect it.
>
> cheers
>
> On Mon, Feb 8, 2016 at 8:28 PM, Michael Cloonan (AdWords API Team) <
> adwordsapiadvisor+mich...@google.com> wrote:
>
>> Hello,
>>
>> I agree that this could be a useful feature. I will speak to engineering 
>> about potentially implementing this in a future release. For now, however, 
>> I wouldn't count on having this feature for a while, as it seems to have 
>> worked this way for a while and this is not a "bug".
>>
>> You can follow our new releases and feature announcements on our blog 
>> .
>>
>> Regards,
>> Mike, AdWords API Team
>>
>>
>> On Monday, February 8, 2016 at 2:11:02 PM UTC-5, Giles Bodger wrote:
>>>
>>> Hi yin ,
>>>
>>> Thanks for that but that would be a call from us to the Api wouldn't it, 
>>> with ad ids, as opposed to us actually being informed when the status 
>>> actually changes in something like the change data object? Via the customer 
>>> sync service
>>>
>>> We have  and create 1s of ads so to request status for all on a 
>>> regular basis is a bit of a pain , why doesn't the approval status change 
>>> cause an Ad Id to get added to the change data object via the customer sync 
>>> service?
>>>
>>>
>>> Sent from my iPhone
>>>
>>> On 8 Feb 2016, at 18:03, Yin Niu  
>>> wrote:
>>>
>>> Hi Giles, 
>>>
>>> You could use AdGroupAdService 
>>> 
>>>  to 
>>> get AdApprovalStatus 
>>> 
>>> . 
>>>
>>> Thanks,
>>> Yin, 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 a topic in the 
>>> Google Groups "AdWords API Forum" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/adwords-api/nudBuTR14vU/unsubscribe.
>>> To unsubscribe from this group and all its topics, 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/0ed77601-110f-4f77-b9da-a6071ce51e38%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> 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 a topic in the 
>> Google Groups "AdWords API Forum" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/adwords-api/nudBuTR14vU/unsubscribe.
>> To unsubscribe from this group and all its topics, 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 
>> 

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-02-24 Thread maxSonic Sun
Hi Mark,

Same encoding.

ubuntu@ip-10-0-26-250:~$ echo $LANG
en_US.UTF-8

Best Regards
Sonic

On Wednesday, February 24, 2016 at 4:47:30 AM UTC+8, Mark Saniscalchi wrote:
>
> Hello Sonic,
>
> I can see that you have en_US.utf8 as an available locale, but is it 
> actually being used? What is the output of echo $LANG? I've reproduced 
> and resolved your issue by setting the locale to a different value, so I 
> suspect you might not actually have that set correctly on the VM.
>
> I pointed out the logger issue earlier because it appeared in the output 
> and *was not* related to your case, so I wanted to make that clear. Sorry 
> if that instead caused any confusion.
>
> Regards,
> Mark
>
>
>
> On Saturday, February 20, 2016 at 2:14:47 AM UTC-5, maxSonic Sun wrote:
>>
>> Hi Mark,
>>
>> On my server machine, the locale is
>> ubuntu@ip-10-0-24-250:~$ locale -a
>> C
>> C.UTF-8
>> en_US.utf8
>> POSIX
>>
>> But I still have the problem. The system I have is ubuntu 14.04 server on 
>> aws. That should not be the ANSII encoding problem. 
>> *And by the way, my problem is not caused by the logger as you pointed 
>> out in the previous post, it is caused by the decoding of the xml. *The 
>> scenario you pointed out happened nowhere on my machine.
>>
>> As you can see, is a SAX parser problem.
>>
>>
>> 
>>
>>
>>
>>
>>
>> On Saturday, February 20, 2016 at 12:44:58 AM UTC+8, Mark Saniscalchi 
>> wrote:
>>>
>>> Hello Sonic,
>>>
>>> Sorry for the delay. If you look to my initial response, I did run and 
>>> successfully retrieve an account name containing utf-8 characters using the 
>>> get_account_hierarchy.py example in v201509 using Python 2. This was on a 
>>> machine where the default encoding is utf-8. I provided the code above as a 
>>> potential work-around, but if that still fails to work, I would suggest 
>>> modifying the default encoding used by your VM to utf-8.
>>>
>>> You may recall earlier that I was able to replicate your issue on a VM 
>>> using ANSII encoding. I was also able to resolve the problem on that VM by 
>>> modifying the default encoding to utf-8. The suds-jurko library doesn't 
>>> seem to state this as a requirement, but it doesn't seem to handle utf-8 
>>> characters well otherwise. Going forward, we'll be suggesting in our 
>>> documentation that setting the default encoding to utf-8 is a requirement.
>>>
>>> Regards,
>>> Mark
>>>
>>> On Friday, February 19, 2016 at 9:42:16 AM UTC-5, maxSonic Sun wrote:

 Hi Mark, 

 Any update?

 Best Regards,
 Sonic

 On Saturday, February 6, 2016 at 1:08:31 AM UTC+8, Mark Saniscalchi 
 wrote:
>
> Hello Sonic,
>
> That looks correct, so you are using the right version of suds-jurko 
> at least.
>
> On my workstation, I created a campaign with the name that you're 
> having issues parsing and ran the get_campaigns.py example. I ran (sort 
> of) 
> without issues:
>
> INFO:oauth2client.client:Refreshing access_token
>> DEBUG:suds.transport.http:opening (
>> https://adwords.google.com/api/adwords/cm/v201509/CampaignService?wsdl
>> )
>> DEBUG:suds.transport.http:sending:
>> URL: 
>> https://adwords.google.com/api/adwords/cm/v201509/CampaignService
>> HEADERS: {'Soapaction': '""', 'SOAPAction': '""', 'Content-Type': 
>> 'text/xml; charset=utf-8', 'Content-type': 'text/xml; charset=utf-8', 
>> 'Authorization': u'REDACTED'}
>> MESSAGE:
>> http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1="
>> https://adwords.google.com/api/adwords/cm/v201509; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance; xmlns:tns="
>> https://adwords.google.com/api/adwords/cm/v201509; xmlns:SOAP-ENV="
>> http://schemas.xmlsoap.org/soap/envelope/
>> ">REDACTEDREDACTEDREDACTEDfalsefalseIdNameStatus0100
>> Traceback (most recent call last):
>>   File "/usr/local/lib/python2.7/logging/__init__.py", line 859, in 
>> emit
>> msg = self.format(record)
>>   File "/usr/local/lib/python2.7/logging/__init__.py", line 732, in 
>> format
>> return fmt.format(record)
>>   File "/usr/local/lib/python2.7/logging/__init__.py", line 471, in 
>> format
>> record.message = record.getMessage()
>>   File "/usr/local/lib/python2.7/logging/__init__.py", line 335, in 
>> getMessage
>> msg = msg % self.args
>>   File "/usr/local/lib/python2.7/dist-packages/suds/__init__.py", 
>> line 168, in 
>> __str__ = lambda x: unicode(x).encode('utf-8')
>>   File 
>> "/usr/local/lib/python2.7/dist-packages/suds/transport/__init__.py", 
>> line 
>> 96, in __unicode__
>> %s""" % (self.code, self.headers, self.message)
>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 
>> 577: ordinal not in range(128)
>> Logged from