Re: error comes when updating final ur lUrlError.DESTINATION_URL_DEPRECATED @

2016-09-11 Thread 'Peter Oliquino' via AdWords API Forum
Hi Caarif,

My apologies for the delay. The DESTINATION_URL_DEPRECATED 

 error 
occurs when the destinationUrl is being set, unfortunately however, this 
field has already been deprecated. You will need to set the finalUrls 

 field 
instead. I hope this helps and please let me know if you still encounter 
any issues.

Best regards,
Peter
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/2bdea4ec-ef0c-4659-86a7-2ecc41e7f0da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: RetryAfterSeconds=30, Still Not Working After 30.

2016-09-11 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Hello Charles,

I'm investigating this with engineering, so could you please send us your 
client customer ID via *Reply privately to author*?
Also, do you still face this situation consistently for everyday's peak 
time?

Thanks.
Thanet, AdWords API Team

On Saturday, September 10, 2016 at 6:09:17 AM UTC+9, Charles Michael wrote:
>
> Hi, I am the only developer with access to the API, so scenario #2 is 
> applicable. My main issue is that the retry after 30 seconds isn't actually 
> valid, it seems to be much longer and I can't really code a throttle if the 
> time being reported is inaccurate. The advice from the pages linked 
> basically says to wait 30 seconds, but when I do, I get the same error 
> right away. I don't want to trigger a longer ban, so I've instituted a halt 
> on my script when there's a rate exceeded error. Based on the load volume 
> you mentioned, that would make sense why I can run my script at night 
> without problems, but I should still be able to access it during peak hours 
> as well. Since the weekend is coming up, I'll give it a shot with a longer 
> sleeper in place, but it would be great to actually get an accurate figure 
> on how long to throttle the script by as the suggestion by google's api of 
> waiting 30 seconds isn't accurate. 
>
>
>
>
> On Friday, September 9, 2016 at 4:30:13 PM UTC-4, Vishal Vinayak (Adwords 
> API Team) wrote:
>>
>> Hi Charles,
>>
>> I can recommend a couple things:
>>
>> 1) Since the rateScope is ACCOUNT, could you confirm if your AdWords 
>> account is being accessed via another developer token or OAuth credentials 
>> (could be through another MCC that the AdWords account is linked to)?
>> 2) If #1 is false, i.e. you are the only entity accessing your AdWords 
>> account in your application, I would recommend slowing down the number of 
>> requests that you send per second by following some of the strategies 
>> mentioned on this page 
>> 
>> . 
>>
>> Also, the number of queries that you can send to the API per second 
>> varies dynamically based on the current load on the servers. Hence you 
>> might see this error only during peak hours and the application might seem 
>> to work normally otherwise.
>>
>> Regards,
>> Vishal, 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/6e645164-e46e-4132-b0f4-e084d083e63b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get campaign performance report with API

2016-09-11 Thread 'Peter Oliquino' via AdWords API Forum
Hi Roshni,

My apologies for the delay. You will need to indicate the name of the 
report file you wish to generate like for example 
"campaign_performance_report_file".

Best regards,
Peter
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/48af6fb0-2f60-4cd7-ab09-ad7b2b893afe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


error comes when updating final ur lUrlError.DESTINATION_URL_DEPRECATED @

2016-09-11 Thread caarif Ashraf
Hi

I got an error when i am trying to update criteria final url using PHP api.
these are my data Array ( [keyword_id] => 11285220 [Ad_group_id] => 
41568659428 [maxCPC] => 0.02 [Final_URL] =>
http://cas.info/utm_term=adwords-keyword 

 ) 
. I got error when try with these data. The error returned is { Âûáðîøåíî 
èñêëþ÷åíèå: [UrlError.DESTINATION_URL_DEPRECATED @ 
operations[0].operand.destinationUrl] }. Can anyone help me.
This is my code
 $adGroupCriterionService =
  $user->GetService('AdGroupCriterionService', ADWORDS_VERSION);

  // Create ad group criterion.
  $adGroupCriterion = new BiddableAdGroupCriterion();
  $adGroupCriterion->adGroupId = $adGroupId;
  // Create criterion using an existing ID. Use the base class Criterion
  // instead of Keyword to avoid having to set keyword-specific fields.
  $adGroupCriterion->criterion = new Criterion($criterionId);
  echo 'Criterion selected';
  // Update destination URL.
  $adGroupCriterion->destinationUrl = $final_url;
 /* 
  // Set bids (optional).
$bid = new CpcBid();
$bid->bid =  new Money(50);
$biddingStrategyConfiguration = new BiddingStrategyConfiguration();
$biddingStrategyConfiguration->bids[] = $bid;
$adGroupCriterion->biddingStrategyConfiguration = 
$biddingStrategyConfiguration; */

  // Create operation.
  $operation = new AdGroupCriterionOperation();
  $operation->operand = $adGroupCriterion;
  $operation->operator = 'SET';

  $operations = array($operation);

  // Make the mutate request.
  $result = $adGroupCriterionService->mutate($operations);

  // Display result.
  $adGroupCriterion = $result->value[0];
  echo 'Result after updation';
  print_r($adGroupCriterion);
  printf("Keyword with ID '%s' has updated destination URL '%s'.\n",
  $adGroupCriterion->criterion->id, $adGroupCriterion->destinationUrl);

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dc296897-f200-4784-8cd2-ea77ea038ccc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.