Re: MutateJobService not completing

2014-10-22 Thread Alan Coleman
Thanks for looking into this and replying Josh,

So if the job is completing it looks like my issue maybe with the feedback 
to the browser hanging.

I'll use this as my next pointer.

Thanks again.

On Tuesday, October 14, 2014 3:59:15 PM UTC+1, Alan Coleman wrote:
>
> Hello everyone,
>
> I'm having trouble getting MutateJobService jobs to complete dealing with 
> several jobs, each with 3000 operations.
>
> Could someone from the API Team take a look at the job id in the last 
> entry into my soap log:
>
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201406";>
>   00050562169746e00abf2c0185001550
>   MutateJobService
>   get
>   0
>   57
> 
>   
>   
> https://adwords.google.com/api/adwords/cm/v201406
> ">
>   http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="SimpleMutateJob">
> 
>   83
>   16000
>   0
>   JobStats
> 
> SimpleMutateJob
> -2421700349035827639
> PROCESSING
> 
>   20141014 143458 Europe/London
>   JobEvent
> 
> 
>   20141014 143515 Europe/London
>   JobEvent
> 
>   
> 
>   
> 
>
> Many 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dead8d0c--4579-9d8b-5467886234bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Are all Campaign settings available via the API

2014-10-22 Thread Alan Coleman
Hello everyone,

I'm using CampaignService 

 
to get hold of a Campaign and it's settings.

However when I look at the campaign in the AdWords interface there are 
settings that don't seem to be available via the API.

For example:

   - Language
   - Devices
   - Ad schedule
   - Location

Can anyone shed any light on this?

Many 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/252abaa5-998b-4c5d-aac9-2549ebc6cbdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: label id uniqueness

2014-10-22 Thread Danial Klimkin
Hello Greg,


Thank you for reporting this issue. Let me confirm and update this thread 
and the documentation.


-Danial, AdWords API Team.


On Tuesday, October 21, 2014 11:36:35 PM UTC+4, GregT wrote:
>
> Hi,
>
> The "Working with Objects" (
> https://developers.google.com/adwords/api/docs/guides/working-with-objects) 
> page doesn't mention Label Ids, which isn't surprising, as they were added 
> relatively recently to the API.  Are these ids unique globally, or just 
> within an account?  
>
> 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4f56d2a1-cabb-4031-b740-7febfa946b31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error 502 (Server Error)!!1

2014-10-22 Thread Danial Klimkin
Hello Rohit,


You should always be handling unknown errors. We have a very low ratio of 
these internal errors but some happen from time to time.

If you encounter such an error for a prolonged period of time, please send 
us the exact request code (XML, HTTP headers) *over email* (reply to author 
button).


-Danial, AdWords API Team.


On Tuesday, October 21, 2014 10:29:55 PM UTC+4, rohit wrote:
>
>
> Hi,
>
> Got the following error several times yesterday (using v201402) while 
> deleting keywords from an ad group. Is this another case where we have to 
> add error handling in the code or is it resolved in v201409 which we are in 
> the process of migrating to.
>
> Thanks, Rohit
>
> HTTP Error occurred: HTTP error (502): 
> 
>   
>   
>   Error 502 (Server Error)!!1
>   
> *{margin:0;padding:0}html,code{font:15px/22px 
> arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% 
> auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > 
> body{background:url(//www.google.com/images/errors/robot.png) 100% 5px 
> no-repeat;padding-right:205px}p{margin:11px 0 
> 22px;overflow:hidden}ins{color:#777;text-decoration:none}a 
> img{border:0}@media screen and 
> (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/errors/logo_sm_2.png)
>  no-repeat}@media only screen and 
> (min-resolution:192dpi){#logo{background:url(//www.google.com/images/errors/logo_sm_2_hr.png)
>  no-repeat 0% 0%/100% 
> 100%;-moz-border-image:url(//www.google.com/images/errors/logo_sm_2_hr.png) 
> 0}}@media only screen and 
> (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/errors/logo_sm_2_hr.png)
>  no-repeat;-webkit-background-size:100% 
> 100%}}#logo{display:inline-block;height:55px;width:150px}
>   
>   
>   502. That’s an error. 
>
>   The server encountered a temporary error and could not complete your 
> request.Please try again in 30 seconds. That’s all we know.
>  
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a246a74-40d4-4d23-8c62-d2c49c4332ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Are all Campaign settings available via the API

2014-10-22 Thread Danial Klimkin
Hello Alan,


These features are available via Criteria:

  
https://developers.google.com/adwords/api/docs/reference/v201409/CampaignCriterionService.Criterion


-Danial, AdWords API Team.

On Wednesday, October 22, 2014 12:25:23 PM UTC+4, Alan Coleman wrote:
>
> Hello everyone,
>
> I'm using CampaignService 
> 
>  
> to get hold of a Campaign and it's settings.
>
> However when I look at the campaign in the AdWords interface there are 
> settings that don't seem to be available via the API.
>
> For example:
>
>- Language
>- Devices
>- Ad schedule
>- Location
>
> Can anyone shed any light on this?
>
> Many 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/df648498-828a-4478-a247-58b52bfba2cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


connection resets, 502 Bad Gateway errors

2014-10-22 Thread lawrence kalinowski
Since October 11th, 2014 - incidence of connection resets & 502 bad gateway 
exceptions rose dramatically. We've decreased the frequency of requests to 
address the connection resets, but have been unable to get the incidence of 
502 errors down to zero.

Best practices advice to avoid this error?

Something change API wise on or around 2014-10-11 that we need to 
permanently adjust our processes around?

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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/69dad10a-e64f-4e1a-8708-c1dc37cc5a2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Replacement for AlertService API

2014-10-22 Thread Ian Slinger
I see that the AlertService has been removed in release v201409. 

I still need to be able to find out if a credit card has expired, but there 
is no indication in the release notes of an API call to replace this 
functionality. 

How do I check for alerts such as DECLINED_PAYMENT?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/86445c89-68fb-4be6-8963-4367a0497a59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Replacement for AlertService API

2014-10-22 Thread Danial Klimkin
Hello Ian,


There is no replacement at the moment. You can still use v201406 to obtain 
this data.


-Danial, AdWords API Team.


On Wednesday, October 22, 2014 8:47:55 AM UTC+4, Ian Slinger wrote:
>
> I see that the AlertService has been removed in release v201409. 
>
> I still need to be able to find out if a credit card has expired, but 
> there is no indication in the release notes of an API call to replace this 
> functionality. 
>
> How do I check for alerts such as DECLINED_PAYMENT?
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a49e75b6-fca3-4b8f-9608-c05c8138ef7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get all account only with company!!!

2014-10-22 Thread g . adwords+api
many my account has not company, I want filtered it. I tried add more than 
one predicates, but it is not help.

report = {
'reportName': 'Last 7 days CAMPAIGN_PERFORMANCE_REPORT',
'dateRangeType': 'LAST_7_DAYS',
'reportType': 'CAMPAIGN_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'fields': [
'CampaignId',
'Date',
'CampaignName',
'Impressions',
'Clicks',
'Ctr',
'Amount',
],
'predicates': {
'field': 'CampaignId',
'operator': 'NOT_EQUALS',
'values': ' ',
},
},
'includeZeroImpressions': 'false'
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/96269542-0410-44aa-81c9-7f2346fa32fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cannot Filter by Domain or DisplayName in AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT

2014-10-22 Thread Dorian Kind
Hello,

like the title says, I'm unable to filter an adhoc automatic placements 
report by either of these two fields. If I try "Domain", I receive 
an INVALID_PREDICATE_FIELD_NAME error, while "DisplayName" returns 
an INVALID_FIELD_NAME_FOR_REPORT exception. Both of these fields should be 
legal field names for the AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT the way I 
see it.

There's little effort required to do the filtering on my side, so it's not 
a big issue—I just wanted to inquire whether that's expected behavior.

Thanks and best regards,
Dorian

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6d4cc680-d776-4b63-b937-161b43317e50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Why I get empty company?

2014-10-22 Thread g . adwords+api
Hello. I don't understand, why i get empty company?
This is my query:

report_downloader = 
self.adwords_client.GetReportDownloader(version='v201409')

report = {
'reportName': 'Last 7 days CAMPAIGN_PERFORMANCE_REPORT',
'dateRangeType': 'LAST_7_DAYS',
'reportType': 'CAMPAIGN_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
*'includeZeroImpressions': 'false',*
'selector': {
'fields': [
'CampaignId',
'CampaignName',
'Impressions',
'Clicks',
'Ctr',
'Amount',
],
*'predicates': {*
*'field': 'Impressions',*
*'operator': 'GREATER_THAN',*
*'values': '0',*
},
'predicates': {
'field': 'CampaignStatus',
'operator': 'IN',
'values': ['ENABLED']
},
},
}

print "RESULT: ", report_downloader.DownloadReport(report, 
sys.stdout)

 
I get a result:

RESULT:  "Last 7 days CAMPAIGN_PERFORMANCE_REPORT (Oct 15, 2014-Oct 21, 
2014)"
Campaign ID,Campaign,Impressions,Clicks,CTR,Budget
Total, --,0,0,0.00%,0


RESULT:  "Last 7 days CAMPAIGN_PERFORMANCE_REPORT (Oct 15, 2014-Oct 21, 
2014)"
Campaign ID,Campaign,Impressions,Clicks,CTR,Budget
Total, --,0,0,0.00%,0


RESULT:  "Last 7 days CAMPAIGN_PERFORMANCE_REPORT (Oct 15, 2014-Oct 21, 
2014)"

Campaign ID,Campaign,Impressions,Clicks,CTR,Budget
Total, --,0,0,0.00%,0




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2fd08b49-aa05-40a9-9c8f-bac3f02788bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cannot Filter by Domain or DisplayName in AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT

2014-10-22 Thread Dorian Kind
Update: a colleague just enlightened me (by using 
ReportDefinitionService.getReportFields) about the fact that "DisplayName" 
is not a filterable field, so that explains half of the issue. But "Domain" 
should still be usable in a filter.


On Wednesday, October 22, 2014 3:30:30 PM UTC+2, Dorian Kind wrote:
>
> Hello,
>
> like the title says, I'm unable to filter an adhoc automatic placements 
> report by either of these two fields. If I try "Domain", I receive 
> an INVALID_PREDICATE_FIELD_NAME error, while "DisplayName" returns 
> an INVALID_FIELD_NAME_FOR_REPORT exception. Both of these fields should be 
> legal field names for the AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT the way I 
> see it.
>
> There's little effort required to do the filtering on my side, so it's not 
> a big issue—I just wanted to inquire whether that's expected behavior.
>
> Thanks and best regards,
> Dorian
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ae220dd0-fa88-4a50-b0e8-ac6a89e491bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get all account only with company!!!

2014-10-22 Thread Josh Radcliff (AdWords API Team)
Hi,

If an account does not have any campaigns then a 
CAMPAIGN_PERFORMANCE_REPORT for that account will be empty. What's more 
likely is that those accounts have campaigns but the campaigns are in the 
REMOVED state. You can exclude those by filtering for *Status* *NOT_EQUALS 
'REMOVED'*.

Cheers,
Josh, AdWords API Team

On Wednesday, October 22, 2014 8:05:30 AM UTC-4, g.adwo...@smartweb.com.ua 
wrote:
>
> many my account has not company, I want filtered it. I tried add more than 
> one predicates, but it is not help.
>
> report = {
> 'reportName': 'Last 7 days CAMPAIGN_PERFORMANCE_REPORT',
> 'dateRangeType': 'LAST_7_DAYS',
> 'reportType': 'CAMPAIGN_PERFORMANCE_REPORT',
> 'downloadFormat': 'CSV',
> 'selector': {
> 'fields': [
> 'CampaignId',
> 'Date',
> 'CampaignName',
> 'Impressions',
> 'Clicks',
> 'Ctr',
> 'Amount',
> ],
> 'predicates': {
> 'field': 'CampaignId',
> 'operator': 'NOT_EQUALS',
> 'values': ' ',
> },
> },
> 'includeZeroImpressions': 'false'
> }
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bd0a5ff9-99e5-453d-955a-1fbe7427de70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to avoid OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY

2014-10-22 Thread Jose Luis Lopez Pino
Hi,

I'm trying to update (remove and add) the ads of several adgroups, but 
frequently I get an 
OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error when 
I try to remove the old ads.
To try to avoid this, I'm including the following condition in all the 
selectors to ensure that I'm not retrieving removed adgroups or ads:
{
  'field': 'Status',
  'operator': 'IN',
  'values': ['ENABLED', 'PAUSED']
}

However, the problem persists. Is there any other condition that I should 
add to the selector to avoid this error?

Thanks in advance,
Pino

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cc620347-5ef1-4c84-83c5-d4362ff0d66a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


unauthorized client

2014-10-22 Thread gaurang
Hi,

I am getting below error, can any one let me know where i am wrong.

An error has occurred: { "error" : "unauthorized_client" }

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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d0e50e32-05b5-4fea-a57e-abf580d11ac2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Add offline conversion clicks to Campaigns..!!

2014-10-22 Thread VP
Hi,

I want to add offline conversion Clicks to adwords campaignid(Campaign) 
without using gClId.

I had go with this example :: 

https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/AdvancedOperations/UploadOfflineConversions.php

But I dont want to add conversion using gClId. It is possible to add 
offline conversion without gClid to Campaigns?? or gClId must require for 
that.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/411ed2b2-c5f9-4ff9-81a1-0496b92cda89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY Bug?

2014-10-22 Thread Eric Maas
Thanks!

On Tue, Oct 21, 2014 at 11:23 AM, Anash P. Oommen (AdWords API Team) <
adwordsapiadvisor+an...@google.com> wrote:

> Hi Eric,
>
> Campaigns don't enforce unique name in deleted items, I'll check with the
> team if the same behaviour can be extended to adgroups.
>
> Cheers,
> Anash
>
>
> On Monday, October 20, 2014 5:56:04 PM UTC-4, eric.ste...@gmail.com wrote:
>>
>> Hi Anash,
>>
>> Can you find out if the unique constraint is still going to be enforced
>> going forward for removed items?  If AdWords is no longer going to allow
>> you to unremove an item, it seems strange that removed items would still be
>> part of the uniqueness check.  As we've described in this thread, it
>> presents problems for API users, but I would also see it creating problems
>> for UI users as well.  The user would try to create a new Ad Group, the UI
>> would tell them they can't because the name is already used - but when the
>> user goes to look for it they can't find it, or they think to look at the
>> removed Ad Groups and find it there, only to find they can't change it.
>>
>> Thanks,
>> Eric
>>
>> On Tue, Oct 14, 2014 at 3:54 PM, Anash P. Oommen (AdWords API Team) <
>> adwordsapiadvisor+an...@google.com> wrote:
>>
>>> Hi David,
>>>
>>> The team got back to me telling that this change is not feasible, so you
>>> need to rename and then delete if you need to maintain unique name.
>>>
>>> Cheers,
>>> Anash
>>>
>>>
>>> On Friday, October 10, 2014 6:23:34 AM UTC-4, David Midgley wrote:

 Hi Anash/API Team

 Now that v201409 is released the countdown has started on the
 sunsetting of v201402 which basically means we need a workaround to this
 problem soon as v201402 is the only live version that allows the renaming
 of deleted adgroups!

 Anash, you mentioned:

 "
 I've asked the team to investigate whether it is feasible to allow
 deleted adgroups and campaigns to be renamed. I'll update the thread as I
 hear from them
 "

 Have you heard from the team?

 Cheers

 David

 On Thursday, 18 September 2014 14:51:46 UTC+1, Anash P. Oommen (AdWords
 API Team) wrote:
>
> Hi Mariusz,
>
> I've asked the team to investigate whether it is feasible to allow
> deleted adgroups and campaigns to be renamed. I'll update the thread as I
> hear from them,
>
> Cheers,
> Anash
>
> On Thursday, September 18, 2014 5:43:41 AM UTC-4, Mariusz wrote:
>>
>> One more thing to bear in mind is that you probably should version
>> deleted adgroups. Imagine:
>>
>>- user creates adgroup “test”
>>- then deletes it, so the system first renames it to “test_del”
>>and then marks as deleted
>>- user creates again adgroup named “test”
>>- user tries to delete it
>>
>> The system will fail in step 4, because it will try to rename adgroup
>> to “test_del”, but that name already exists. So what you may do in that
>> case is to detect the error, and try to rename it to “test_del1”.
>>
>> Cheers,
>>
>> Mariusz
>>
>> On Thursday, 18 September 2014 08:24:33 UTC+1, Oliver wrote:
>>
>> Just thinking loud here, if the adgroups are deleted via your
>>> software, what if you rename the adgroup *before *you delete it?
>>> We used to use a similar approach where we appended the text "_del" to 
>>> all
>>> adgroup names that are about to be deleted.
>>>
>>> Obviously, if the adgroup is deleted via the adwords interface
>>> rather than your software, then the above won't help.
>>>
>>> Oliver
>>>
>>>
>>> On Wednesday, September 17, 2014 2:33:22 PM UTC+1, David Midgley
>>> wrote:

 Hi Anash/API Team

 I responded to your question. Is there anything else you need to
 know?

 It would be great to get an answer on this please!

 Cheers

 David

 On Monday, 15 September 2014 16:04:31 UTC+1, Anash P. Oommen
 (AdWords API Team) wrote:
>
> Hi David,
>
> If I remember correctly, the name needs to be unique in only
> active + paused items, not globally (with the new change). So if the 
> user
> deletes an adgroup with the same name, you could create one with the 
> same
> name again. Let me know if you are seeing a different behaviour, and 
> I'll
> ask the team to investigate this further.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Monday, September 8, 2014 2:29:07 PM UTC-4, David Midgley wrote:
>>
>> Thanks for the quick response Anash!
>>
>> Let me explain my use case and maybe you can find a workaround?
>>
>> We are working on an optimisation application that uses a strict
>

Re: Error 502 (Server Error)!!1

2014-10-22 Thread rohit
Thanks Danial. We will add error handling.

On Wednesday, October 22, 2014 3:59:10 AM UTC-5, Danial Klimkin wrote:
>
> Hello Rohit,
>
>
> You should always be handling unknown errors. We have a very low ratio of 
> these internal errors but some happen from time to time.
>
> If you encounter such an error for a prolonged period of time, please send 
> us the exact request code (XML, HTTP headers) *over email* (reply to 
> author button).
>
>
> -Danial, AdWords API Team.
>
>
> On Tuesday, October 21, 2014 10:29:55 PM UTC+4, rohit wrote:
>>
>>
>> Hi,
>>
>> Got the following error several times yesterday (using v201402) while 
>> deleting keywords from an ad group. Is this another case where we have to 
>> add error handling in the code or is it resolved in v201409 which we are in 
>> the process of migrating to.
>>
>> Thanks, Rohit
>>
>> HTTP Error occurred: HTTP error (502): 
>> 
>>   
>>   
>>   Error 502 (Server Error)!!1
>>   
>> *{margin:0;padding:0}html,code{font:15px/22px 
>> arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% 
>> auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > 
>> body{background:url(//www.google.com/images/errors/robot.png) 100% 5px 
>> no-repeat;padding-right:205px}p{margin:11px 0 
>> 22px;overflow:hidden}ins{color:#777;text-decoration:none}a 
>> img{border:0}@media screen and 
>> (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/errors/logo_sm_2.png)
>>  no-repeat}@media only screen and 
>> (min-resolution:192dpi){#logo{background:url(//www.google.com/images/errors/logo_sm_2_hr.png)
>>  no-repeat 0% 0%/100% 
>> 100%;-moz-border-image:url(//www.google.com/images/errors/logo_sm_2_hr.png) 
>> 0}}@media only screen and 
>> (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/errors/logo_sm_2_hr.png)
>>  no-repeat;-webkit-background-size:100% 
>> 100%}}#logo{display:inline-block;height:55px;width:150px}
>>   
>>   
>>   502. That’s an error. 
>>
>>   The server encountered a temporary error and could not complete your 
>> request.Please try again in 30 seconds. That’s all we know.
>>  
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1cbe2607-f92f-494c-9ca1-10e0ee5b4bb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.