Re: GAQL: Filtering on FinalUrls containing some text

2021-12-29 Thread goingdev
Well if they downgraded and pulled that functionality from the new version, 
then I don't have a choice. 

But otherwise, ideally for both sides, I would only pull the keywords that 
I need for the job at hand, instead of querying and looping through some 
extra couple of thousand keywords unnecessarily.

On Wednesday, December 29, 2021 at 11:56:03 AM UTC-5 Mat wrote:

> You don't. 
> You'd have to do that on your end (as in iterating through the rows of the 
> response and check the values). Something like this:
>
> for final_url in row.ad_group_criterion.final_urls:
> if "Prd" in final_url:
>     ...
>
> goingdev schrieb am Mittwoch, 29. Dezember 2021 um 17:41:43 UTC+1:
>
>> Correct. So the question remains:
>>
>> *How do I search keywords which contain a specific text in the FinalUrl? *
>>
>> With the old Google Adwords, the CONTAINS predicate acted like a LIKE 
>> operator, and I was able to successfully search keywords based on a 
>> substring within the FinalUrl:
>> *new Predicate{ field = "FinalUrls", @operator = 
>> PredicateOperator.CONTAINS, values = new string[]{"/Prd/"}}*
>>
>> However, with the new Google Ads API, using CONTAINS ANY does not search 
>> substrings; only complete values of the FinalUrl. The following does not 
>> work:
>> *WHERE ad_group_criterion.final_urls CONTAINS ANY ('/Prd/')*
>> On Wednesday, December 29, 2021 at 11:11:50 AM UTC-5 Mat wrote:
>>
>>> Hi goingdev,
>>>
>>> I guess that the LIKE operator is not valid/available for the field 
>>> "ad_group_criterion.final_urls", because that field is actually a list of 
>>> strings, despite of being classed as "STRING" in the reference 
>>> <https://developers.google.com/google-ads/api/fields/v9/ad_group_criterion#ad_group_criterion.final_urls>
>>> .
>>>
>>> Regards
>>> Mat
>>> goingdev schrieb am Dienstag, 28. Dezember 2021 um 20:58:13 UTC+1:
>>>
>>>> Question: How do I search keywords which contains specific text in the 
>>>> FinalUrl using GAQL? 
>>>>
>>>> The query builder UI doesn't give an option for using LIKE. It only 
>>>> gives options for CONTAINS ALL, CONTAINS ANY and CONTAINS NONE.
>>>>
>>>>
>>>> https://developers.google.com/google-ads/api/fields/v9/ad_group_criterion_query_builder
>>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/acfda484-8b25-4ec9-99fc-bd636c4b5ba8n%40googlegroups.com.


Re: GAQL: Filtering on FinalUrls containing some text

2021-12-29 Thread goingdev
Correct. So the question remains:

*How do I search keywords which contain a specific text in the FinalUrl? *

With the old Google Adwords, the CONTAINS predicate acted like a LIKE 
operator, and I was able to successfully search keywords based on a 
substring within the FinalUrl:
*new Predicate{ field = "FinalUrls", @operator = 
PredicateOperator.CONTAINS, values = new string[]{"/Prd/"}}*

However, with the new Google Ads API, using CONTAINS ANY does not search 
substrings; only complete values of the FinalUrl. The following does not 
work:
*WHERE ad_group_criterion.final_urls CONTAINS ANY ('/Prd/')*
On Wednesday, December 29, 2021 at 11:11:50 AM UTC-5 Mat wrote:

> Hi goingdev,
>
> I guess that the LIKE operator is not valid/available for the field 
> "ad_group_criterion.final_urls", because that field is actually a list of 
> strings, despite of being classed as "STRING" in the reference 
> <https://developers.google.com/google-ads/api/fields/v9/ad_group_criterion#ad_group_criterion.final_urls>
> .
>
> Regards
> Mat
> goingdev schrieb am Dienstag, 28. Dezember 2021 um 20:58:13 UTC+1:
>
>> Question: How do I search keywords which contains specific text in the 
>> FinalUrl using GAQL? 
>>
>> The query builder UI doesn't give an option for using LIKE. It only gives 
>> options for CONTAINS ALL, CONTAINS ANY and CONTAINS NONE.
>>
>>
>> https://developers.google.com/google-ads/api/fields/v9/ad_group_criterion_query_builder
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/95d695cf-8e64-45d8-aab8-b5755fd7de62n%40googlegroups.com.


Re: GAQL: Filtering on FinalUrls containing some text

2021-12-29 Thread goingdev
It's not valid for use on the FinalUrls though, as per the error message 
the API gave me:

*LIKE is not a valid operator to use with 'ad_group_criterion.final_urls' 
in WHERE clause. Valid operators: CONTAINS ALL, CONTAINS ANY, CONTAINS 
NONE.*

As such, please advise how I can search keywords which contain a specific 
text in the FinalUrl.

On Wednesday, December 29, 2021 at 1:18:15 AM UTC-5 adsapi wrote:

> Hello,
>
> Thank you for reaching out to us. 
>
> With regard to your concern, please be informed that the LIKE operator is 
> supported on Google Ads Query language. You may want to check our Google 
> Ads Query Language Grammar 
>  for 
> more information on this. Also, you may utilize our Google Ads Query 
> Builder 
>  
> tool which checks if your query is valid.
>
> Regards,
> [image: Google Logo] 
> Teejay Wennie Pimentel 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q2TldHI:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ce58d9fa-b4fe-43ce-8122-f40c41252af5n%40googlegroups.com.


GAQL: Filtering on FinalUrls containing some text

2021-12-28 Thread goingdev
Question: How do I search keywords which contains specific text in the 
FinalUrl using GAQL? 

The query builder UI doesn't give an option for using LIKE. It only gives 
options for CONTAINS ALL, CONTAINS ANY and CONTAINS NONE.

https://developers.google.com/google-ads/api/fields/v9/ad_group_criterion_query_builder

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7ed51172-94ca-48f8-8e11-c0ccc688e7d8n%40googlegroups.com.


Re: Add keyword with FinalUrl

2021-12-27 Thread goingdev
I don't think you understood correctly.
I am using the .NET SDK. I am not able to set the FinalUrls property at all 
because the property is read-only.
See the screenshot I attached in my first post.

On Thursday, December 23, 2021 at 11:53:46 PM UTC-5 adsapi wrote:

> Hi,
>
> Thank you for reaching out to our team.
>
> Upon checking on my end, I can see that it should be possible to add the 
> final URL to keywords using API. With this, could you try to execute your 
> code for adding keywords with the final URL and observe if the API request 
> will work? If not, please provide the complete request 
> 
>  and response 
> 
>  logs 
> with request ID 
> 
>  and request header 
> 
>  generated 
> on your end with the error message about not allowing to set final URL to 
> keywords.
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Tjt7k:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ae039e77-ce65-40af-8327-ad0c312bfdafn%40googlegroups.com.


Add keyword with FinalUrl

2021-12-22 Thread goingdev
I am switching over from Google Adwords API to Google Ads API.

How do I set the FinalUrls for a new keyword which I am adding? 

It seems the property is read-only on the AdGroupCriterion object.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/55a8c50c-888d-42a5-b4dc-fe1d26e1050an%40googlegroups.com.


Re: The error code is not in this version

2021-10-28 Thread goingdev
As recommended, I upgraded to V8.
Doing so returned a detailed error about BMM keywords being discontinued.
So the issue is solved for now.
Thank you.

On Thursday, October 7, 2021 at 5:16:39 AM UTC-4 adsapi wrote:

> Hi Roman,
>
>  
>
> Thank you for posting your concern.
>
>  
>
> So that I can check the exact error that your API request encountered and 
> to address it, would you be able to provide the complete request 
> 
>  and response 
> 
>  logs 
> with request ID 
> 
>  generated 
> on your end?
>
>  
>
> If you haven't enabled the logging of the API transactions for the 
> specific client library that you are using, then please refer to the 
> specific guide below:
>
> Java - 
> https://developers.google.com/google-ads/api/docs/client-libs/java/logging
>
> .Net - 
> https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging
>
> PHP - 
> https://developers.google.com/google-ads/api/docs/client-libs/php/logging
>
> Python - 
> https://developers.google.com/google-ads/api/docs/client-libs/python/logging
>
> Ruby - 
> https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging
>
> Perl - 
> https://developers.google.com/google-ads/api/docs/client-libs/perl/logging
>
>  
>
> You can provide the requested details via *Reply privately to author* option. 
> If this option is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
>  
>
> Regards,
> [image: Google Logo] 
> Kevin Gil Soriano 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2PHP0D:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d0fe2b2e-cae3-4ce5-a2be-985740fc5d7an%40googlegroups.com.


The error code is not in this version

2021-10-06 Thread goingdev
The Google Ads API is giving me the following error when fetching the 
results of my bulk keyword job:

*The error code is not in this version., at 
mutate_operations[0].ad_group_criterion_operation.create.keyword*

I am using the C# SDK V7 of the API.

Please advise.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c9766818-e310-47a9-9bf7-11781091f942n%40googlegroups.com.


Re: Permission Denied

2021-08-31 Thread goingdev
My latest response was August 27th. I did not receive any response after 
that. 
Please advise.
On Friday, August 6, 2021 at 2:10:49 PM UTC-4 adsapi wrote:

> Hi,
>
> My colleague responded privately to your message on July 29th and it 
> appears it didn't reach you so I will post his message with some redaction 
> in the forum:
>
>
> Hi,
>
> Thank you for sharing which user was used to generate the OAuth2 
> credentials.
>
> Upon checking, the said "admin@thegoinggroup" user does not appear to have 
> access to both the 89xx420 client and the 61x16 MCC accounts. You 
> can check which users has access to your accounts by navigating to the *TOOLS 
> & SETTINGS > Access and security > USERS > User (column)* view.
>
> This is now the reason why you are encountering the *permission denied* 
> error. 
> To resolve this, you will need to identify a user from the UI view and 
> generate 
> credentials 
>  using 
> that user.
>
> Best regards,
>   
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2JYkvJ:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4f9c75fd-28cd-4474-8567-06002779d6e0n%40googlegroups.com.


Re: Permission Denied

2021-08-05 Thread goingdev
I responded to this comment over a week ago with the user / email info. I 
haven't gotten a response.

I'm disappointed with the response times on this forum.
On Tuesday, July 27, 2021 at 3:24:06 PM UTC-4 adsapi wrote:

> Hello,
>
> It seems possible you did not receive the most recent message from our 
> team. Please let us know if you have received this message. Our response to 
> your message where you provided your logs is below: 
>
> The USER_PERMISSION_DENIED 
> 
>  error 
> usually indicates that you are authenticating as a user that does not have 
> access to the account (896-946-5420) specified in your  API request.
>
> Also, since you specified the "login-customer-id": "6139401816 
> <(613)%20940-1816>", could you confirm if the user / email address you 
> used to generate your OAuth2 credentials 
>  
> indeed 
> has access to the said 6139401816 <(613)%20940-1816> MCC / manager 
> account?
>
> To avoid the above error, you will need to ensure that the user / email 
> address you used to generate the credentials indeed has access 
> 
>  to 
> the account in your request. If the user / email address has access or is 
> associated to the MCC / manager account, you will need to specify the said 
> MCC / manager account's ID as the value of the login-customer-id 
> 
>  field.
>
> If the issue persists, could you also share which user / email address it 
> was you used when you generated your credentials?
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
>
> ref:_00D1U1174p._5004Q2JYkvJ:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d33fd8a2-d399-4a08-9dea-350e7e674256n%40googlegroups.com.


Re: Permission Denied

2021-07-26 Thread goingdev
I sent in the full request and response logs last week. Have you received 
it?

On Tuesday, July 13, 2021 at 1:51:58 AM UTC-4 adsapi wrote:

> Hello there,
>
> Thank you for getting back to us and for sharing the logs.
>
> However, the logs provided aren't the logs that we're expecting. In the 
> Google Ads API, you can enable logging by navigating to the *Client 
> libraries > Your client library (ex. Java) > Logging* documentation, 
> which you can access from this link 
> 
> .
>
> Once those logs are available, please share with us the complete request 
> 
>  and response 
> 
>  logs 
> with the request ID 
> 
>  generated 
> (via *Reply privately to author* option or via this email: 
> *googleadsa...@google.com*).
>
> Regards,
> [image: Google Logo] 
> Mark Kevin Albios 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2JYkvJ:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f49cf8c4-9a51-4fdb-802b-91de57df1956n%40googlegroups.com.


Re: Permission Denied

2021-07-09 Thread goingdev
Any update on this? I sent a private response 3 days ago.

On Tuesday, July 6, 2021 at 1:31:43 AM UTC-4 adsapi wrote:

> Hello there,
>
> Thank you for reaching out to us.
>
> As for the error, can you try following this guide 
>  when 
> generating your OAuth2 credentials?
>
> If the issue still persists, please share with us the complete request 
> 
>  and response 
> 
>  logs 
> with the request ID 
> 
>  generated 
> (via *Reply privately to author* option or via this email: 
> *googleadsa...@google.com*) so our team can better check on our end.
>
> Regards,
> [image: Google Logo] 
> Mark Kevin Albios 
> Google Ads API Team 
>   
>  
>
> ref:_00D1U1174p._5004Q2JYkvJ:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8e85c0d5-d20a-48d5-9fd2-e76c283b28f7n%40googlegroups.com.


Permission Denied

2021-07-05 Thread goingdev
I'm inmiddle of converting from the old Google Adwords API to the new 
Google Ads API.
I'm getting this error using the Google Ads API:

Google.Ads.GoogleAds.V7.Errors.GoogleAdsException: 
'Status(StatusCode="PermissionDenied", Detail="The caller does not have 
permission", 

Please advise.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4c2eb317-56f9-4e5d-a99f-0ba1ca16e4d3n%40googlegroups.com.


Google Ads API: MutateJobService Code Examples

2019-05-09 Thread goingdev

I'm in the process of converting from the Adwords API to the Ads API.

To process bulk operations and get their results, I've used the BatchJob 
and BatchJobService to upload jobs with the following code:

BatchJobService batchJobService = (BatchJobService)user.GetService(
AdWordsService.v201809.BatchJobService);
BatchJobOperation addOp = new BatchJobOperation()
{
@operator = Operator.ADD,
operand = new BatchJob()
};
BatchJob batchJob = batchJobService.mutate(new BatchJobOperation[] { 
addOp }).value[0];

BatchJobUtilities batchJobUploadHelper = new BatchJobUtilities(user, 
true, 4 * 1024 * 1024);
string resumableUploadUrl = batchJobUploadHelper.GetResumableUploadUrl(
batchJob.uploadUrl.url);
batchJobUploadHelper.Upload(resumableUploadUrl, batch.ToArray());


I haven't found examples in the Google Ads API documentation using the 
MutateJobService, AddMutateJobOperationsRequest etc.

*Questions:*

   1. How would I upload a batch job and get its response with the new 
   Google Ads API? I'm using the .NET / C# client library. Can you post some 
   sample code?
   2. The documentation states  
   
that
 
   this feature is white-listed. Is this still the case, and if yes, how can 
   we get white-listed? As most of our requests are done through the batch 
   service, we will not be able to start using or testing the Google Ads API 
   until this feature is accessible to us.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/77ae1e59-d07c-45cb-a43f-bad386d702fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


IPBlock WildCard Gives Invalid IP Address

2016-09-22 Thread goingdev
I am trying to upload an IPBlock with a wildcard, for example: 123.4.5.*

I am getting an invalid IP Address response:

Error: CriterionError.INVALID_IP_ADDRESS

I saw another thread from 2014 indicating they will file a bug report but 
this is obviously still not fixed.

When can we expect this to be fixed?

How do I get around 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/5b7b4445-976e-4b4c-b058-2701cd8a1e19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJob Cancelled Unknown / Internal Error

2016-07-05 Thread goingdev
Any update please?

On Monday, June 27, 2016 at 11:17:59 AM UTC-4, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> Thanks for the job IDs. I am investigating those failures and will get 
> back to you as soon as I have more information.
>
> Best regards,
> Josh, AdWords API Team
>
> On Monday, June 27, 2016 at 2:44:08 PM UTC+1, goingdev wrote:
>>
>> Yes, I am still randomly getting these failed jobs. Here's a few.
>>
>> 286601245
>> 286584141
>> 286584189
>> 286580784
>> 286572082
>>
>> On Wednesday, June 15, 2016 at 12:17:02 PM UTC-4, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>
>>> If you are still encountering this issue, please send over the 
>>> BatchJob.id 
>>> <https://developers.google.com/adwords/api/docs/reference/v201605/BatchJobService.BatchJob#id>
>>>  of 
>>> the failed job, and I'll take a look.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Wednesday, June 15, 2016 at 10:00:09 AM UTC-4, goingdev wrote:
>>>>
>>>> Any update on this? 
>>>>
>>>> On Friday, May 27, 2016 at 10:56:20 AM UTC-4, goingdev wrote:
>>>>>
>>>>> There's only been 1 type of operation in each of my jobs, but thanks 
>>>>> for the try ;)
>>>>>
>>>>> On Friday, May 27, 2016 at 5:01:35 AM UTC-4, Stefano Fontana wrote:
>>>>>>
>>>>>> Hi, 
>>>>>>
>>>>>> Same here. Retrying the job doesn't help.
>>>>>> Sending each type of operation in a separate job *works* though.
>>>>>>
>>>>>> I digged a bit more by mixing the different types of operations and I 
>>>>>> found that creating a batch job with with these two operations always 
>>>>>> makes 
>>>>>> the batchjob fail (in my particular case):
>>>>>>
>>>>>> {u'AdGroupCriterionOperation':
>>>>>>  [{u'operator': u'SET',
>>>>>>u'operand': {u'biddingStrategyConfiguration': {
>>>>>>u'bids': [{u'bid': {u'microAmount': '120'}, 
>>>>>> u'xsi_type': u'CpcBid'}]},
>>>>>>u'adGroupId': u'21329742443', u'criterion': {u'id': 
>>>>>> u'188722430705'},
>>>>>>u'xsi_type': u'BiddableAdGroupCriterion'},
>>>>>>u'xsi_type': u'AdGroupCriterionOperation'}],
>>>>>>
>>>>>>  u'AdGroupCriterionLabelOperation':
>>>>>>  [{u'operator': u'REMOVE',
>>>>>>u'operand': {u'adGroupId': u'11205179483', u'criterionId': 
>>>>>> u'70136100181',
>>>>>> u'labelId': 42329003, u'xsi_type': 
>>>>>> u'AdGroupCriterionLabel'},
>>>>>>u'xsi_type': u'AdGroupCriterionLabelOperation'}]
>>>>>>  }
>>>>>>
>>>>>> Hope this helps you debugging it.
>>>>>>
>>>>>> On Thursday, May 26, 2016 at 5:29:26 PM UTC+2, Nadine Sundquist 
>>>>>> (AdWords API Team) wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Thanks for providing the batch job IDs. Could you please click *Reply 
>>>>>>> privately to author* in the forum and send me your customer ID as 
>>>>>>> well where these batch jobs are being run? That way I can look up 
>>>>>>> further 
>>>>>>> information on each job.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Nadine, AdWords API Team
>>>>>>>
>>>>>>> On Wednesday, May 25, 2016 at 12:52:18 PM UTC-4, goingdev wrote:
>>>>>>>>
>>>>>>>> Here's a couple:
>>>>>>>> 201789809
>>>>>>>> 201716220
>>>>>>>> 201735163
>>>>>>>> 201738985
>>>>>>>> 201788441
>>>>>>>> 201788360
>>>>>>>> 201786830
>>>>>>>> 201785942
>>>>>>>> 201716436
>>>>>>>>
>>>>>>>> On Wednesday, May 25, 2016 at 12:50:59 PM UTC-4, goingdev wrote:
>>>>>>>>>
>>>>>>>>> I'm getting a lot of jobs cancelled. Do you want the IDs?

Re: BatchJob Cancelled Unknown / Internal Error

2016-06-27 Thread goingdev
Yes, I am still randomly getting these failed jobs. Here's a few.

286601245
286584141
286584189
286580784
286572082

On Wednesday, June 15, 2016 at 12:17:02 PM UTC-4, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi,
>
> If you are still encountering this issue, please send over the BatchJob.id 
> <https://developers.google.com/adwords/api/docs/reference/v201605/BatchJobService.BatchJob#id>
>  of 
> the failed job, and I'll take a look.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, June 15, 2016 at 10:00:09 AM UTC-4, goingdev wrote:
>>
>> Any update on this? 
>>
>> On Friday, May 27, 2016 at 10:56:20 AM UTC-4, goingdev wrote:
>>>
>>> There's only been 1 type of operation in each of my jobs, but thanks for 
>>> the try ;)
>>>
>>> On Friday, May 27, 2016 at 5:01:35 AM UTC-4, Stefano Fontana wrote:
>>>>
>>>> Hi, 
>>>>
>>>> Same here. Retrying the job doesn't help.
>>>> Sending each type of operation in a separate job *works* though.
>>>>
>>>> I digged a bit more by mixing the different types of operations and I 
>>>> found that creating a batch job with with these two operations always 
>>>> makes 
>>>> the batchjob fail (in my particular case):
>>>>
>>>> {u'AdGroupCriterionOperation':
>>>>  [{u'operator': u'SET',
>>>>u'operand': {u'biddingStrategyConfiguration': {
>>>>u'bids': [{u'bid': {u'microAmount': '120'}, u'xsi_type': 
>>>> u'CpcBid'}]},
>>>>u'adGroupId': u'21329742443', u'criterion': {u'id': 
>>>> u'188722430705'},
>>>>u'xsi_type': u'BiddableAdGroupCriterion'},
>>>>u'xsi_type': u'AdGroupCriterionOperation'}],
>>>>
>>>>  u'AdGroupCriterionLabelOperation':
>>>>  [{u'operator': u'REMOVE',
>>>>u'operand': {u'adGroupId': u'11205179483', u'criterionId': 
>>>> u'70136100181',
>>>> u'labelId': 42329003, u'xsi_type': 
>>>> u'AdGroupCriterionLabel'},
>>>>u'xsi_type': u'AdGroupCriterionLabelOperation'}]
>>>>  }
>>>>
>>>> Hope this helps you debugging it.
>>>>
>>>> On Thursday, May 26, 2016 at 5:29:26 PM UTC+2, Nadine Sundquist 
>>>> (AdWords API Team) wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Thanks for providing the batch job IDs. Could you please click *Reply 
>>>>> privately to author* in the forum and send me your customer ID as 
>>>>> well where these batch jobs are being run? That way I can look up further 
>>>>> information on each job.
>>>>>
>>>>> Thanks,
>>>>> Nadine, AdWords API Team
>>>>>
>>>>> On Wednesday, May 25, 2016 at 12:52:18 PM UTC-4, goingdev wrote:
>>>>>>
>>>>>> Here's a couple:
>>>>>> 201789809
>>>>>> 201716220
>>>>>> 201735163
>>>>>> 201738985
>>>>>> 201788441
>>>>>> 201788360
>>>>>> 201786830
>>>>>> 201785942
>>>>>> 201716436
>>>>>>
>>>>>> On Wednesday, May 25, 2016 at 12:50:59 PM UTC-4, goingdev wrote:
>>>>>>>
>>>>>>> I'm getting a lot of jobs cancelled. Do you want the IDs?
>>>>>>>
>>>>>>> On Tuesday, May 17, 2016 at 2:15:34 PM UTC-4, Michael Cloonan 
>>>>>>> (AdWords API Team) wrote:
>>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> What percentage of your batch jobs are failing this way, with 
>>>>>>>> UNKNOWN errors? Is it just this one or are there many others?
>>>>>>>>
>>>>>>>> The general best practice to do in cases like this is to simply 
>>>>>>>> retry the batch. If this is happening more consistently, however, I 
>>>>>>>> may be 
>>>>>>>> able to take a closer look. Can you provide a few more example batch 
>>>>>>>> jobs?
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Mike, AdWords API Team
>>>>>>>>
>>>>>>>> On Tuesday, May 17, 2016 at 1:02:47 PM UTC-4, goingdev wrote:
>>>>>>>>>
>>>>>>>>> I have jobs that get cancelled
>>>>>>>>>
>>>>>>>>> Error: BatchJobProcessingError.UNKNOWN, FieldPath: , Trigger: 
>>>>>>>>> BatchJob internal error
>>>>>>>>>
>>>>>>>>> All my jobs have a max of 2,000 operations.
>>>>>>>>>
>>>>>>>>> One example is job ID 142232633.
>>>>>>>>>
>>>>>>>>> Why did this job get cancelled?
>>>>>>>>>
>>>>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c4d9db68-80d7-40d2-abc9-2248aca78a76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJob Cancelled Unknown / Internal Error

2016-06-15 Thread goingdev
Any update on this? 

On Friday, May 27, 2016 at 10:56:20 AM UTC-4, goingdev wrote:
>
> There's only been 1 type of operation in each of my jobs, but thanks for 
> the try ;)
>
> On Friday, May 27, 2016 at 5:01:35 AM UTC-4, Stefano Fontana wrote:
>>
>> Hi, 
>>
>> Same here. Retrying the job doesn't help.
>> Sending each type of operation in a separate job *works* though.
>>
>> I digged a bit more by mixing the different types of operations and I 
>> found that creating a batch job with with these two operations always makes 
>> the batchjob fail (in my particular case):
>>
>> {u'AdGroupCriterionOperation':
>>  [{u'operator': u'SET',
>>u'operand': {u'biddingStrategyConfiguration': {
>>u'bids': [{u'bid': {u'microAmount': '120'}, u'xsi_type': 
>> u'CpcBid'}]},
>>u'adGroupId': u'21329742443', u'criterion': {u'id': 
>> u'188722430705'},
>>u'xsi_type': u'BiddableAdGroupCriterion'},
>>u'xsi_type': u'AdGroupCriterionOperation'}],
>>
>>  u'AdGroupCriterionLabelOperation':
>>  [{u'operator': u'REMOVE',
>>u'operand': {u'adGroupId': u'11205179483', u'criterionId': 
>> u'70136100181',
>> u'labelId': 42329003, u'xsi_type': 
>> u'AdGroupCriterionLabel'},
>>u'xsi_type': u'AdGroupCriterionLabelOperation'}]
>>  }
>>
>> Hope this helps you debugging it.
>>
>> On Thursday, May 26, 2016 at 5:29:26 PM UTC+2, Nadine Sundquist (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>
>>> Thanks for providing the batch job IDs. Could you please click *Reply 
>>> privately to author* in the forum and send me your customer ID as well 
>>> where these batch jobs are being run? That way I can look up further 
>>> information on each job.
>>>
>>> Thanks,
>>> Nadine, AdWords API Team
>>>
>>> On Wednesday, May 25, 2016 at 12:52:18 PM UTC-4, goingdev wrote:
>>>>
>>>> Here's a couple:
>>>> 201789809
>>>> 201716220
>>>> 201735163
>>>> 201738985
>>>> 201788441
>>>> 201788360
>>>> 201786830
>>>> 201785942
>>>> 201716436
>>>>
>>>> On Wednesday, May 25, 2016 at 12:50:59 PM UTC-4, goingdev wrote:
>>>>>
>>>>> I'm getting a lot of jobs cancelled. Do you want the IDs?
>>>>>
>>>>> On Tuesday, May 17, 2016 at 2:15:34 PM UTC-4, Michael Cloonan (AdWords 
>>>>> API Team) wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> What percentage of your batch jobs are failing this way, with UNKNOWN 
>>>>>> errors? Is it just this one or are there many others?
>>>>>>
>>>>>> The general best practice to do in cases like this is to simply retry 
>>>>>> the batch. If this is happening more consistently, however, I may be 
>>>>>> able 
>>>>>> to take a closer look. Can you provide a few more example batch jobs?
>>>>>>
>>>>>> Regards,
>>>>>> Mike, AdWords API Team
>>>>>>
>>>>>> On Tuesday, May 17, 2016 at 1:02:47 PM UTC-4, goingdev wrote:
>>>>>>>
>>>>>>> I have jobs that get cancelled
>>>>>>>
>>>>>>> Error: BatchJobProcessingError.UNKNOWN, FieldPath: , Trigger: 
>>>>>>> BatchJob internal error
>>>>>>>
>>>>>>> All my jobs have a max of 2,000 operations.
>>>>>>>
>>>>>>> One example is job ID 142232633.
>>>>>>>
>>>>>>> Why did this job get cancelled?
>>>>>>>
>>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/48264412-9cc3-44a3-ae4c-d7a6e4bcf6e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJob Cancelled Unknown / Internal Error

2016-05-27 Thread goingdev
There's only been 1 type of operation in each of my jobs, but thanks for 
the try ;)

On Friday, May 27, 2016 at 5:01:35 AM UTC-4, Stefano Fontana wrote:
>
> Hi, 
>
> Same here. Retrying the job doesn't help.
> Sending each type of operation in a separate job *works* though.
>
> I digged a bit more by mixing the different types of operations and I 
> found that creating a batch job with with these two operations always makes 
> the batchjob fail (in my particular case):
>
> {u'AdGroupCriterionOperation':
>  [{u'operator': u'SET',
>u'operand': {u'biddingStrategyConfiguration': {
>u'bids': [{u'bid': {u'microAmount': '120'}, u'xsi_type': 
> u'CpcBid'}]},
>u'adGroupId': u'21329742443', u'criterion': {u'id': 
> u'188722430705'},
>u'xsi_type': u'BiddableAdGroupCriterion'},
>u'xsi_type': u'AdGroupCriterionOperation'}],
>
>  u'AdGroupCriterionLabelOperation':
>  [{u'operator': u'REMOVE',
>u'operand': {u'adGroupId': u'11205179483', u'criterionId': 
> u'70136100181',
> u'labelId': 42329003, u'xsi_type': 
> u'AdGroupCriterionLabel'},
>u'xsi_type': u'AdGroupCriterionLabelOperation'}]
>  }
>
> Hope this helps you debugging it.
>
> On Thursday, May 26, 2016 at 5:29:26 PM UTC+2, Nadine Sundquist (AdWords 
> API Team) wrote:
>>
>> Hi,
>>
>> Thanks for providing the batch job IDs. Could you please click *Reply 
>> privately to author* in the forum and send me your customer ID as well 
>> where these batch jobs are being run? That way I can look up further 
>> information on each job.
>>
>> Thanks,
>> Nadine, AdWords API Team
>>
>> On Wednesday, May 25, 2016 at 12:52:18 PM UTC-4, goingdev wrote:
>>>
>>> Here's a couple:
>>> 201789809
>>> 201716220
>>> 201735163
>>> 201738985
>>> 201788441
>>> 201788360
>>> 201786830
>>> 201785942
>>> 201716436
>>>
>>> On Wednesday, May 25, 2016 at 12:50:59 PM UTC-4, goingdev wrote:
>>>>
>>>> I'm getting a lot of jobs cancelled. Do you want the IDs?
>>>>
>>>> On Tuesday, May 17, 2016 at 2:15:34 PM UTC-4, Michael Cloonan (AdWords 
>>>> API Team) wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> What percentage of your batch jobs are failing this way, with UNKNOWN 
>>>>> errors? Is it just this one or are there many others?
>>>>>
>>>>> The general best practice to do in cases like this is to simply retry 
>>>>> the batch. If this is happening more consistently, however, I may be able 
>>>>> to take a closer look. Can you provide a few more example batch jobs?
>>>>>
>>>>> Regards,
>>>>> Mike, AdWords API Team
>>>>>
>>>>> On Tuesday, May 17, 2016 at 1:02:47 PM UTC-4, goingdev wrote:
>>>>>>
>>>>>> I have jobs that get cancelled
>>>>>>
>>>>>> Error: BatchJobProcessingError.UNKNOWN, FieldPath: , Trigger: 
>>>>>> BatchJob internal error
>>>>>>
>>>>>> All my jobs have a max of 2,000 operations.
>>>>>>
>>>>>> One example is job ID 142232633.
>>>>>>
>>>>>> Why did this job get cancelled?
>>>>>>
>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/310402b9-d9fe-4eb5-a52a-42be30adc770%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJob Cancelled Unknown / Internal Error

2016-05-25 Thread goingdev
Here's a couple:
201789809
201716220
201735163
201738985
201788441
201788360
201786830
201785942
201716436

On Wednesday, May 25, 2016 at 12:50:59 PM UTC-4, goingdev wrote:
>
> I'm getting a lot of jobs cancelled. Do you want the IDs?
>
> On Tuesday, May 17, 2016 at 2:15:34 PM UTC-4, Michael Cloonan (AdWords API 
> Team) wrote:
>>
>> Hello,
>>
>> What percentage of your batch jobs are failing this way, with UNKNOWN 
>> errors? Is it just this one or are there many others?
>>
>> The general best practice to do in cases like this is to simply retry the 
>> batch. If this is happening more consistently, however, I may be able to 
>> take a closer look. Can you provide a few more example batch jobs?
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Tuesday, May 17, 2016 at 1:02:47 PM UTC-4, goingdev wrote:
>>>
>>> I have jobs that get cancelled
>>>
>>> Error: BatchJobProcessingError.UNKNOWN, FieldPath: , Trigger: BatchJob 
>>> internal error
>>>
>>> All my jobs have a max of 2,000 operations.
>>>
>>> One example is job ID 142232633.
>>>
>>> Why did this job get cancelled?
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cd716dad-ef3e-4497-89fa-c19116d0c334%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJob Cancelled Unknown / Internal Error

2016-05-25 Thread goingdev
I'm getting a lot of jobs cancelled. Do you want the IDs?

On Tuesday, May 17, 2016 at 2:15:34 PM UTC-4, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> What percentage of your batch jobs are failing this way, with UNKNOWN 
> errors? Is it just this one or are there many others?
>
> The general best practice to do in cases like this is to simply retry the 
> batch. If this is happening more consistently, however, I may be able to 
> take a closer look. Can you provide a few more example batch jobs?
>
> Regards,
> Mike, AdWords API Team
>
> On Tuesday, May 17, 2016 at 1:02:47 PM UTC-4, goingdev wrote:
>>
>> I have jobs that get cancelled
>>
>> Error: BatchJobProcessingError.UNKNOWN, FieldPath: , Trigger: BatchJob 
>> internal error
>>
>> All my jobs have a max of 2,000 operations.
>>
>> One example is job ID 142232633.
>>
>> Why did this job get cancelled?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/64475dc2-9c26-4922-ad4b-8f7be0af0e08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


BatchJob Cancelled Unknown / Internal Error

2016-05-17 Thread goingdev
I have jobs that get cancelled

Error: BatchJobProcessingError.UNKNOWN, FieldPath: , Trigger: BatchJob 
internal error

All my jobs have a max of 2,000 operations.

One example is job ID 142232633.

Why did this job get cancelled?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/80f044fc-c72d-4387-b597-3d230a24612a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retrieving BatchJob by ID returns no BatchJobPage entries

2016-04-19 Thread goingdev
Thank you for your help.

On Tuesday, April 19, 2016 at 2:02:44 PM UTC-4, Nadine Sundquist (AdWords 
API Team) wrote:
>
> Greetings!
>
> It's good to hear that you're now getting results back. As for the results 
> running out of memory, the utility just retrieves the entire result from 
> the URL. It isn't streamed or broken down into smaller chunks. If you find 
> the result is too large, you have a couple of options:
>
>- Increase the amount of memory on your system that your process is 
>allowed to use.
>- Decrease the number of operations per batch job, since you wouldn't 
>be able to handle the size of the results.
>
> For the future, you could also file an issue on GitHub 
> <https://github.com/googleads/googleads-dotnet-lib/issues> to add the 
> feature of streaming results. 
>
> Cheers,
> Nadine, AdWords API Team
>
> On Tuesday, April 19, 2016 at 1:16:58 PM UTC-4, goingdev wrote:
>>
>> Thank you for that... I tried excluding the predicates and I didn't get 
>> any results. I realized I wasn't passing in the correct client customer ID. 
>> I'm able to retrieve the job now.
>>
>> I'm having another issue now with downloading the results. It's giving an 
>> "out of memory exception" on this line:
>>
>> BatchJobMutateResponse mutateResponse = 
>> batchJobUploadHelper.Download(batchJob.downloadUrl.url);
>>
>> Does the API not handle large jobs? Should I be batching them like I have 
>> been the MutateJobService?
>>
>>
>> On Tuesday, April 19, 2016 at 12:04:17 PM UTC-4, Nadine Sundquist 
>> (AdWords API Team) wrote:
>>>
>>> Hello,
>>>
>>> It sounds like you're working your way through our Batch Processing 
>>> guide <https://developers.google.com/adwords/api/docs/guides/batch-jobs> 
>>> for your migration. I have a few questions to ask to help you troubleshoot:
>>>
>>>- Are you using the batch job utility provided by the client library 
>>>to upload your operations?
>>>- Have you tried calling just BatchJobSerice.get() 
>>>
>>> <https://developers.google.com/adwords/api/docs/reference/v201603/BatchJobService#get>
>>>  without 
>>>predicates to see if your job appears?
>>>- How are you getting the batch job ID? Are you getting it from the 
>>>BatchJob.id 
>>>
>>> <https://developers.google.com/adwords/api/docs/reference/v201603/BatchJobService.BatchJob#id>
>>> field?
>>>
>>> Regards,
>>> Nadine, AdWords API Team
>>>
>>> On Tuesday, April 19, 2016 at 11:39:01 AM UTC-4, goingdev wrote:
>>>>
>>>> How do I troubleshoot this?   I'm trying to migrate to BatchJobService 
>>>> but cannot do so if I cannot retrieve job results reliably.
>>>>
>>>> On Monday, April 18, 2016 at 4:28:56 PM UTC-4, goingdev wrote:
>>>>>
>>>>> I'm getting this for a few job IDs
>>>>>
>>>>> Request:
>>>>> 
>>>>> http://schemas.xmlsoap.org/soap/envelope/; 
>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd="
>>>>> http://www.w3.org/2001/XMLSchema;>
>>>>>   
>>>>> https://adwords.google.com/api/adwords/cm/v201601;>
>>>>>   https://adwords.google.com/api/adwords/cm/v201601;>x
>>>>>   https://adwords.google.com/api/adwords/cm/v201601
>>>>> ">x
>>>>>   https://adwords.google.com/api/adwords/cm/v201601;>x
>>>>> 
>>>>>   
>>>>>   
>>>>> https://adwords.google.com/api/adwords/cm/v201601;>
>>>>>   
>>>>> Id
>>>>> Status
>>>>> DownloadUrl
>>>>> ProcessingErrors
>>>>> ProgressStats
>>>>> 
>>>>>   Id
>>>>>   EQUALS
>>>>>   86004965
>>>>> 
>>>>>   
>>>>> 
>>>>>   
>>>>> 
>>>>>
>>>>> Response:
>>>>> http://schemas.xmlsoap.org/soap/envelope/;>
>>>>>   
>>>>> https://adwords.google.com/api/adwords/cm/v201601;>
>>>>>   000530c82fda85e00ac13c16640092ee
>>>>>   BatchJobService
>>>>>   get
>>>>>   1
>>>>>  

Re: Retrieving BatchJob by ID returns no BatchJobPage entries

2016-04-19 Thread goingdev
Thank you for that... I tried excluding the predicates and I didn't get any 
results. I realized I wasn't passing in the correct client customer ID. I'm 
able to retrieve the job now.

I'm having another issue now with downloading the results. It's giving an 
"out of memory exception" on this line:

BatchJobMutateResponse mutateResponse = 
batchJobUploadHelper.Download(batchJob.downloadUrl.url);

Does the API not handle large jobs? Should I be batching them like I have 
been the MutateJobService?


On Tuesday, April 19, 2016 at 12:04:17 PM UTC-4, Nadine Sundquist (AdWords 
API Team) wrote:
>
> Hello,
>
> It sounds like you're working your way through our Batch Processing guide 
> <https://developers.google.com/adwords/api/docs/guides/batch-jobs> for 
> your migration. I have a few questions to ask to help you troubleshoot:
>
>- Are you using the batch job utility provided by the client library 
>to upload your operations?
>- Have you tried calling just BatchJobSerice.get() 
>
> <https://developers.google.com/adwords/api/docs/reference/v201603/BatchJobService#get>
>  without 
>predicates to see if your job appears?
>- How are you getting the batch job ID? Are you getting it from the 
>BatchJob.id 
>
> <https://developers.google.com/adwords/api/docs/reference/v201603/BatchJobService.BatchJob#id>
> field?
>
> Regards,
> Nadine, AdWords API Team
>
> On Tuesday, April 19, 2016 at 11:39:01 AM UTC-4, goingdev wrote:
>>
>> How do I troubleshoot this?   I'm trying to migrate to BatchJobService 
>> but cannot do so if I cannot retrieve job results reliably.
>>
>> On Monday, April 18, 2016 at 4:28:56 PM UTC-4, goingdev wrote:
>>>
>>> I'm getting this for a few job IDs
>>>
>>> Request:
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/; 
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd="
>>> http://www.w3.org/2001/XMLSchema;>
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201601;>
>>>   https://adwords.google.com/api/adwords/cm/v201601;>x
>>>   https://adwords.google.com/api/adwords/cm/v201601;>x
>>>   https://adwords.google.com/api/adwords/cm/v201601;>x
>>> 
>>>   
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201601;>
>>>   
>>> Id
>>> Status
>>> DownloadUrl
>>> ProcessingErrors
>>> ProgressStats
>>> 
>>>   Id
>>>   EQUALS
>>>   86004965
>>> 
>>>   
>>> 
>>>   
>>> 
>>>
>>> Response:
>>> http://schemas.xmlsoap.org/soap/envelope/;>
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201601;>
>>>   000530c82fda85e00ac13c16640092ee
>>>   BatchJobService
>>>   get
>>>   1
>>>   424
>>> 
>>>   
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201601;>
>>>   
>>> 0
>>> BatchJobPage
>>>   
>>> 
>>>   
>>> 
>>>
>>>
>>>
>>> On Friday, April 15, 2016 at 3:30:59 PM UTC-4, Yin Niu wrote:
>>>>
>>>> Hi, 
>>>>
>>>> Do you have the SOAP request and response logs for this job? Pleaase 
>>>> click *Reply privately to author* in the forum when responding. 
>>>>
>>>> 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/f8301319-5edb-4220-bfe4-a1be664eb08b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retrieving BatchJob by ID returns no BatchJobPage entries

2016-04-19 Thread goingdev
How do I troubleshoot this?   I'm trying to migrate to BatchJobService but 
cannot do so if I cannot retrieve job results reliably.

On Monday, April 18, 2016 at 4:28:56 PM UTC-4, goingdev wrote:
>
> I'm getting this for a few job IDs
>
> Request:
> 
> http://schemas.xmlsoap.org/soap/envelope/; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema;>
>   
> https://adwords.google.com/api/adwords/cm/v201601;>
>   https://adwords.google.com/api/adwords/cm/v201601;>x
>   https://adwords.google.com/api/adwords/cm/v201601;>x
>   https://adwords.google.com/api/adwords/cm/v201601
> ">x
> 
>   
>   
> https://adwords.google.com/api/adwords/cm/v201601;>
>   
> Id
> Status
> DownloadUrl
> ProcessingErrors
> ProgressStats
> 
>   Id
>   EQUALS
>   86004965
> 
>   
> 
>   
> 
>
> Response:
> http://schemas.xmlsoap.org/soap/envelope/;>
>   
> https://adwords.google.com/api/adwords/cm/v201601;>
>   000530c82fda85e00ac13c16640092ee
>   BatchJobService
>   get
>   1
>   424
> 
>   
>   
> https://adwords.google.com/api/adwords/cm/v201601
> ">
>   
> 0
> BatchJobPage
>   
> 
>   
> 
>
>
>
> On Friday, April 15, 2016 at 3:30:59 PM UTC-4, Yin Niu wrote:
>>
>> Hi, 
>>
>> Do you have the SOAP request and response logs for this job? Pleaase 
>> click *Reply privately to author* in the forum when responding. 
>>
>> 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/c576363e-6d93-499e-9462-1cb805cdb136%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retrieving BatchJob by ID returns no BatchJobPage entries

2016-04-18 Thread goingdev
I'm getting this for a few job IDs

Request:

http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema;>
  
https://adwords.google.com/api/adwords/cm/v201601;>
  https://adwords.google.com/api/adwords/cm/v201601;>x
  https://adwords.google.com/api/adwords/cm/v201601;>x
  https://adwords.google.com/api/adwords/cm/v201601;>x

  
  
https://adwords.google.com/api/adwords/cm/v201601;>
  
Id
Status
DownloadUrl
ProcessingErrors
ProgressStats

  Id
  EQUALS
  86004965

  

  


Response:
http://schemas.xmlsoap.org/soap/envelope/;>
  
https://adwords.google.com/api/adwords/cm/v201601;>
  000530c82fda85e00ac13c16640092ee
  BatchJobService
  get
  1
  424

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

  




On Friday, April 15, 2016 at 3:30:59 PM UTC-4, Yin Niu wrote:
>
> Hi, 
>
> Do you have the SOAP request and response logs for this job? Pleaase click 
> *Reply 
> privately to author* in the forum when responding. 
>
> 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/db124e98-928b-4d81-9570-5b311966cbbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Retrieving BatchJob by ID returns no BatchJobPage entries

2016-04-15 Thread goingdev
I'm getting 0 entries returned when using the BatchJobService to retrieve a 
job by its ID. My code:

Selector selector = new Selector()
{
fields = new string[] 
{ 
BatchJob.Fields.Id, BatchJob.Fields.Status,
BatchJob.Fields.DownloadUrl, 
BatchJob.Fields.ProcessingErrors,
BatchJob.Fields.ProgressStats 
},
predicates = new Predicate[] {
Predicate.Equals(BatchJob.Fields.Id, jobID)
}
};
BatchJobService batchJobService = 
(BatchJobService)user.GetService(AdWordsService.v201601.BatchJobService);
var batchJobPage = batchJobService.get(selector);

batchJobPage gives 0 entries. How can  I troubleshoot 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/283ca5fc-b162-4453-9e05-69add5fd6d99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RATE_EXCEEDED BillingPerDay

2014-01-16 Thread goingdev
Yesterday I had used the API to upload almost 9,000 adParams, which worked 
well. About 5 minutes later I tried uploading some 500 more but it gave me 
the RATE_EXCEEDED error with a retryAfterSeconds of 84600 (24 hours).

Now, just about 24 hours later, the API is still giving me that same error. 
What does this mean? How can I resolve this error? 

Even with that extra 500 adParams, the operation count is still less than 
10,000 operations. And why is it still telling me 84,600 seconds?

Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: RATE_EXCEEDED BillingPerDay

2014-01-16 Thread goingdev
I tried about 2 hours later and it worked.

On Thursday, January 16, 2014 1:55:53 PM UTC-5, goingdev wrote:

 Yesterday I had used the API to upload almost 9,000 adParams, which worked 
 well. About 5 minutes later I tried uploading some 500 more but it gave me 
 the RATE_EXCEEDED error with a retryAfterSeconds of 84600 (24 hours).

 Now, just about 24 hours later, the API is still giving me that same 
 error. What does this mean? How can I resolve this error? 

 Even with that extra 500 adParams, the operation count is still less than 
 10,000 operations. And why is it still telling me 84,600 seconds?

 Thanks.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Get criterion info on APIError

2013-11-11 Thread goingdev
Recommended? Are there any other options?

On Monday, November 11, 2013 10:18:26 AM UTC-5, Danial Klimkin wrote:

 Hello,


 The recommended flow is to store the set of the operations send for the 
 job ID and to find the failed one by the index provided in the response.


 -Danial, AdWords API Team.


 On Wednesday, October 30, 2013 11:40:40 PM UTC+4, goingdev wrote:

 Is there a way to get the criterion info from an APIError?

 MutateJobService mutateJobService = 
 (MutateJobService)user.GetService(AdWordsService.v201309.MutateJobService);
 JobResult jobResult = mutateJobService.getResult(new 
 BulkMutateJobSelector { includeStats = true, jobIds = jobIDs }); 
 SimpleMutateResult results = (SimpleMutateResult)jobResult.Item;

 if (results.errors != null)
 {
 foreach (ApiError apiError in results.errors)
 {
 // get criterion info
 }
 }


 I'm finding it difficult to get detailed info on a specific error (which 
 is obviously important to have for logging purposes). Is this even 
 possible? (can't believe it's not).

 (I posted this on StackOverflow as well (
 http://stackoverflow.com/questions/19662873/google-adwords-api-get-criterion-info-on-apierror
 ).



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


Job Result - get operator

2013-11-06 Thread goingdev
How do I get the operator ( add/ remove / set) from a job result?

MutateJobService mutateJobService = 
(MutateJobService)user.GetService(AdWordsService.v201309.MutateJobService);
JobResult jobResult = mutateJobService.getResult(new 
BulkMutateJobSelector { includeStats = true, jobIds = jobIDs });
SimpleMutateResult results = (SimpleMutateResult)jobResult.Item;

if (results.results != null)
{
for (int i = 0; i  results.results.Length; i++)
{
Operand operand = results.results[i];
var operandType = operand.Item.GetType();
if (operandType.BaseType.Name == AdGroupCriterion)
{
AdGroupCriterion adGroupCriterion = 
(AdGroupCriterion)operand.Item;
   * // how to get operator (add/remove/set)?*
}
}
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


Get criterion info on APIError

2013-10-30 Thread goingdev
Is there a way to get the criterion info from an APIError?

MutateJobService mutateJobService = 
(MutateJobService)user.GetService(AdWordsService.v201309.MutateJobService);
 JobResult jobResult = mutateJobService.getResult(new 
 BulkMutateJobSelector { includeStats = true, jobIds = jobIDs }); 
 SimpleMutateResult results = (SimpleMutateResult)jobResult.Item;

 if (results.errors != null)
 {
 foreach (ApiError apiError in results.errors)
 {
 // get criterion info
 }
 }


I'm finding it difficult to get detailed info on a specific error (which is 
obviously important to have for logging purposes). Is this even possible? 
(can't believe it's not).

(I posted this on StackOverflow as well (
http://stackoverflow.com/questions/19662873/google-adwords-api-get-criterion-info-on-apierror
).

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


CustomerSyncService - user ID who made the change

2013-10-24 Thread goingdev

Does the CustomerSyncService offer data of which user ID/ email made the 
change? 

If yes, how would I go about retrieving that data? 

If no, are there any suggestions out there how to deal with situations 
where you don't want your API overwriting manual changes made to your 
account?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Negative Keyword Not Added

2013-10-08 Thread goingdev
*Request:*

?xml version=1.0 encoding=utf-8?
soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
soap:Header
RequestHeader 
xmlns=https://adwords.google.com/api/adwords/cm/v201309;
developerToken 
xmlns=https://adwords.google.com/api/adwords/cm/v201309;***/developerToken
clientCustomerId 
xmlns=https://adwords.google.com/api/adwords/cm/v201309;***/clientCustomerId
userAgent 
xmlns=https://adwords.google.com/api/adwords/cm/v201309;***/userAgent
partialFailure 
xmlns=https://adwords.google.com/api/adwords/cm/v201309;true/partialFailure
/RequestHeader
/soap:Header
soap:Body
mutate xmlns=https://adwords.google.com/api/adwords/cm/v201309;
operations
operatorADD/operator
operand xsi:type=NegativeCampaignCriterion
campaignId116047527/campaignId
criterion xsi:type=Keyword
text+1030-10 +CH/text
matchTypeBROAD/matchType
/criterion
/operand
/operations
/mutate
/soap:Body
/soap:Envelope

*
*
*Response:*

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Header
ResponseHeader 
xmlns=https://adwords.google.com/api/adwords/cm/v201309;
requestId0004e8400f05d0e80ae5aa8e0ccf/requestId
serviceNameCampaignCriterionService/serviceName
methodNamemutate/methodName
operations1/operations
responseTime269/responseTime
/ResponseHeader
/soap:Header
soap:Body
mutateResponse 
xmlns=https://adwords.google.com/api/adwords/cm/v201309;
rval

ListReturnValue.TypeCampaignCriterionReturnValue/ListReturnValue.Type
value 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=NegativeCampaignCriterion
campaignId116047527/campaignId
isNegativetrue/isNegative
criterion xsi:type=Keyword
id54179716647/id
typeKEYWORD/type
Criterion.TypeKeyword/Criterion.Type
text+1030-10 +CH/text
matchTypeBROAD/matchType
/criterion

CampaignCriterion.TypeNegativeCampaignCriterion/CampaignCriterion.Type
/value
/rval
/mutateResponse
/soap:Body
/soap:Envelope

On Tuesday, October 8, 2013 11:59:58 AM UTC-4, Danial Klimkin wrote:

 Hello,


 Can you please send us the XML code of the request and full server 
 response? Please make sure to exclude sensitive details such as AuthToken 
 or developer token.


 -Danial, AdWords API Team.


 On Thursday, October 3, 2013 12:21:26 AM UTC+4, goingdev wrote:

 Using the API (201306) I'm trying to upload a phrase, exact and broad 
 (with modifier) keyword to a campaign and an adgroup in a different 
 campaign.

 All three keywords uploaded successfully to the adgroup but only the 
 phrase and exact keyword was uploaded to the campaign.

 Here's the piece of code that uploads the negative keyword to the 
 campaign:

 public static CampaignCriterionOperation 
 GetCampaignNegativeKeywordOperation(string keywordText, 
 Google.Api.Ads.AdWords.v201306.KeywordMatchType keywordMatchType, long 
 campaignID, Google.Api.Ads.AdWords.v201306.Operator operat)

 {

 Keyword keyword = new Keyword

 {

 text = keywordText,

 matchType = keywordMatchType

 };

 NegativeCampaignCriterion criterion = new 
 NegativeCampaignCriterion

 {

 campaignId = campaignID,

 criterion = keyword

 };

 CampaignCriterionOperation operation = new 
 CampaignCriterionOperation

 {

 @operator = operat,

 operand = criterion

 };


 return operation;

 }



 I can't seem to figure out where I'm going wrong. Any help is 
 appreciated. 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Re: Negative Keyword Not Added

2013-10-08 Thread goingdev
Wow. So it's partially my fault and partially Google's.

If you search the keyword on a campaign level without the modifiers, the 
keyword will not be returned in the search results.
If you search the keyword on an adgroup level without the modifiers, the 
keyword *will* be returned in the search results.

So I'm not sure if this is by design or not, but I was mistaken based on 
my searches.

So much for that... thanks for you help.

On Tuesday, October 8, 2013 3:52:24 PM UTC-4, goingdev wrote:

 *Request:*

 ?xml version=1.0 encoding=utf-8?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema;
 soap:Header
 RequestHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201309;
 developerToken xmlns=
 https://adwords.google.com/api/adwords/cm/v201309;***/developerToken
 clientCustomerId xmlns=
 https://adwords.google.com/api/adwords/cm/v201309;***/clientCustomerId
 userAgent xmlns=
 https://adwords.google.com/api/adwords/cm/v201309;***/userAgent
 partialFailure xmlns=
 https://adwords.google.com/api/adwords/cm/v201309;true/partialFailure
 /RequestHeader
 /soap:Header
 soap:Body
 mutate xmlns=https://adwords.google.com/api/adwords/cm/v201309;
 operations
 operatorADD/operator
 operand xsi:type=NegativeCampaignCriterion
 campaignId116047527/campaignId
 criterion xsi:type=Keyword
 text+1030-10 +CH/text
 matchTypeBROAD/matchType
 /criterion
 /operand
 /operations
 /mutate
 /soap:Body
 /soap:Envelope

 *
 *
 *Response:*

 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
 soap:Header
 ResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201309;
 requestId0004e8400f05d0e80ae5aa8e0ccf/requestId
 serviceNameCampaignCriterionService/serviceName
 methodNamemutate/methodName
 operations1/operations
 responseTime269/responseTime
 /ResponseHeader
 /soap:Header
 soap:Body
 mutateResponse xmlns=
 https://adwords.google.com/api/adwords/cm/v201309;
 rval
 
 ListReturnValue.TypeCampaignCriterionReturnValue/ListReturnValue.Type
 value xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=NegativeCampaignCriterion
 campaignId116047527/campaignId
 isNegativetrue/isNegative
 criterion xsi:type=Keyword
 id54179716647/id
 typeKEYWORD/type
 Criterion.TypeKeyword/Criterion.Type
 text+1030-10 +CH/text
 matchTypeBROAD/matchType
 /criterion
 
 CampaignCriterion.TypeNegativeCampaignCriterion/CampaignCriterion.Type
 /value
 /rval
 /mutateResponse
 /soap:Body
 /soap:Envelope

 On Tuesday, October 8, 2013 11:59:58 AM UTC-4, Danial Klimkin wrote:

 Hello,


 Can you please send us the XML code of the request and full server 
 response? Please make sure to exclude sensitive details such as AuthToken 
 or developer token.


 -Danial, AdWords API Team.


 On Thursday, October 3, 2013 12:21:26 AM UTC+4, goingdev wrote:

 Using the API (201306) I'm trying to upload a phrase, exact and broad 
 (with modifier) keyword to a campaign and an adgroup in a different 
 campaign.

 All three keywords uploaded successfully to the adgroup but only the 
 phrase and exact keyword was uploaded to the campaign.

 Here's the piece of code that uploads the negative keyword to the 
 campaign:

 public static CampaignCriterionOperation 
 GetCampaignNegativeKeywordOperation(string keywordText, 
 Google.Api.Ads.AdWords.v201306.KeywordMatchType keywordMatchType, long 
 campaignID, Google.Api.Ads.AdWords.v201306.Operator operat)

 {

 Keyword keyword = new Keyword

 {

 text = keywordText,

 matchType = keywordMatchType

 };

 NegativeCampaignCriterion criterion = new 
 NegativeCampaignCriterion

 {

 campaignId = campaignID,

 criterion = keyword

 };

 CampaignCriterionOperation operation = new 
 CampaignCriterionOperation

 {

 @operator = operat,

 operand = criterion

 };


 return operation;

 }



 I can't seem to figure out where I'm going wrong. Any help is 
 appreciated. 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api

Re: Negative Keyword Not Added

2013-10-07 Thread goingdev
Bump.

On Thursday, October 3, 2013 9:23:48 AM UTC-4, goingdev wrote:

 I should note, this is happening on all keywords with a space. Example: 
 +ABCD +EF

 On Wednesday, October 2, 2013 4:21:26 PM UTC-4, goingdev wrote:

 Using the API (201306) I'm trying to upload a phrase, exact and broad 
 (with modifier) keyword to a campaign and an adgroup in a different 
 campaign.

 All three keywords uploaded successfully to the adgroup but only the 
 phrase and exact keyword was uploaded to the campaign.

 Here's the piece of code that uploads the negative keyword to the 
 campaign:

 public static CampaignCriterionOperation 
 GetCampaignNegativeKeywordOperation(string keywordText, 
 Google.Api.Ads.AdWords.v201306.KeywordMatchType keywordMatchType, long 
 campaignID, Google.Api.Ads.AdWords.v201306.Operator operat)

 {

 Keyword keyword = new Keyword

 {

 text = keywordText,

 matchType = keywordMatchType

 };

 NegativeCampaignCriterion criterion = new 
 NegativeCampaignCriterion

 {

 campaignId = campaignID,

 criterion = keyword

 };

 CampaignCriterionOperation operation = new 
 CampaignCriterionOperation

 {

 @operator = operat,

 operand = criterion

 };


 return operation;

 }



 I can't seem to figure out where I'm going wrong. Any help is 
 appreciated. 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Negative Keyword Not Added

2013-10-03 Thread goingdev
I should note, this is happening on all keywords with a space. Example: 
+ABCD +EF

On Wednesday, October 2, 2013 4:21:26 PM UTC-4, goingdev wrote:

 Using the API (201306) I'm trying to upload a phrase, exact and broad 
 (with modifier) keyword to a campaign and an adgroup in a different 
 campaign.

 All three keywords uploaded successfully to the adgroup but only the 
 phrase and exact keyword was uploaded to the campaign.

 Here's the piece of code that uploads the negative keyword to the campaign:

 public static CampaignCriterionOperation 
 GetCampaignNegativeKeywordOperation(string keywordText, 
 Google.Api.Ads.AdWords.v201306.KeywordMatchType keywordMatchType, long 
 campaignID, Google.Api.Ads.AdWords.v201306.Operator operat)

 {

 Keyword keyword = new Keyword

 {

 text = keywordText,

 matchType = keywordMatchType

 };

 NegativeCampaignCriterion criterion = new 
 NegativeCampaignCriterion

 {

 campaignId = campaignID,

 criterion = keyword

 };

 CampaignCriterionOperation operation = new 
 CampaignCriterionOperation

 {

 @operator = operat,

 operand = criterion

 };


 return operation;

 }



 I can't seem to figure out where I'm going wrong. Any help is appreciated. 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


Negative Keyword Not Added

2013-10-02 Thread goingdev
Using the API (201306) I'm trying to upload a phrase, exact and broad (with 
modifier) keyword to a campaign and an adgroup in a different campaign.

All three keywords uploaded successfully to the adgroup but only the phrase 
and exact keyword was uploaded to the campaign.

Here's the piece of code that uploads the negative keyword to the campaign:

public static CampaignCriterionOperation 
 GetCampaignNegativeKeywordOperation(string keywordText, 
 Google.Api.Ads.AdWords.v201306.KeywordMatchType keywordMatchType, long 
 campaignID, Google.Api.Ads.AdWords.v201306.Operator operat)

 {

 Keyword keyword = new Keyword

 {

 text = keywordText,

 matchType = keywordMatchType

 };

 NegativeCampaignCriterion criterion = new NegativeCampaignCriterion

 {

 campaignId = campaignID,

 criterion = keyword

 };

 CampaignCriterionOperation operation = new 
 CampaignCriterionOperation

 {

 @operator = operat,

 operand = criterion

 };


 return operation;

 }



I can't seem to figure out where I'm going wrong. Any help is appreciated. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.