Re: How could I select "Custom bid & URL method" for AdGroups settings?

2018-02-06 Thread Carlos Abrantes
Autoresponse: the setting is ContentBidCriterionTypeGroup

P.e. 
$adGroup->setContentBidCriterionTypeGroup(CriterionTypeGroup::GENDER);   

More info at 
https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupService.AdGroup#contentbidcriteriontypegroup

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c77c49a9-d000-4695-96a0-cf97ea613c8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How could I select "Custom bid & URL method" for AdGroups settings?

2018-02-06 Thread Carlos Abrantes
In example 
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201702/BasicOperations/AddAdGroups.php

$targetingSetting = new TargetingSetting();
$details = [];
$details[] = new TargetingSettingDetail(CriterionTypeGroup::PLACEMENT, 
false);
$details[] = new TargetingSettingDetail(CriterionTypeGroup::VERTICAL, 
true);
$targetingSetting->setDetails($details);
$adGroup->setSettings([$targetingSetting]);

Creates Ad Gruop well, but when i go to adwords.com the setting "Custom bid 
& URL method " display "None"

How can I select some option in this setting?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d1070acc-f450-4195-921a-fbefaacafd54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Account access management in API (grant other user access to my account)

2017-09-20 Thread Carlos Abrantes
Hi Sreelakshmi,

I post the question in this treat 
https://groups.google.com/forum/?#!topic/adwords-api/3B0NzpNHn70 

Thanks a lot for your interest

Best Regards

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4b2b7ec2-22e4-416f-bf7b-225a045914d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How could I retry list current pendient invitations?

2017-09-19 Thread Carlos Abrantes
We want to know how the invitations we have created in the Adwords panel, 
not the ones that have been made to us.

With our MCC account (via API) we create an account and share with an user 
email (manually).

We would like, via API, get the status of invited users to account and if 
It's possible (via API) share account with an email.

If you need it, I would send you the request information.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/32046e42-ce8b-43fc-9a4a-f3fe8cdbc050%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How could I retry list current pendient invitations?

2017-09-19 Thread Carlos Abrantes

I would to retry current pendient invitations with 
ManagedCustomerService.getPendingInvitations but do not retry nothing (NULL)

This is sample code in PHP as called in 
https://developers.google.com/adwords/api/docs/guides/accounts-overview

get($session, 
ManagedCustomerService::class);

$selector = new PendingInvitationSelector();
$invitations = $managedCustomerService->getPendingInvitations($selector
);

var_dump ($invitations);

  }

  public static function main() {
$oAuth2Credential = (new OAuth2TokenBuilder())
->fromFile()
->build();
$session = (new AdWordsSessionBuilder())
->fromFile()
->withOAuth2Credential($oAuth2Credential)
->build();
self::runExample(new AdWordsServices(), $session);
  }
}
GetUsersList::main();
?>


How could I retry list of pending invitations?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1e99b364-3fd1-4dae-a0ef-0143efe95677%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Account access management in API (grant other user access to my account)

2017-09-18 Thread Carlos Abrantes
Hi Sreelakshmi & Vishal,

I would to retry current pendient invitations with 
ManagedCustomerService.getPendingInvitations but do not retry nothing (NULL)

This is sample code in PHP as called in 
https://developers.google.com/adwords/api/docs/guides/accounts-overview

get($session, 
ManagedCustomerService::class);

$selector = new PendingInvitationSelector();
$invitations = 
$managedCustomerService->getPendingInvitations($selector);

var_dump ($invitations);

  }

  public static function main() {
$oAuth2Credential = (new OAuth2TokenBuilder())
->fromFile()
->build();
$session = (new AdWordsSessionBuilder())
->fromFile()
->withOAuth2Credential($oAuth2Credential)
->build();
self::runExample(new AdWordsServices(), $session);
  }
}
GetUsersList::main();
?>

How could I retry list of pending invitations?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f09c186c-5099-4798-85cf-e68ccefb0ce4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.